Asset Manager Web Deployment Steps
Asset Manager Web Deployment Steps
http://localhost:8080/AssetManager in IE to check.
The installation of HP Asset Manager Web server is simple really— there are
only three, basic steps to the installation. But, chances are high that you may
run into some issues if you are new to HP Asset Manager. We want to make
your installation experience as painless as possible, so we have listed the three
steps below in greater detail to help you along the way.
The bottom line is that you must prepare a java runtime environment prior to
installation of the web application server (like Tomcat) and an ODBC driver to
HP Asset Manager database.
The key step outlined in the installation you need pay attention to:
“If you are running web service in 64 bit JVM, you shall
use C:\Windows\System32\odbcad32.exe to create the 64 bit ODBC
connection; otherwise run C:\Windows\SysWOW64\odbcad32.exe to create 32
bit ODBC connection.”
The key focus for this step is the configuration for the parameter in
package.properties (in <AM installation>\websvc and webtier folders) files and
to run the <AM installation>\deploy\deploy.bat to build the WAR files.
There are some fundamental things to watch out for to avoid missteps in this
next set of steps:
a. Check your JVM version. Is it 32-bit or 64-bit? If you are not sure, run java
-version from the command line, and it will tell you. If it is 64-bit, then
set arch=64 in package.properties file, otherwise set arch=32.
b. When you configure package.properties for Web Service and Web Tier,
you need to pay special attention to the following properties:
For WebService:
Property Description
For WebTier:
Property Description
Step 3 – Deployment of the HP Asset Manager Web Service and Web Tier
WAR files
At this stage you will need to copy the WAR files built in Step 2, and located in
<AM Installation>/websvc and <AM installation>/webtier respectively, to your
application server's deployment directory (for tomcat, it is <tomcat
installation>/webapps>.
At this stage in the installation you are ready to start up your web application
server. Make sure to start AM web service server first and then AM web tier
server because the latter one relies on first one. If everything is working as
intended at this point you should open a browser to the following
page: http://<AM_WEB_IP>:8080/AssetManager
And, if for some reason it does not open, go ahead and open this page:
http://<AM_WEB_IP>:8080/AssetManagerWebService to check and see if the
web service is properly deployed. This second page will show you some helpful
information for your trouble shooting, so you may want to save to your
favorites for later on.
We know that there is always more technical detail and context to add to tips
and tricks. That being said, our end goal here is to provide you with some
essential tips and tricks to the installation of the HP Asset Manager Web
Server.
In the bottom table (System variables) edit the Path variable and ensure
has been added C:\Program Files\Oracle\11.1.0\client_1\BIN (values are
separated by semi-colons)
10.Download
https://collaborate.bt.com/artefacts/content/repositories/smit-
releases/asset-manager/tnsnames/4/tnsnames.ora
11.Copy this file to your client installation folder in the network/admin/
directory (For example: "C:\Program
Files\Oracle\11.1.0\client_1\network\admin\tnsnames.ora"
12.Download
https://collaborate.bt.com/artefacts/content/repositories/smit-
releases/asset-manager/asset-manager/9.41.11061p1/asset-manager-
9.41.11061p1.zip
13.Unzip Asset Manager to a temporary location
14.Run asset manager's setup.exe
15.Select custom installation
16.Ensure all the items are to be installed.
17.Click next and then install
18.Once the install is complete, click Finish.
19.Download
https://collaborate.bt.com/artefacts/content/repositories/smit-
releases/asset-manager/client-configuration/amdb.ini
20.Save this .ini file to C:\ProgramData\HP\AssetManager\conf\amdb.ini
(you may need to create these folders in order to put it there)
21.If one is not created add a shortcut to "C:\Program Files (x86)\HP\Asset
Manager 9.41 en\bin\am.exe" to the desktop
(Additional step if setting up AM client on the RDP server that needs to run
APM: put groups.bat into AM/bin directory. Also need to do the AutoPass
licences if going to use APM)
You are now complete, and should be able to run Asset Manager. When you
run the am.exe file to start up, you should see the Connect to Database box,
with a list of environments to log into, choose the environment, and use your
IUSER to log in.
KNOWN ISSUES:
The following issues have been found after the installation process above has
been run, please try out the resolutions to see if that corrects the issues for
you.
Problem: I can’t see all the environments in the drop down list on the
Connect to Database box
Resolution: You do not have the correct version of the amdb.ini file loaded,
which lists the details of all the environments; go back to Step 20 again and
check the correct version of amdb.ini has been placed in C:\ProgramData....
Upgrading to 9.50
Release notes of 9.50 describe the improvements to AM that are included, but
mainly we are looking to upgrade to 9.50 for the capabibilities it brings to the
webtier and dashboarding with scriptable home page widgets.
Environment Version
DEVELOPMENT 9.41 p1
TEST 9.50 p3
PILOT 9.50 p2
ESM_CIT 9.41 p1
ESM_CIT 9.41 p1
ESM_E2E 9.41 p1
ESM_PRE_PROD 9.41 p1
ESM_PROD 9.41 p1
Related Issues:
amCatRef (amCatRef)
(0) Oracle error: ORA-00001: unique constraint
(HICKEYA.CATREF_LCATALOGIDR) violated
(0) Error while importing database structure and data into: '43996646 1
\"2015-04-08 11:07:11\" \"Bmc Software Bmc Remedy Ar System Fixed 5?Pk
Lsn Per Named User Licence\" 2015-04-08 1 0 0 0 0 0 0 0 GBP 0 0 \"2015-04-
08 11:07:11\" 0 GBP 0 0 \"2015-04-08 11:07:11\" 0 \"Bmc Software Bmc
Remedy Ar System Fixed 5?Pk Lsn Per Named User \" 0 0 3 0d 0 0 0 0
38568291 38569839 0 0 0 0 0 0'
This issue can be fixed (i.e. development can be restored) by starting the
import to the empty database, then as soon as the index has been created:
This returns results. If it does, then any new record which needs to create an
auto-incremented value (e.g. CatProduct internal ref uses an amCounter
record to get the next value to use) will be unable to work, which is a major
issue.
The only place we have seen this error is in PILOT, which is currently our only
9.50 database. This means that potentially it is an issue with 9.50 which would
need to be resolved with HP. I did raise an service request for this but had to
cancel it because the issue is too vague - I don't know what caused it and I
don't know what the development team are doing on PILOT that could affect
it.
Gives 204 assets linked to those request lines. Solution = set lReqLineId of
those assets to 0, then delete the 3551 request lines.
So I did this: