Instructions for installing and configuring the LCG information providers (used by CEMon) ========================================================================= The following information are needed to properly install and configure the LCG information providers (used by CEMon). They basically replace the instructions for the configuration of: /opt/glite/etc/glite-ce-ce-plugin/glite-ce-parameters.cfg /opt/glite/etc/glite-ce-ce-plugin/ce-static.ldif 1- Install on the CE node the following RPMs: lcg-info-templates lcg-info-generic lcg-info-dynamic-pbs (just for PBS CE) lcg-info-dynamic-lsf (just for LSF CE) lcg-info-dynamic-condor (just for Condor CE) They can all be found at: http://lfield.home.cern.ch/lfield/gip/rpms/ 2- Create and properly fill the configuration file: /opt/glite/etc/glite-ce-ce-plugin/lcg-info-generic.conf Please refer to the examples files (lcg-info-generic.conf.example.pbs for a PBS CE, and lcg-info-generic.conf.example.lsf for a LSF CE) installed in the directory /opt/glite/etc/glite-ce-ce-plugin, by the glite-ce-ce-plugin RPM. At the beginning of this file there are first of all some definitions, i.e.: ldif_file=/opt/glite/etc/glite-ce-ce-plugin/out.ldif generic_script=/opt/lcg/libexec/lcg-info-generic wrapper_script=/opt/glite/etc/glite-ce-ce-plugin/lcg-info-wrapper dynamic_script=/opt/lcg/libexec/lcg-info-dynamic-pbs /opt/glite/etc/glite-ce-ce-plugin/lcg-info-generic.conf lxb2077.cern.ch temp_path=/opt/glite/tmp template=/opt/lcg/etc/GlueCE.template template=/opt/lcg/etc/GlueCESEBind.template - ldif_file refers to a static ldif file that will be later created - generic_script shouldn't be changed wrt the value in the example files - wrapper_script refers to the script that will be later created, and which will be invoked by the CEMon software: the value for this attribute shouldn't be changed wrt the value in the example files - dynamic script for a PBS CE should be: dynamic_script=/opt/lcg/libexec/lcg-info-dynamic-pbs \ e.g.: dynamic_script=/opt/lcg/libexec/lcg-info-dynamic-pbs /opt/glite/etc/glite-ce-ce-plugin/lcg-info-generic.conf lxb2077.cern.ch - dynamic script for a LSF CE should be: dynamic_script=/opt/lcg/libexec/lcg-info-dynamic-lsf \ e.g.: dynamic_script=/opt/lcg/libexec/lcg-info-dynamic-lsf /usr/local/lsf/bin /opt/glite/etc/glite-ce-ce-plugin/lcg-info-generic.conf - dynamic script for a Condor CE should be: dynamic_script=/opt/lcg/libexec/lcg-info-dynamic-condor \ [central manager] e.g.: dynamic_script=/opt/lcg/libexec/lcg-info-dynamic-condor /usr/local/condor/bin /opt/glite/etc/glite-ce-ce-plugin/lcg-info-generic.conf - temp_path refers to a directory where some temp files are created This directory should be readable and writable to the user running tomcat (i.e. tomcat4) - template shouldn't be changed wrt the values in the example files After these definitions, what follows is a representation (in LDIF) of the CE information: these are static attributes (that can not be calculated dynamically by the info provider) or default values used if there is an error running the info provider. 3 - Execute: /opt/lcg/sbin/lcg-info-generic-config \ /opt/glite/etc/glite-ce-ce-plugin/lcg-info-generic.conf This will create the file (i.e. /opt/glite/etc/glite-ce-ce-plugin/out.ldif) and the file (i.e. /opt/glite/etc/glite-ce-ce-plugin/lcg-info-wrapper). The first one must be readable and the second one must be executable to the user running tomcat (i.e. tomcat4) 4 - Issue: ln -fs \ /opt/glite/etc/glite-ce-ce-plugin/glite-ce-info i.e.: ln -fs /opt/glite/etc/glite-ce-ce-plugin/lcg-info-wrapper \ /opt/glite/etc/glite-ce-ce-plugin/glite-ce-info