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:
- Secure Container
- MySQL 5.0.45
Step 2: Prepare Configuration Files.
Copy GME configuration files to new host.
- Download and extract https://wiki.cagrid.org/download/attachments/10617829/caGrid-1.4-Configs-NCI.zip
.
- Copy <target_grid>/GlobalModelExchange/gme.properties to $HOME/tmp
- 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:
|
Step 4: Configure GME with prepared configuration files.
- Edit gme.properties
- Provide your database configuration settings
- Copy gme.properties

$ cp $/tmp/gme.properties $CAGRID_HOME/projects/globalModelExchange/etc/.
- Copy serviceMetadata.xml

$ cp $/tmp/serviceMetadata.xml $CAGRID_HOME/projects/globalModelExchange/etc/.
Step 5: Install GlobalModelExchange.
- 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
- Configure Tomcat to start automatically: http://tomcat.apache.org/tomcat-5.5-doc/setup.html






