3 steps to easier Asset Manager Web Server Installation

Asset Manager Web Server Installation Tips

 

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 three steps are:

  • Preparation – Java Runtime Environment
  • War Files –Build the HP Asset Manager Web Service Tier and Web Client Tier WAR files using the deploy tool within your HP Asset Manager installation
  • Deployment—of Web Service and Web Tier WAR files

 

Save some time and follow the steps outlined below!

 

Step 1 – Preparation the Java Runtime Environment

 

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\SysWOW32\odbcad32.exe to create the 64 bit ODBC connection; otherwise run C:\Windows\System64\odbcad32.exe to create 32-bit ODBC connection.”

 

This step is important because you need to make a special note of the path difference. Don’t get caught in a pitfall by making a typo in this step!

 

Step 2 – Building the WAR files

 

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

AssetManager.userLogin

AM Web Service use this account to logint to AM

DB.engine

The value could be “MSSQL” or “Oracle” or “DB2”

DB.datasource

This is the ODBC connection name

DB.login

The login account for making connection to database

DB.password

Password – either in plain text or encrypted.

Encrypt

true: deploy tool will encrypt DB.password, false: deploy tool will not encrypt DB.password

 

 

For WebTier:

Property

Description

AssetManager.UserLogin

Asset Manager user login to be used by the LoginSlot

WebService.EndPoint.SOAP

SOAP Web service url, http://localhost:8080/AssetManagerWebService/services

WebService.EndPoint.REST

REST Web service url http://localhost:8080/AssetManagerWebService/rest

WebService.EndPoint.RS

RS Web service url http://localhost:8080/AssetManagerWebService/rs

 



c.      Lastly, build the WAR files by going to: CD <AM installation>\deploy,run deploy.bat ..\websvc\package.properties to build AM web service WAR, and run deploy.bat ..\webtier\package.properties for AM web tier WAR. 

 

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>.   

 

Some important considerations for this step are: 

 

a)       Specify the following jvm options -Djava.library.path=C:\Program Files (x86)\HP\Asset Manager 9.40 en\x64 if AM web service is running on 64-bit JVM, or -Djava.library.path=C:\Program Files (x86)\HP\Asset Manager 9.40 en\bin if it is 32-bit JVM. Please refer to step 2.1 for how to detect JVM version.

 

b)       It is also recommended to deploy the AM web service tier and web service tier into two different application servers to boost performance. If you deploy both the webservice and webtier war file to the same web application server instance, you need to specify: -xx:MaxPerm=128m.

 

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.

 

And, this blog post is a great opportunity to engage directly with HP Asset Manager RnD for those more technical questions as it relates to your installation of the HP Asset Manager Web Server, and we hope that you will respond with some thoughtful feedback, or general questions about the blog post so we can support you!

 

Feel free to reach out to me in the comment section below if you have any further questions.

Comments
403tech | ‎04-28-2014 02:37 AM

Very informative, thanks for sharing.

Leave a Comment

We encourage you to share your comments on this post. Comments are moderated and will be reviewed
and posted as promptly as possible during regular business hours

To ensure your comment is published, be sure to follow the Community Guidelines.

Be sure to enter a unique name. You can't reuse a name that's already in use.
Be sure to enter a unique email address. You can't reuse an email address that's already in use.
Type the characters you see in the picture above.Type the words you hear.
Search
Showing results for 
Search instead for 
Do you mean 
About the Author
Featured


Follow Us
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.