Installing Globus Toolkit on Linux
Grids have emerged as a common approach to constructing dynamic, inter-domain, distributed computing and data collaborations.The open source Globus Toolkit middleware has been developed to support these environments, and used in Grid deployments worldwide.
Globus Toolkit Auto Installation (GTAI) aims at the creation of Grid Environment setup with ease and comfort which performs the automation of various versions of globus toolkit installation and configuration.Globus Toolkit Auto Installation Utility is a part of the research activities of Centre for Advanced Computing Research and Education (CARE), Department of Information Technology, M I T Campus, Anna University Chennai.
GTAI version 1.0.1 has been tested on different linux platforms such as Fedora Core 3/4/5/6/7/8/9, CentOS 5, RHEL 4/5.The following installation steps are based on RHEL 5.
Before installing Globus Toolkit, you should make sure that the following packages are installed on your Linux OS:
- perl-XML-Parser, postgresql, xinetd, openssl097a, perl-libxml-perl, zlib, zlib-devel
- sudo, gcc, g++, make, tar, sed, perl
These packages comes along with the RHEL 5 DVD.To install these packages, go to Application->Add/Remove Software.After installing these softwares, type the following in a terminal as a root user
chkconfig postgresql on
server postgresql start
Edit the “/etc/sysconfig/network” file such that HOSTNAME points to a Fully Qualified Domain Name(xxx.xxx.xxx).In my case it was like this :
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=master.grid.karunya.in
Next edit the “/etc/hosts” file to set the hostanme to the IP. My file looks like this :
127.0.0.1 localhost.localdomain localhost
192.168.56.101 master.grid.karunya.in master
Restart the machine and verify your hostname by simply typing the command hostname in a terminal.
Login as root user and download the software bundle GTAI-1.0.1.tar.gz and copy the bundle to the location “/usr/local”
Change to the directory and untar the GTAI-1.0.1.tar.gz file
cd /usr/local
tar -zxvf GTAI-1.0.1.tar.gz
GTAI uses the configuration file(auto.cfg) for the automatic installation of Globus Toolkit.Edit the file according to your requirements.Here is the sample of my GTAI configuration file:
#IP_ADDRESS: Ip Address of your host machine & should not be empty
IP_ADDRESS:192.168.56.101#USERNAME: Name of the third party user for getting user certificate
USERNAME:guser01#LRMS: Name of the Local Resource Management System. (PBS or SGE )
LRMS:PBS#GLOBUS_VERSION: Version of Globus Tool Kit
GLOBUS_VERSION:globus-4.0.7#GLOBUS_CONFIG_OPTION: Globus Tool Kit Configuration Options
#e.g GLOBUS_CONFIG_OPTION:–enable-prewsmds –enable-wsgram-pbs –enable-i18n –enable-drs –enable-gridway -with-gridwayargs=”–with-db=no”
#Default Config will be enabled if not set
GLOBUS_CONFIG_OPTION:
Download and save the file gt4.sh to “/etc/profile.d/” folder for setting the environment variables required for the proper working of Globus Toolkit.Then type the following command in a terminal
source /etc/profile.d/gt4.sh
At last run the script GTAI-install.sh as shown below
cd /usr/local
/bin/sh GTAI_install.sh
This script may run for two hour or more depending on the configuration of the system.Any error which occurs during this running of script may stop the installation process and can be viewed from the file “/tmp/log.txt“.
Testing of Globus Toolkit
Login as globus user and start the globus container
su globus
globus-start-container
You may find a set of services running as follows.Dont close this terminal.

Open a new terminal and login as guser01 and type the following commands to generate a proxy certificate.
su guser01
grid-proxy-init
grid-proxy-info

Query the resource information using the following command in a terminal window:
wsrf-query -s https://192.168.56.101:8443/wsrf/services/DefaultIndexService
Change the IP with the IP address of your machine.

Next we will submit a job for execution in the same terminal
globusrun-ws -submit -s -c /bin/uname -a
You will get the system information as the output.

Finally login as globus user and stop the globus container
su globus
globus-stop-container
For more information about Incubator GT Auto Install globus project, check the following link :
Incubator/GT Auto Install
March 11, 2010
Tags: grid, GT Posted in: grids, linux
-
Ramesh
-
vidhyachelladurai
-
paulson
-
paulson
-
subramanian
-
paulson
-
Gunmeet
