Installing/upgrading Viewpoint > Before installing Viewpoint

1.1 Before installing Viewpoint

To complete prerequisites before installing/upgrading Moab Viewpoint for Moab HPC Suite 7.1.3

  1. Verify that you have at least 16 GB of free disk space.
  2. Use only components from the following list for the best experience:
  3. Stop Tomcat.
  4. > sudo service tomcat6 stop

    If you are running other applications in Tomcat, you may need to perform this step later in the process.

  5. Create the Viewpoint home directory.
  6. [root]# mkdir /opt/viewpoint

  7. Download the Viewpoint tarball and untar it in the Viewpoint home directory, /opt/viewpoint.
  8. > tar -xzvf /tmp/downloads/viewpoint-7.1.3.tgz -C /opt/

    > mv /opt/viewpoint-7.1.3 /opt/viewpoint

    If you want to override the default configuration location of /opt/viewpoint, define the environment variable VIEWPOINT_HOME with a path such as /home/name/viewpoint.

    The tarball is extracted into a new directory called viewpoint-7.1.3/. It contains the following directories and files that are important to Viewpoint 7.1.3 installation:

  9. Set up the database by running the setup_hpc.sql script. Remember to run it in context.
  10. > mysql -u root -p viewpoint < /tmp/viewpoint/sql/[dbType]/setup_hpc.sql

  11. Download the JDBC driver for your database and place it in Tomcat's lib directory. For example, if you are using MySQL, download the MySQL JDBC connector library, untar it, and copy the mysql-connector-java-x.x.x-bin.jar file to Tomcat's /lib directory (normally $CATALINA_HOME/lib).
  12. > cp mysql-connector-java-5.1.6-bin.jar /usr/share/tomcat6/lib

  13. If you are installing Viewpoint for the first time, see Doing a clean installation of Viewpoint.
  14. If you are reinstalling Viewpoint, including retrying an upgrade, see Reinstalling Viewpoint.
  15. If you are upgrading Viewpoint to 7.1.3, see Upgrading Viewpoint.
  16. Configure Viewpoint. See Configuring Viewpoint.

Related topics