Menu
Home
The Project
Publications
Links
Submit An Article



The Project
About
People
Research Activities
Participating Sites
Database Browser



Resources
Installation Guides
BAXSQL User Manual
Japanese Guides



BAX
BAX Toolbox
BAX Forum



Events
First International Symposium on ICT for Health (ICTHealth 2008)

ONCO-MEDIA workshop and JAMIT 2007

Philippine-Japan Symposium on the Medical Applications of Grid Technology



< June, 2013 >
S M T W T F S
26 27 28 29 30 31 01
02 03 04 05 06 07 08
09 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 01 02 03 04 05 06

installation guides

This page summarizes the installation steps of the necessary software components that will be needed to use the resources of the Medical Grid Testbed. These components include the pre-ogsi components of the globus toolkit (version 3.2.1), Ninf-G (version 2.4), grid packaging tools (GPT version 3.0.1), and MedGrid's simple CA package.


Globus Toolkit Installation

As root, perform the following tasks:
  1. Create a globus user account in your system.
    # useradd globus
    # passwd globus

  2. Create installation directories
    # mkdir /opt/gt3.2

    The globus toolkit will be installed in this directory, you can changes this to whatever location you like

    # mkdir /opt/gpt3.0.1

    GPT will be installed in this directory

  3. Change ownership of both directories to globus
    # chown globus:globus /opt/gt3.2
    # chown globus:globus /opt/gpt3.0.1

As globus, perform the following task:
  1. Download the following files
    Globus Toolkit: gt3.2.1-preogsi-source-installer.tar.gz
    GPT : gpt-3.0.1-src.tar.gz
    MedGrid Experimental CA: globus_simple_ca_19fbe6b1_setup-0.19.tar.gz

  2. Extract the source codes
    [globus]$ tar -xzvf gpt-3.0.1-src.tar.gz
    [globus]$ tar -xzvf gt3.2.1-preogsi-source-installer.tar.gz

  3. Setup environment variables
    [globus]$ export GPT_LOCATION=/opt/gpt3.0.1
    [globus]$ export GLOBUS_LOCATION=/opt/gt3.2

  4. Build gpt
    [globus]$ cd gpt-3.0.1
    [globus]$ ./build_gpt

  5. Build the globus toolkit

    go back to the download directory
    [globus]$ cd ../


    change directory to the globus toolkit source bundles directory
    [globus]$ cd gt3.2.1-preogsi-source-installer/bundles/


    build each bundle as follows:
    [globus]$ $GPT_LOCATION/sbin/gpt-build [bundle-name] [flavor]


    BUNDLE
    FLAVOR
    globus-data-management-client-3.2-src_bundle.tar.gz gcc32dbgpthr gcc32dbg
    globus-data-management-server-3.2-src_bundle.tar.gz gcc32dbgpthr gcc32dbg
    globus-data-management-sdk-3.2-src_bundle.tar.gz gcc32dbgpthr  
    globus-information-services-client-3.2-src_bundle.tar.gz gcc32dbgpthr  
    globus-information-services-server-3.2-src_bundle.tar.gz gcc32dbgpthr  
    globus-information-services-sdk-3.2-src_bundle.tar.gz gcc32dbgpthr  
    globus-resource-management-client-3.2-src_bundle.tar.gz gcc32dbgpthr gcc32dbg
    globus-resource-management-server-3.2-src_bundle.tar.gz   gcc32dbg
    globus-resource-management-sdk-3.2-src_bundle.tar.gz gcc32dbgpthr  


    for example,
    [globus]$ $GPT_LOCATION/sbin/gpt-build globus-data-management-client-3.2-src_bundle.tar.gz gcc32dbgpthr

  6. Build MedGrid's simple CA package using gpt-build
    go back to the download directory
    [globus]$ cd ../../
    [globus]$ $GPT_LOCATION/sbin/gpt-build globus_simple_ca_19fbe6b1_setup-0.19.tar.gz gcc32dbg

  7. Perform post-installation procedure
    [globus]$ . $GLOBUS_LOCATION/etc/globus-user-env.sh
    [globus]$ $GPT_LOCATION/sbin/gpt-postinstall


As root, finalize GSI setup by running the following commands:
  1. Setup environment variables
    # export GLOBUS_LOCATION=/opt/gt3.2
    # export GPT_LOCATION=/opt/gpt3.0.1

  2. Source the globus-user-env.sh
    # . $GLOBUS_LOCATION/etc/globus-user-env.sh

  3. Finalize GSI setup
    # $GLOBUS_LOCATION/setup/globus_simple_ca_19fbe6b1_setup/setup-gsi -default
    # $GLOBUS_LOCATION/setup/globus/setup-globus-gaa-authz-callout
As globus, verify the installation
  1. To verify the installation, run the following command:
    [globus]$ $GPT_LOCATION/sbin/gpt-verify
As root, request a host certificate
  1. Use grid-cert-request to generate host certificate request
    # grid-cert-request -host FQDN

    where FQDN is the fully qualified domain name of the host, e.g., mycomputer.mydomain.edu

  2. Send the request to the specified email address
As an ordinary user, not root or globus, you can also request a user certificate using the grid-cert-request so that you can use it in testing the installation.

After obtaining the needed certificates, you can continue the configuration of your system. If you are not planning to run globus services, you can skip parts B and C below.


Configuring Grid-FTP

You should perform the following tasks as root.
  1. Add the following entry to /etc/services

    gsiftp                          2811/tcp                # grid ftp


  2. Add a file in /etc/xinetd.d/ called grid-ftp with the following contents:
    service gsiftp
    {
    instances = 1000
    socket_type = stream
    wait = no
    user = root
    env = LD_LIBRARY_PATH=/opt/gt3.2/lib
    server = /opt/gt3.2/sbin/in.ftpd
    server_args = -l -a -G /opt/gt3.2
    log_on_success += DURATION USERID
    log_on_failure += USERID
    nice = 10
    disable = no
    }

    NOTE: Replace /opt/gt3.2 in the above to the appropriate GLOBUS_LOCATION used during installation.

  3. reload xinetd configuration file
    # /etc/init.d/xinetd reload



Configuring Pre-WS Gram Server

Perform the following tasks as root:
  1. Add the following entry to /etc/services

    gsigatekeeper                 2119/tcp            # Globus gatekeeper


  2. Add a file in /etc/xinetd.d/ called globus-gatekeeper with the following contents:
    service gsigatekeeper
    {
    socket_type = stream
    protocol = tcp
    wait = no
    user = root
    env = LD_LIBRARY_PATH=/opt/gt3.2/lib
    server = /opt/gt3.2/sbin/globus-gatekeeper
    server_args = -conf /opt/gt3.2/etc/globus-gatekeeper.conf
    disable = no
    }

    NOTE: Replace /opt/gt3.2 in the above to the appropriate GLOBUS_LOCATION used during installation.

  3. Restart xinetd
    # /etc/init.d/xinetd restart

  4. Change "globus_mapping" to "GLOBUS_MAPPING" (all caps) in the last line of /etc/grid-security/gsi-authz.conf to avoid errors.

  5. Create the file grid-mapfile in /etc/grid-security/ directory containing the mapping from certificate subject to the user's account name.



Ninf-G Installation

Perform the following tasks to install Ninf-G, as root:
  1. Download the necessary source files:
    Ninf-G: ng2-latest.tgz

  2. Set GPT_LOCATION
    # export GPT_LOCATION=/opt/gpt3.0.1

  3. Extract the files and change directory to the distribution directory
    # tar -xzvf ng2-latest.tgz
    # cd ng-2.4.0

  4. Create installation directory. Here, we assume that the directory is /opt/ng2.4.0
    # mkdir /opt/ng2.4.0

  5. Configure and install the package
    # ./configure --prefix=/opt/ng2.4.0 --with-globusFlavor=gcc32dbgpthr --enable-gcc
    # make
    # make install

    NOTE: Use the correct installation directory in the --prefix option above, if different from the one specified.

  6. Create a symbolic link ninfg pointing to ng2.4.0. This is handy when you will update to newer versions. Just change the link to point to the new installation.
    # ln -s /opt/ng2.4.0 /opt/ninfg

  7. Add 2 files, ninfg.sh and ninfg.csh, in /etc/profile.d/ directory containing the following:

    ninfg.sh:
    NG_DIR=/opt/ninfg; export NG_DIR
    if [ -r ${NG_DIR}/etc/ninfg-user-env.sh ]
    then
    . ${NG_DIR}/etc/ninfg-user-env.sh
    fi

    ninfg.csh:
    setenv NG_DIR /opt/ninfg
    if (-r "${NG_DIR}/etc/ninfg-user-env.csh")
    source ${NG_DIR}/etc/ninfg-user-env.csh
    endif



Article Manager module by by George! Software.

Log In
Username

Password

Remember Me



Search Articles




Recently Added Documents
Name: BAX
Updated: 03/14/2008 12:45 PM
Name: BAXSQL
Updated: 11/15/2007 03:41 PM