If you are installing Moab Viewpoint for Moab HPC Suite for the first time, complete the instructions found in Before installing Viewpoint, then perform the following steps. If you have not already done so, create the Viewpoint database. See Creating the Viewpoint database.
To install Moab Viewpoint for Moab HPC Suite for the first time
ADMINCFG[1] USERS=root,tomcat6
ADMINCFG[1] ENABLEPROXY=TRUE
For more information, see "ADMINCFG" in "Appendix F: Scheduler Parameters" in the Moab Workload Manager documentation.
If Moab and Viewpoint are running on the same machine, that user needs to be named tomcat6 or be the Tomcat user on your system, as in the above addition to the moab.cfg file.
> cp /opt/viewpoint/moab.war /var/lib/tomcat6/webapps
> vi /opt/viewpoint/setup.properties.sqlserver
#dbType=mysql
#dbHost=hostName
#dbPort=1433
#dbName=viewpoint
#dbSchema=viewpoint
#dbUser=viewpoint
#dbPassword=myPassword
mam.url="https://<hostname>/cgi-bin/mam/index.cgi?start=login"
chown -R tomcat6:tomcat6 /opt/viewpoint
You must grant read privileges for this directory to the Tomcat user. If you do not know the Tomcat user (often tomcat or tomcat6), use the owner of the Tomcat home directory (usually /var/lib/tomcat6).
> service tomcat6 start
If you are running Fedora, you must navigate to $CATALINA_HOME/bin/ and run startup.sh as root:
[root]> $CATALINA_HOME/bin/startup.sh
If you want reporting in Viewpoint, please contact Adaptive Computing Professional Services.
Related topics