These instructions describe how to install and start Moab Viewpoint.
Hardware requirements:
Software requirements:
Supported web browsers:
Use the following commands to install the required Moab Viewpoint dependencies and packages (listed in the Requirements section above).
RHEL
[root]# yum update
[root]# yum install tomcat6 mysql mysql-server
CentOS
The correct version of Tomcat is not automatically installed on CentOS 5. The example below ensures that the right build of Tomcat 6 is installed.
[root]# rpm -Uvh 'http://plone.lucidsolutions.co.nz/linux/centos/images/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm'
[root]# cd /etc/yum.repos.d
[root]# wget 'http://www.jpackage.org/jpackage50.repo'
[root]# yum update
[root]# yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps mysql mysql-server
To install Moab Viewpoint
MySQL 5.1 is the supported database for Moab HPC Suite. You must create the database and give the user full access to that database. For information on creating databases and granting access with other database vendors, consult the documentation for that vendor.
While MySQL is the only supported database for Viewpoint, the use of other databases with Moab HPC Suite is possible. Please contact Adaptive Computing Support for more information.
For information on creating databases and granting access with other database vendors, consult the documentation for that vendor.
Do the following:
[root]# chkconfig mysqld on
[root]# service mysqld start
[root]# /usr/bin/mysql_secure_installation
[root]# mysql -u root –p
Enter password:
mysql> CREATE DATABASE viewpoint;
Query OK, 1 row affected (0.08 sec)
mysql> GRANT ALL ON viewpoint.* TO viewpoint@localhost IDENTIFIED BY 'p@ssw0rd';
Query OK, 0 rows affected (0.31 sec)
mysql> GRANT ALL ON viewpoint.* TO [email protected] IDENTIFIED BY 'p@ssw0rd';
Query OK, 0 rows affected (0.31 sec)
FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.31 sec)
mysql -u <username> -p <password>
).As a best practice, create a schema if you are running PostgresSQL. It is recommended that you call the schema viewpoint. If you choose not to create one, set public as the schema name when you configure the setup.properties file.
[root]# tar xzvf viewpoint-7.1.0.tar.gz
[root]# mysql -u root -p viewpoint < viewpoint-7.1.0/sql/mysql/setup_hpc.sql
[root]# tar xvzf mysql-connector-java-x.x.x.tar.gz
[root]# cd mysql-connector-java.x.x.x
[root]# cp mysql-connector-java.x.x.x-bin.jar /usr/share/tomcat6/lib
[root]# mkdir /opt/viewpoint
[root]# cd viewpoint-7.1.0/
[root]# cp dist/*.war /var/lib/tomcat6/webapps/
It is recommended that you do not run more than one instance of Viewpoint within Tomcat.
[root]# cp templates/setup.properties.mysql /opt/viewpoint/setup.properties
[root]# vi /opt/viewpoint/setup.properties
Change the username and password to what you set when you configured the database.
dbUser=<viewpoint>
dbPassword=<p@ssw0rd>
[root]# chown -R tomcat:tomcat /opt/viewpoint
[root]# service tomcat6 restart
If you are running Fedora, you must start Tomcat by navigating to $CATALINA_home/bin/ and run startup.sh as root:
[root]# $CATALINA_HOME/bin/startup.sh
[root]# service tomcat6 restart
Related topics