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

caGrid 1.3 Host Configuration


The following represent the instructions to enable networking once the VM/Host machine has been created and is up and running.


STEP 1: Enable the Network

Once the VM is created and started, follow the instructions below to enable networking:

These instructions apply to CentOS 5 Linux distribution.
  1. Open the network configuration GUI and enter the following information: 
    system-config-network-tui
    1. Select > eth0 and hit > return
    2. Deselect > DHCP 
    3. In the Static IP field enter > <static_ip>
    4. In the Netmask field enter > <netmask_ip>
    5. In the Default gateway IP field enter > <gateway_ip>
  2. Edit resolv.conf: 
    vi /etc/resolv.conf


  3. Add search domain:
    nameserver static_ip


  4. Edit ifcgc-eth0:
    vi /etc/sysconfig/networking/profiles/default/ifcfg-eth0


  5. Add > "HOSTNAME=hostname.domain.org"

  6. Edit /etc/hosts:
    vi /etc/hosts


  7. Add > "type_static_ip hostname.domain.org hostname"

STEP 2: Time Synchronization

To ensure that the host's clock has the correct time, synchronize the clock with a time service.

  1. NTP time servers are available at:http://www.pool.ntp.org.

STEP 3: User Accounts

The following represents an example of a User Account.

  1. User account "griduser" was created with the /home/griduser as the home directory. The folder layout is provided in the table below:
Folder layout
Folder
Purpose
/home/griduser  
/home/griduser/bin Location of local scripts
/home/griduser/certificates Install space for certificates
/home/griduser/ext Install space for required packages
/home/griduser/tmp Temporary file space

STEP 4: Software

Required software is based on the CBIIT Tech Stack

The following are the instructions to manually install the required Software:
  1. Java 1.5.0_14
    1. Go to the following URL to select your Java distribution and follow the install instructions: [Sun JDK 1.5.0_14 Download Site]. 
    2. Once you have installed Java JDK 1.5, > set the environment variable JAVA_HOME to the root directory of the JDK
      Note: This should be done in a way that will cause JAVA_HOME to be set to the proper value when users log in and also when grid services are automatically launched when a VM boots up. 
      • In a Linux environment, you can set this up by putting an appropriate export command in /etc/profile.
      • In a Windows environment, use the control panel to set JAVA_HOME as a system environment variable.


  2. caGrid 1.3 Installer
    1. The following will be installed by the caGrid Installer: 
      || Software
      || Version
      ||
      Ant
      1.7.0
      Globus
      4.0.3
      Tomcat
      5.5.27
      caGrid
      1.3


    2. $ wget http://gforge.nci.nih.gov/frs/download.php/6860/caGrid-installer-1.3.0.1.zip --no-check-certificate
    3. $ unzip caGrid-installer-1.3.0.1.zip -d ~/ext/
  3. MySQL 5.0.45
    This is not required for all caGrid Services.
    1. Download the installer for your operating system > http://downloads.mysql.com/archives.php?p=mysql-5.0&v=5.0.45
    2. Follow the install instructions for your environment > http://dev.mysql.com/doc/refman/5.0/en/installing.html
Last edited by
Sarah Honacki (719 days ago) , ...
Adaptavist Theme Builder Powered by Atlassian Confluence