Upgrade Identifiers Naming Authority Web Application
Step 1: Prepare Host.
This web application was installed under a separate user, "nawebapp", on the Identifiers Naming Authority host.
The caGrid 1.4 Training grid host was installed and configured according to the specifications listed on caGrid 1.4 Host Configuration page.
Identifiers Naming Authority specific requirements:
- Secure Container on port 443
Step 2: Prepare Configuration Files.
Copy Identifiers Naming Authority configuration files to new host.
- Download and extract https://wiki.cagrid.org/download/attachments/10617829/caGrid-1.4-Configs-NCI.zip
.
- Copy <target_grid>/IdentifiersNamingAuthorityWebApp/na.properties 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. Set "Shutdown Port" to 8019 Set "HTTPS Port" to 443 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: Install caGrid and Configure a Secure Container Using the caGrid 1.3 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 Identifiers Naming Authority Web App with prepared configuration files.
- Edit $HOME/tmp/na.properties
- cagrid.na.prefix=http://identifiers-pa.training.citih.osumc.edu:8080/namingauthority/NamingAuthorityService/

cagrid.na.prefix must end with a "/" character QA = http://cagrid-identifiers-pa-qa.nci.nih.gov/qa/

Stage = http://cagrid-identifiers-pa-stage.nci.nih.gov/stage/
Production = http://cagrid-identifiers-pa.nci.nih.gov/production/
- cagrid.na.grid.url=https://identifiers-na.training.citih.osumc.edu:8443/wsrf/services/cagrid/IdentifiersNAService
- In cagrid.na.db.username, specify your database username
- In cagrid.na.db.password, specify your database user's password
- cagrid.na.prefix=http://identifiers-pa.training.citih.osumc.edu:8080/namingauthority/NamingAuthorityService/
- Copy na.properties

$ cp $HOME/tmp/na.properties $CAGRID_HOME/projects/identifiers-namingauthority/etc/.
Step 5: Install Identifiers Naming Authority Web App.
- Deploy the GlobalModelExchange service

$ cd $CAGRID_HOME/projects/identifiers-namingauthority
$ 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.
Step 8: Configure Service to Start on Reboot.
For the Identifiers Naming Authority 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






