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. |
- Open the network configuration GUI and enter the following information:
system-config-network-tui
- Select > eth0 and hit > return
- Deselect > DHCP
- In the Static IP field enter > <static_ip>
- In the Netmask field enter > <netmask_ip>
- In the Default gateway IP field enter > <gateway_ip>
- Edit resolv.conf:
vi /etc/resolv.conf
- Add search domain:
nameserver static_ip
- Edit ifcgc-eth0:
vi /etc/sysconfig/networking/profiles/default/ifcfg-eth0 - Add > "HOSTNAME=hostname.domain.org"
- Edit /etc/hosts:
vi /etc/hosts
- 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.
- NTP time servers are available at:http://www.pool.ntp.org
.
STEP 3: User Accounts
The following represents an example of a User Account.
- 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:
Java 1.5.0_14
- Go to the following URL to select your Java distribution and follow the install instructions: [Sun JDK 1.5.0_14 Download Site
]. - 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.
- In a Linux environment, you can set this up by putting an appropriate export command in /etc/profile.
- Go to the following URL to select your Java distribution and follow the install instructions: [Sun JDK 1.5.0_14 Download Site
caGrid 1.3 Installer
- 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
- $ wget http://gforge.nci.nih.gov/frs/download.php/6860/caGrid-installer-1.3.0.1.zip
--no-check-certificate - $ unzip caGrid-installer-1.3.0.1.zip -d ~/ext/
- The following will be installed by the caGrid Installer:
MySQL 5.0.45

This is not required for all caGrid Services. - Download the installer for your operating system > http://downloads.mysql.com/archives.php?p=mysql-5.0&v=5.0.45

- Follow the install instructions for your environment > http://dev.mysql.com/doc/refman/5.0/en/installing.html

- Download the installer for your operating system > http://downloads.mysql.com/archives.php?p=mysql-5.0&v=5.0.45





