OBSOLETE

Production AFS grid UI at CERN

Contact

In case of problems with the CERN AFS UI, please either open a GGUS ticket, or contact the UI support.

To contact the AFS UI administrators, you can contact the CERN AFS UI admins mailing list.

AFS UI requirements

This service is available to anyone with a CERN AFS account.

All you have to do is log into a node with AFS mounted (and from where the cern.ch cell is visible), for instance any lxplus node, using your usual account details.

Production AFS UI configuration

List of currently installed software releases are available at the AFS UI current status page.

The be able to use the CERN AFS UI, you need to source one of the two scripts (depending on your shell)

  • bash: source /afs/cern.ch/project/gd/LCG-share/current/external/etc/profile.d/grid-env.sh
  • tcsh: source /afs/cern.ch/project/gd/LCG-share/current/external/etc/profile.d/grid-env.csh

WARNING: Releases of the AFS UI are now only deployed for SLC4 at CERN.

Automation of sourcing of environment

You can put the following statement in your shell startup files if you want to avoid manually setting your environment.

Bash

if ( hostname -s | grep lxplus > /dev/null ); then
    if [ -r /afs/cern.ch/project/gd/LCG-share/current/external/etc/profile.d/grid-env.sh ]; then
   source /afs/cern.ch/project/gd/LCG-share/current/external/etc/profile.d/grid-env.sh
    fi
fi

C shell

hostname -s | grep lxplus > /dev/null
if ( $? == 0 ) then
    if ( -r /afs/cern.ch/project/gd/LCG-share/current/external/etc/profile.d/grid-env.csh ) then
   source /afs/cern.ch/project/gd/LCG-share/current/external/etc/profile.d/grid-env.csh
    endif
endif

Forthcoming and previous UI releases

The root directory of the AFS UI installation is /afs/cern.ch/project/gd/LCG-share. Under this directory there is one directory per release, named after the release version, as found on the page:

By sourcing grid-env.(c)sh under different directories, you will be able to use different UI releases:

  • Version currently in production is under: /afs/cern.ch/project/gd/LCG-share/*current*/external/etc/profile.d/
  • Next version to be deployed in production is under: /afs/cern.ch/project/gd/LCG-share/*new*/external/etc/profile.d/
  • Previous version: /afs/cern.ch/project/gd/LCG-share/*previous*/external/etc/profile.d/

Whenever a new version of the AFS UI is available to users for test, users are informed and usually have a week to test it and report any problem found, before the new version is moved to production.


PPS AFS UI Configuration

List of currently installed software releases are available at the AFS UI current status page.

Version 3.0

In order to distuinguish gLite 3.0 releases from 3.1, we introduce separate directories (_/afs/cern.ch/project/gd/egee/glite/ui_PPS_3.0, /afs/cern.ch/project/gd/egee/glite/ui_PPS_3.0_old) for 3.0 releases.

If you want to use the AFS UI, you should source one of the .sh or .csh environment files, choosing the one relevant for your shell. For instance for the tcsh or other C like shell

    source /afs/cern.ch/project/gd/egee/glite/ui_PPS_3.0/etc/profile.d/grid_env.sh
and for Bourne like shell
    source /afs/cern.ch/project/gd/egee/glite/ui_PPS_3.0/etc/profile.d/grid_env.csh

Version 3.1

The 3.0 version of the UI can be accessed by sourcing one of the two scripts (depending on your shell)

  • /afs/cern.ch/project/gd/egee/glite/ui_PPS/external/etc/profile.d/grid-env.sh
  • /afs/cern.ch/project/gd/egee/glite/ui_PPS/external/etc/profile.d/grid-env.csh

Please note that the 3.1 UI is NOT in the same "glite location" as the 3.0 version and the name of the scripts is changed (from grid_env.* to grid-env.*) In order to give the users time to get used to the new location we are providing also symlinks in the old directory

  • /afs/cern.ch/project/gd/egee/glite/ui_PPS/etc/profile.d/grid-env.sh
  • /afs/cern.ch/project/gd/egee/glite/ui_PPS/etc/profile.d/grid-env.csh

The symlinks will be supported however only for two extra months (till November 2007). Therefore all users are invited to change their applications to use script in the new glite location as soon as possible.

If you want to use the AFS UI, you should source one of the .sh or .csh environment files, choosing the one relevant for your shell. For instance for the tcsh or other C like shell

    source /afs/cern.ch/project/gd/egee/glite/ui_PPS/etc/profile.d/grid-env.sh
and for Bourne like shell
    source /afs/cern.ch/project/gd/egee/glite/ui_PPS/etc/profile.d/grid-env.csh

WARNING: Currently the AFS UI only works from a node running SLC3, SLC4 32 bit or SLC4 64 bit in compatibility mode.

Directory structure

  • /afs/cern.ch/project/gd/egee/glite The root directory of the AFS UI installation. Under this directory there is one directory per release, named after the update number, as found on the page

  • /afs/cern.ch/project/gd/egee/glite/ui_PPS The current 3.1 release (default for PPS UI) is linked under the directory.
  • /afs/cern.ch/project/gd/egee/glite/ui_PPS_old The previous 3.1 release that went into production.

  • /afs/cern.ch/project/gd/egee/glite/ui_PPS_3.0 The current 3.0 release is linked under the directory.
  • /afs/cern.ch/project/gd/egee/glite/ui_PPS_3.0_old The previous 3.0 release that went into production.

Automation of sourcing of environment

You can put the following statement in your shell startup files if you want to avoid manually setting your environment.

Bash

if ( hostname -s | grep lxplus > /dev/null ); then
    if [ -r /afs/cern.ch/project/gd/egee/glite/ui_PPS/external/etc/profile.d/grid-env.sh ]; then
   source /afs/cern.ch/project/gd/egee/glite/ui_PPS/external/etc/profile.d/grid-env.sh
    fi
fi

C shell

hostname -s | grep lxplus > /dev/null
if ( $? == 0 ) then
    if ( -r /afs/cern.ch/project/gd/egee/glite/ui_PPS/external/etc/profile.d/grid-env.csh ) then
   source /afs/cern.ch/project/gd/egee/glite/ui_PPS/external/etc/profile.d/grid-env.csh
    endif
endif

Cleanup

Whenever a new release is done, outdated version 2 updates before ui_PPS_old will be removed.


-- SophieLemaitre - 04 Jul 2008  

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2015-02-06 - JuanManuelGuijarro
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback