LCG Grid Deployment - CERN ROC




WARNING: This page is obsoleted by


CERNROCSamInstallationNew




Service Availability Monitoring for the ROC

Overview

The submission of SAM tests to Uncertified sites in the CERN ROC is currently done at CERN. Results are published in the production database and shown trough the following displays

Client configuration details

The SAM client used for the CERN ROC is the same (and in the same configuration) used for PPS and described here

The default sensor configuration was left untouched at client level. All changes in that respect were done within the instance directory, described in the next section.

Sensor configuration details

The overall sensor configuration is kept in the afs directory

/afs/cern.ch/project/gd/egee/sam-roc

The submission framework for the uncertified sites in the CERN ROC has been customised to use different RBs/informationsystem + a particular SE. Several bash scripts and configuration files are used: the whole of them is available in /afs/cern.ch/project/gd/egee/sam-roc

file function notes
glite_wmsui_cern_roc.conf It points to the WMS used to submit SAM tests a gLite WMS is used to submit both to LCG SEs and gLite CEs. Therefore the content of CE-config.sh had to be changed with respect to the version distributed in order not to use the standars settings of the PPS UI
CE-config.sh Commands and filters to be used by the CE sensor with respect to the "standard" CE sensor configuration, here glite_wmsui_cern_roc.conf file is used instead of the default UI settings; edg- commands have been replaced by the glite- ones, in order to use the gliteWMS and a particular SE has been taken as the reference SE, which belongs both to production and PPS grids
gCE-config.sh Commands and filters to be used by the gCE sensor with respect to the "standard" gCE sensor configuration, here glite_wmsui_cern_roc.conf file is used instead of the default UI settings; a particular SE has been taken as the reference SE, which belongs both to production and PPS grids
instance-setenv.sh Environment settings needed for the submission to PPS In particular the "HOME" directory of the PPS installation, the SAM working directory and the UI to use are defined here. The first two have to be changed if a new instance is created out of a copy of these scripts
instance-setenv.csh Environment settings needed for for the submission to PPS Same as above. This comes handy to run manual tests if you use (t)csh
apply-sensor-config.sh Specific environment settings needed by the sensors So far only CE and gCE sensors need a variable to be set to make them use, respectively, gCE-config.sh and gCE-config.sh instead of the standard sensor configuration shipped with the SAM client
create-proxy.sh Utility to create the 'ops' proxy using the secondary certificate This has to be changed if you happen not to be Antonio Retico ;-)
submit-sam-tests-uncert-cern.sh It submits one-shot SAM tests to all uncertified sites in the Cern ROC Can be used for all sensors. It gets the sensor code in input
publish-submit-sam-tests-uncert-cern.sh Publishes available resuts of the previous tests and submits new ones to all uncertified sites in the Cern ROC Can be used for CE and gCE sensors. It gets the sensor code in input
sam-status.sh It retrieves the status of tests previously submitted to uncertified sites in the Cern ROC. Useful for manual checks. Can be used for CE and gCE sensors. It gets the sensor code in input
sam-publish.sh It publishes tests previously submitted to uncertified sites in the Cern ROC. Useful for manual checks. Can be used for CE and gCE sensors. It gets the sensor code in input
one-phase-sam-tests.sh Submits in a sequence all the supprted one-shot SAM tests to all uncertified sites in the Cern ROC Good to be used in cronjobs. It produces detailed logs of all the operations done. Currently supports SE, SRM, LFC, host-cert sensors
two-phase-sam-tests.sh Publishes available results and then submits in a sequence all the supported one-shot SAM tests to all uncertified sites in the Cern ROC Good to be used in cronjobs. It produces detailed logs of all the operations done. Currently supports CE and gCE sensors

Use and Operation

The "official" user reference for SAM is

http://sam-docs.web.cern.ch/sam-docs/index.php?dir=./admin/& , maintained by Piotr Nyczyk.

However, in order to work with the installation above described it is strongly recommended not to run the same-exec command directly. In fact, due to the several customisations done for teh Cern ROC with respect to the default settings, this could cause, if the user environment is not perfectly set up,

  • results of the tests to be written in wrong directories
  • wrong commands to be run
  • wrong RBs to be used
A practical and quick set up to be sure that nothig is missing is to add in the user .tcsh file an alias as follows.
alias samroc "source /afs/cern.ch/project/gd/egee/sam-roc/instance-setenv.csh; \
              cd /afs/cern.ch/project/gd/egee/sam-roc"
and to run the alias each time you start using the Cern ROC instance of SAM.

The regular submission of SAM tests to uncertified sites in the Cern ROC is scheduled by cronjobs run in Antonio's acrontab

00 * * * * lxb1908.cern.ch /afs/cern.ch/project/gd/egee/sam-roc/two-phase-sam-tests.sh > /afs/cern.ch/project/gd/egee/sam-roc/two-phase-sam-tests.log 2>&1
30 * * * * lxb1908.cern.ch /afs/cern.ch/project/gd/egee/sam-roc/one-phase-sam-tests.sh > /afs/cern.ch/project/gd/egee/sam-roc/one-phase-sam-tests.log 2>&1
  • The one-phase-sam-tests include those tests to be run in a single step (the results of which are immediately available) e.g. LFC, SRM ...
  • The two-phase-sam-tests include those tests to be run in two phases (the results of which are not immediately available) e.g. CE, gCE ...
In both cases the tests are run in a sequence and applied to all uncertified sites in the Cern ROC where Monitoring=Y

-- Main.aretico - 24 Oct 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2011-06-21 - AndresAeschlimann
 
    • 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