Access Keys:
Skip to content (Access Key - 0)
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

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:

  1. Secure Container on port 443

Step 2: Prepare Configuration Files.

Copy Identifiers Naming Authority 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>/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:
  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 Identifiers Naming Authority Web App with prepared configuration files.

  1. Edit $HOME/tmp/na.properties
    1. cagrid.na.prefix=http://identifiers-pa.training.citih.osumc.edu:8080/namingauthority/NamingAuthorityService/
    2. cagrid.na.grid.url=https://identifiers-na.training.citih.osumc.edu:8443/wsrf/services/cagrid/IdentifiersNAService
    3. In cagrid.na.db.username, specify your database username
    4. In cagrid.na.db.password, specify your database user's password
  2. Copy na.properties
 $ cp $HOME/tmp/na.properties $CAGRID_HOME/projects/identifiers-namingauthority/etc/.

Step 5: Install Identifiers Naming Authority Web App.

  1. 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

  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 (718 days ago) , ...
Adaptavist Theme Builder Powered by Atlassian Confluence