sysadmin
@
extreme.indiana.edu


Home
Machines
CSG
    Support
    Packages
Lab
    User's Guide
    Sysadmin's Guide
    Packages
Projects
    Portal
    LEAD
    Grid Info

Globus Toolkit 3 User's Guide

Installed Versions

2.4.3

3.0.1

3.0.2 (on chinkapin)

These versions are installed together on most if not all extreme machines under /usr/local/globus-3.0.1

Description

Globus is a software toolkit for constructing Grid-enabled applications.

Documentation

See the User's Guide [PDF].

Links to More Information

Deploy Status

(Is this still true?)Our GIIS server is running on rainier.extreme.indiana.edu and its Mds-Vo-name is 'extreme'. It reports to the CS department's GIIS running on sawtooth.cs.indiana.edu whose Mds-vo-name is 'cs' (contact Akshay Sharma <@cs.indiana.edu> for further details).

Globus deploy status on lab machines

Getting Started

  • Setting up your environment:

    ssh to a machine with globus installed and issue the following:

    • If you are a ksh/bash user, use the following:
      export JAVA_HOME=/l/... (should be jdk 1.4.1 or above, paths differ according to architecture)
      export PATH=$JAVA_HOME/bin:$PATH
      export ANT_HOME=/l/local/packages/jakarta-ant/1.5.3-1
      export PATH=$ANT_HOME/bin:$PATH
      cd /usr/local/globus
      export GLOBUS_LOCATION=`pwd`
      source etc/globus-user-env.sh
      export LD_LIBRARY_PATH=/l/gcc322/lib:$LD_LIBRARY_PATH
      export OPTIONS=-Dorg.globus.ogsa.client.timeout=120000
    • If you are a csh/tcsh user (user globus defaults to this), use the following:
      setenv JAVA_HOME /l/... (should be jdk 1.4.1 or above, paths differ according to architecture)
      setenv PATH $JAVA_HOME/bin:$PATH
      setenv ANT_HOME /l/local/packages/jakarta-ant/1.5.3-1
      setenv PATH $ANT_HOME/bin:$PATH
      cd /usr/local/globus
      setenv GLOBUS_LOCATION `pwd`
      source etc/globus-user-env.csh
      setenv LD_LIBRARY_PATH /l/gcc322/lib:$LD_LIBRARY_PATH
      setenv OPTIONS -Dorg.globus.ogsa.client.timeout=120000
  • Obtaining a certificate:

    1. Get your NCSA Globus certificate. You'll need to have an NCSA account first.
    2. Once you've generated your NCSA certificate, copy the usercert.pem and userkey.pem files to your local $(HOME)/.globus directory.
    3. Email Marcus your globus dn and ask to be added to the grid-mapfile. You can find your globus dn by running:

      grid-cert-info -subject

  • Starting the GT3 container:

    Log in as user globus (ssh globus@rainier) on a machine with GT3 installed (email Marcus if you aren't able to ssh as user globus). Setup your environment as described above. To start the GT3 standalone container, run:

    globus-start-container [-p port-number]

    The default port to start on is port 8080. If you encounter any errors on start up, the first thing to try is another port number.

  • Launching a test MMJFS job:

    As yourself, setup your environment as described above. Load your proxy with:

    grid-proxy-init

    Change directory to /usr/local/globus and run the following command. This assumes that you have a globus container running somewhere.

    managed-job-globusrun -factory http://host:port/ogsa/services/base/gram/MasterForkManagedJobFactoryService -file etc/test.xml

    Replace host and port with appropriate values.

    When you are finished, you can run:

    grid-proxy-destroy
  • Stopping the GT3 container:

    Again, as user globus run:

    globus-stop-container -secure soft [http://localhost:port]

    You only need the last argument if you ran the container on a port other than the default 8080. For example, if you started the container on port 8088, then you would stop it with the following command:

    globus-stop-container -secure soft http://localhost:8088

FAQ

Are there any code examples available?

There are sample GT3 applications in the following locations:

  • Sample WSDL and XML Schemas aare located in /usr/local/globus/schema/samples.
  • Source code is located in /usr/local/globus/src/org/globus/ogsa/impl/samples.

See User's Guide and Programmer's Guide for more information. Also highly recommended is the GT3 Tutorial.

Last updated 31 Mar 2006 by machrist@cs.indiana.edu