If you are installing Moab Viewpoint for Moab Cloud 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 Cloud 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.
mkdir /opt/viewpoint |
If you'd like to override the default configuration location of /opt/viewpoint, define the environment variable VIEWPOINT_HOME with a path such as /home/name/viewpoint
> cp /tmp/viewpoint/dist/moab.war /var/lib/tomcat6/webapps > cp /tmp/viewpoint/dist/reporting.war /var/lib/tomcat6/webapps |
Reporting is an optional feature (see Specifying available reports). If you do not want to use the reporting feature, do not copy the reporting.war file as it runs as a service and increases the Viewpoint memory footprint.
> vi /opt/viewpoint/setup.properties.sqlserver #dbType=mssql #dbHost=hostName #dbPort=1433 #dbName=viewpoint #dbSchema=viewpoint #dbUser=viewpoint #dbPassword=myPassword |
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 |
Related topics
© 2012 Adaptive Computing