The AFS grid UI at CERN

Contact

In case if you encounter any problems with the AFS UI, please open a GGUS ticket.

If you want to contact the AFS UI Administrators, you can address the grid-cern-afsui-admin@cernNOSPAMPLEASE.ch 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.

Version 3.0 (default)

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/LCG-share/current/etc/profile.d/grid_env.csh
and for Bourne like shell
    source /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh

Version 3.1

In order to distuinguish gLite 3.0 releases from 3.1, we introduce separate directories (_/afs/cern.ch/project/gd/LCG-share/new_3.1, /afs/cern.ch/project/gd/LCG-share/current_3.1_) for 3.1 releases.

The new version of the UI (dir 3.1.0-1) can be accessed by sourcing one of the two scripts (depending on your shell)

  • /afs/cern.ch/project/gd/LCG-share/current_3.1/external/etc/profile.d/grid-env.sh
  • /afs/cern.ch/project/gd/LCG-share/current_3.1/external/etc/profile.d/grid-env.csh

Please note that the new 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/LCG-share/current_3.1/etc/profile.d/grid-env.sh
  • /afs/cern.ch/project/gd/LCG-share/current_3.1/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/LCG-share/current_3.1/etc/profile.d/grid-env.csh
and for Bourne like shell
    source /afs/cern.ch/project/gd/LCG-share/current_3.1/etc/profile.d/grid-env.sh

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/LCG-share The root directory of the AFS UI installation. Under this directory there is one directory per release, named after the release name, as found on the page

  • /afs/cern.ch/project/gd/LCG-share/current The current 3.0 release (default for Production AFS UI) is linked under the directory.
  • /afs/cern.ch/project/gd/LCG-share/previous The previous 3.0 release that went into production.
  • /afs/cern.ch/project/gd/LCG-share/new Directory for the forthcoming 3.0 release (if present)

  • /afs/cern.ch/project/gd/LCG-share/current_3.1 The current 3.1 release is linked under the directory.
  • /afs/cern.ch/project/gd/LCG-share/previous_3.1 The previous 3.1 release that went into production.
  • /afs/cern.ch/project/gd/LCG-share/new_3.1 Directory for the forthcoming 3.1 release (if present)

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/sl3/etc/profile.d/grid_env.sh ]; then
   source /afs/cern.ch/project/gd/LCG-share/sl3/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/sl3/etc/profile.d/grid_env.csh ) then
   source /afs/cern.ch/project/gd/LCG-share/sl3/etc/profile.d/grid_env.csh
    endif
endif

New releases

New releases are installed in the corresponding "new" directories

  • gLite 3.0: /afs/cern.ch/project/gd/LCG-share/new
  • gLite 3.1: /afs/cern.ch/project/gd/LCG-share/new_3.1

New updates are announced via an EGEE Broadcast. Following the announcement, users have a week to test the new verions, spot problems (showstoppers). If no major problem is encountered, a week later the "new" version becomes "current" (and "current" becomes "previous"). Another EGEE Broadcast tells about the second change.

Cleanup

We keep 3 different releases of the UI, which normally means that one version before previous stays on the AFS UI space. In case if there were updates with the same UI release (ex. 3.0.22-1, 3.0.22-2) then those count as one release in counting the 3 different releases to keep.

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.

-- Main.diana - 22 May 2007

Edit | Attach | Watch | Print version | History: r14 | r12 < r11 < r10 < r9 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r10 - 2007-11-26 - FaridaNaz
 
    • 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-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback