; Installing Globus Toolkit 2.4201132684445
Documents
Resources
Learning Center
Upload
Plans & pricing Sign in
Sign Out
Your Federal Quarterly Tax Payments are due April 15th Get Help Now >>

Installing Globus Toolkit 2.4201132684445

VIEWS: 8 PAGES: 12

  • pg 1
									http://www.grid-support.ac.uk                                  http://www.ngs.ac.uk




                Installing Globus Toolkit 2.4

                                   Guy Warner
                                NeSC, Training Team




 http://www.nesc.ac.uk/              http://www.pparc.ac.uk/              http://www.eu-egee.org/
                               Overview
•   Will I be able to use the toolkit?
•   What do I need? Where do I get it?
•   Installing the Grid Packaging Tool
•   Installing the Client and SDK packages
•   Configuration
•   Installing GSI enabled SSH Client

• Assumed inability to install as root
• Also assumed all commands run in same session


         Induction to Grid Computing and the National Grid Service, NeSC,
         29th – 30th March 2005
         Will I be able to use the
                 toolkit?
• The toolkit is opensource.
• The default is for 5000 ports to be used
   – Known not to work with 10, probably needs upwards
     of 100 as a bare minimum
• Either:
   – You are the your firewall administrator, or
   – You have a very understanding firewall administrator
• Extremely problematic if on a network using
  Network Address Port Translation
   – for example behind a home ADSL modem/router.

        Induction to Grid Computing and the National Grid Service, NeSC,
        29th – 30th March 2005
             What do I need?
            Where do I get it? (1)
• From http://www.globus.org/gt2.4/download.html
  – gpt version 3.0.1 (grid packaging tool)
  – All parts of the client binary bundle (globus-all-client-
    2.4.3-i686-pc-linux-gnu-bin.tar.gz)
  – All parts of the sdk binary bundle (globus-all-sdk-
    2.4.3-i686-pc-linux-gnu-bin.tar.gz)




       Induction to Grid Computing and the National Grid Service, NeSC,
       29th – 30th March 2005
            What do I need?
           Where do I get it? (2)
• From http://grid.ncsa.uiuc.edu/ssh/
  – GSI enabled Secure Shell (gsi_openssh_bundle-3.5-
    src.tar.gz)
• The UK Certificate Authority
  – From http://www.grid-support.ac.uk/ca/user-
    documentation/index.html download
     • http://ca.grid-support.ac.uk/cacert.pem
     • http://www.grid-support.ac.uk/ca/user-
       documentation/01621954.signing_policy




       Induction to Grid Computing and the National Grid Service, NeSC,
       29th – 30th March 2005
                 Installing the Grid
                  Packaging Tool
•   Installing gpt into ~/mygpt
•   export GPT_LOCATION=~/mygpt
•   export LANG=
•   ./build_gpt
       build_gpt     ====> installing GPT into /home/gcw/mygpt
       build_gpt     ====> building support/Compress-Zlib-1.16
       build_gpt     ====> building support/Archive-Tar-0.22
       build_gpt     ====> building support/PodParser-1.18
       build_gpt     ====> building support/Digest-MD5-2.20
       build_gpt     ====> building packaging_tools



        Induction to Grid Computing and the National Grid Service, NeSC,
        29th – 30th March 2005
               Installing the Client
                     package
• Installing into ~/myglobus
• Install using gpt
• export GLOBUS_LOCATION=~/myglobus
•  $GPT_LOCATION/sbin/gpt-install globus-all-
  client-2.4.3-i686-pc-linux-gnu-bin.tar.gz
• $GPT_LOCATION/sbin/gpt-postinstall
• $GLOBUS_LOCATION/setup/globus/setup-gsi
             -nonroot
    – Take the default answers and choose “save,
      configure the GSI and Quit” when prompted.

        Induction to Grid Computing and the National Grid Service, NeSC,
        29th – 30th March 2005
      Install the sdk package
• $GPT_LOCATION/sbin/gpt-install globus-all-
  sdk-2.4.3-i686-pc-linux-gnu-bin.tar.gz




      Induction to Grid Computing and the National Grid Service, NeSC,
      29th – 30th March 2005
       Configuration: Install UK
            CA certificates
• Certificate Authorities are only recognized if their
  certificates are found within the correct globus
  folder and have the correct names
• Rename cacert.pem to it’s required name
   – mv cacert.pem 01621954.0
• Move the certificates to where globus expects
  the certificates to be:
   – mv 01621954.*
       $GLOBUS_LOCATION/share/certificates
   – if installing as root this is normally /etc/grid-
     security/certificates/
        Induction to Grid Computing and the National Grid Service, NeSC,
        29th – 30th March 2005
       Configuration: Runtime
• By default globus expects to be able to receive an
  incoming connection on any high numbered available
  port.
• The reality is that most sites restrict to use ports 20000 –
  25000
• Before running any globus commands type (assuming
  running in a new session):
   – export GLOBUS_TCP_PORT_RANGE="20000 25000"
   – export GLOBUS_LOCATION=~/myglobus
   – source $GLOBUS_LOCATION/etc/globus-user-env.sh
• Don’t forget about modifying any firewalls you are
  behind.

         Induction to Grid Computing and the National Grid Service, NeSC,
         29th – 30th March 2005
            Installing GSI enabled
                      SSH
• Check what flavor’s are available (both development and
  run time versions)
• $GPT_LOCATION/sbin/gpt-query globus_gssapi_gsi
     4 packages were found in /home/gcw/myglobus/ that matched your query:

     packages found that matched your query
         globus_gssapi_gsi-gcc32dbg-dev pkg version: 3.14.0
         globus_gssapi_gsi-gcc32dbg-rtl pkg version: 3.14.0
         globus_gssapi_gsi-gcc32dbgpthr-dev pkg version: 3.14.0
         globus_gssapi_gsi-gcc32dbgpthr-rtl pkg version: 3.14.0


• $GPT_LOCATION/sbin/gpt-build -verbose
     gsi_openssh_bundle-3.5-src.tar.gz gcc32dbg

         Induction to Grid Computing and the National Grid Service, NeSC,
         29th – 30th March 2005
                    And Finally ….
… check the integrity of your installation
• $GPT_LOCATION/sbin/gpt-verify
• gsissh –p 2222 grid-data.rl.ac.uk
• globus-job-run grid-data.rl.ac.uk/jobmanager-
  pbs /bin/hostname –f




       Induction to Grid Computing and the National Grid Service, NeSC,
       29th – 30th March 2005

								
To top