Access Keys:
Skip to content (Access Key - 0)

Upgrade GlobalModelExchange Service


Step 1: Prepare Host.

The caGrid 1.4 Training grid host was installed and configured according to the specifications listed on caGrid 1.4 Host Configuration page.

GlobalModelExchange specific requirements:

  1. Secure Container
  2. MySQL 5.0.45

Step 2: Prepare Configuration Files.

Copy GME configuration files to new host.

  1. Download and extract https://wiki.cagrid.org/download/attachments/10617829/caGrid-1.4-Configs-NCI.zip.
    1. Copy <target_grid>/GlobalModelExchange/gme.properties to $HOME/tmp
    2. Copy <target_grid>/GlobalModelExchange/serviceMetadata.xml to $HOME/tmp

Step 3: Install caGrid 1.4 Software and configure a secure container.

At Step 11 of the caGrid install make sure you select the correct target grid for your installation
QA: NCI QA Grid for caGrid 1.4
Stage: NCI QA Grid for caGrid 1.4
Production: NCI QA Grid for caGrid 1.4
Training: Training Grid for caGrid 1.4
Step 15: The hostname must be the externally routable name. For example, the Training Grid Master GTS external hostname is mastergts.training.cagrid.org and internal is cagrid-1_3-training-master-gts.cagrid.org. We specified mastergts.training.cagrid.org when creating credentials.
Step 16: Select the option to browse to credentials on the host. Use the /home/griduser/tmp/certificates location.

Use the installer to install and configure caGrid using these instructions: [cagrid13:Install caGrid and Configure a Secure Container Using the caGrid 1.4 Installer]

At this point, your user should have the following environment variables set. The last step of the installer provides the paths for these settings:
  1. CAGRID_HOME which points to the location of your 'caGrid' source directory
  2. ANT_HOME which points to the location of your apache-ant-1.7.0 directory
  3. JAVA_HOME which points to the location of your jdk1.6.0_* directory
  4. GLOBUS_LOCATION which points to the location of your ws-core-4.0.3 directory
  5. CATALINA_HOME which points to the location of your apache-tomcat-5.5.27 directory

Step 4: Configure GME with prepared configuration files.

  1. Edit gme.properties
    1. Provide your database configuration settings
  2. Copy gme.properties
     $ cp $/tmp/gme.properties $CAGRID_HOME/projects/globalModelExchange/etc/.
    
  3. Copy serviceMetadata.xml
     $ cp $/tmp/serviceMetadata.xml $CAGRID_HOME/projects/globalModelExchange/etc/.
    

Step 5: Install GlobalModelExchange.

  1. Deploy the GlobalModelExchange service
     $ cd $CAGRID_HOME/projects/globalModelExchange 
    $ ant deployTomcat

Step 6: Start Tomcat.

Start Tomcat as follows:

  $CATALINA_HOME/bin/startup.sh
Check the $CATALINA_HOME/logs/catalina.out file for any errors.

Step 7: Validate.

Global Model Exchange Validation Instructions

Step 8: Configure Service to Start on Reboot.

For the GlobalModelExchange service to be available upon reboot of your server Tomcat must be configured to start automatically.

Tomcat

  1. Configure Tomcat to start automatically: http://tomcat.apache.org/tomcat-5.5-doc/setup.html

Step 9: Configure DNS to point to GlobalModelExchange instance.

Last edited by
William Stephens (631 days ago) , ...
Adaptavist Theme Builder Powered by Atlassian Confluence