Installation > Installing Moab Viewpoint

Installing Moab Viewpoint

These instructions describe how to install and start Moab Viewpoint.

To build a custom RPM

  1. Install rpm-build.
  2. [root]# yum install rpm-build
  3. Download the latest Viewpoint build (viewpoint-<version>.tar.gz) from the Adaptive Computing website.
  4. The variable marked <version> is the desired version of the suite; for example, 7.5.0.

  5. Untar the downloaded package.
  6. Change directories into the untarred directory.
  7. Edit the ./viewpoint.spec file for RPM customization.
  8. Run ./rpm-build.
  9. Locate the custom RPM in rpm/RPMS/x86_64.

To install Moab Viewpoint

  1. Download the latest Viewpoint build (viewpoint-<version>.tar.gz) from the Adaptive Computing website.
  2. Stop Tomcat.
  3. [root]# service tomcat6 stop
  4. Edit the Tomcat configuration file.
  5. Depending on your operating system and sysadmin preferences, you may find the Tomcat configuration file in different places. For example:

    CentOS™ 5 and 6: /etc/sysconfig/tomcat6

    Red Hat® Enterprise Linux 5 and 6: /etc/sysconfig/tomcat6

    SUSE® Linux Enterprise Server 11: /etc/tomcat6/tomcat6.conf

    Ubuntu® 10.04: /etc/default/tomcat6

    Using the example, /etc/tomcat6/tomcat6.conf:

    [root]# nano /etc/tomcat6/tomcat6.conf
    1. Update the JAVA_HOME line to point to the Java Runtime Environment you just installed. For example:
    2. JAVA_HOME=/usr/java/latest
    3. If your Moab Web Services and Viewpoint exist in the same Tomcat, you will want to set the MaxPermSize to allow more memory. Add (if it does not already exist) a line that sets JAVA_OPTS to the following:
    4. JAVA_OPTS="$JAVA_OPTS -Xms4096m -Xmx4096m -XX:MaxPermSize=512m"
  6. Create the Viewpoint home directory.
  7. [root]# mkdir /opt/viewpoint
    [root]# chown -R tomcat:tomcat /opt/viewpoint
  8. Unpack the Viewpoint tarball and copy the moab.war file into the Tomcat webapps folder.
  9. [root]# tar -xzvf viewpoint-7.5.0.tar.gz
    [root]# cp viewpoint-7.5.0/moab.war /usr/share/tomcat6/webapps/
    [root]# chown -R tomcat:tomcat /usr/share/tomcat6/webapps/moab*

    It is recommended that you do not run more than one instance of Viewpoint within Tomcat.

  10. Create the /upload directory in /opt/viewpoint/.
  11. [root]# mkdir /opt/viewpoint/upload

    Verify that the tomcat user has write privileges and the moab user has read privileges to the /upload directory.

  12. If you installed Moab Workload Manager and Viewpoint on separate servers, or if they are installed on the same server but you plan to customize the job script upload directory, follow the instructions in Setting up the job script directory.
  13. Start Tomcat.
  14. [root]# service tomcat6 start

    The default firewall settings on your system prevent other machines from accessing Viewpoint. You will need to configure your firewall to allow external connections. However, if you want to temporarily turn off your firewall to test that Viewpoint is running you can run:

    [root]# service iptables stop

    Make sure you turn your firewall back on again once it is configured to allow Viewpoint to be accessed externally.

  15. Direct your browser to your Viewpoint URL (for example, http://[hostname or ip address]:8080/moab) to verify that Viewpoint is running.
  16. Log in to Viewpoint with the default super user username and password (moab-admin/changeme!).
  17. The Viewpoint Configuration page displays.

  18. Do the following:
    1. Set the Moab Web Services configuration. (For more information, see "Setting the MWS configuration" in the Viewpoint Management and User Guide.)
    2. Authenticate the LDAP connection by specifying the bind user password. (For more information, see "Setting the LDAP configuration" in the Viewpoint Management and User Guide.)
    3. Change the super user password. (For more information, see "Changing the super user password" in the Viewpoint Management and User Guide.)
    4. Check the MWS Diagnostics to verify that the MWS connections are active. (For more information, see "Fields: MWS Diagnostics" in the Viewpoint Management and User Guide.)
    5. Set the Viewpoint default permissions. (For more information, see "Setting the Viewpoint default permissions" in the Viewpoint Management and User Guide.)

If you would like to enable reporting in Viewpoint, please contact Adaptive Computing Professional Services.

Related topics