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.
globus toolkit

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

globus toolkit
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.

globus toolkit

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.

globus toolkit

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

  • Share/Bookmark

March 11, 2010  Tags: ,   Posted in: grids, linux

  • Ramesh
    Hi,

    I'm new to globus toolkit. My team setup toolkit. But how can we know whether we did correctly or not.

    One more issue, how can i run programs in toolkit. Please let me know.

    Thanks,
    Ramesh
  • vidhyachelladurai
    thanks for ur info it was very useful
  • To re-install Globus Toolkit, first uninstall jdk package by typing "rpm -e jdk" in a terminal without quotes as a root user.Then delete tomcat,ant,junit,globus,sge folders in "/usr/local/" directory.
  • I was using my Dell Inspiron 1525 laptop for Globus Toolkit installation.There was no support for my network card in RHEL 5, so i have to download and install Marvell Yukon Linux Driver manually from the website : http://www.marvell.com/support.html
  • subramanian
    hi ! i have installed globus toolkit 4.0.7 on 3 fedora linux 10 machines.now i want to configure it as one cluster or vo.how to do that?
    then how to replicate a file on all nodes automatically ?
    any help welcome
  • i ll soon come with a new post for creatin a cluster n grid site.just wait n c !
  • Gunmeet
    Hi Paulson Please post on how to create a cluster using globus Much Thanks anyway
blog comments powered by Disqus

Switch to our mobile site