TWiki
>
LCG Web
>
LCGGridDeployment
>
LCGProductionServices
>
InstallationNodeWithQuattor
>
RBWMSMonitoringTool
(2007-02-16,
YvanCalas
)
(raw view)
E
dit
A
ttach
P
DF
---+++ RB/WMS Monitoring Tool In the following, I assume that: * %BLUE%lxb2007%ENDCOLOR% is a UI, and a HTTP server is running on it. * %BLUE%rb101%ENDCOLOR% is a gLite WMS or a LCG RB node. ---++++ Content of the tarball Monitoring.tar.gz The [[%ATTACHURL%/Monitoring.tar.gz][tarball]] must be installed on your HTTP server/UI (lxb2007 in this example). It contains: * _~/Monitoring/bin_: contains the bash script monitoring.sh executed to generate the HTML file containing the tables for the WMS and the gLite WMSLB, and the figures. * _~/Monitoring/cert_: contains the certificate and private key files (ie. hostcert.pem and hostkey.pem) for the host running the monitoring.sh script. * _~/Monitoring/data_: contains the data files collected from the gLite WMS and LCG RBs nodes. It also contains the gnuplot files generated during the execution of the monitoring.sh script. * _~/Monitoring/html_: contains the html files generated during the execution of the monitoring.sh script. * _~/Monitoring/images_: contains the images generated by gnuplot. * _~/Monitoring/sensors_: contains 3 files: * _monitoring_: it is the definition of a cron job which must be put in /etc/cron.d on the gLite WMSLB or LCG RB host. * _monitoring.sh_: This file must be put in the directory /root/Monitoring on the gLite WMSLB or LCG RB host. * _jobstreated.sh_: This file must be put in the directory /root/Monitoring on the gLite WMSLB or LCG RB host. ---++++ Configuration of the gLite WMS / LCG RBs nodes * File _/opt/edg/etc/grid-mapfile-local_ must contain the DN of the machine running the monitoring.sh (eg. "/C=CH/O=CERN/OU=GRID/CN=host/lxb2007.cern.ch" .dteam). The grid-mapfile must be regenerated as well: <verbatim> /opt/glite/yaim/scripts/run_function site-info.def config_mkgridmap </verbatim> This will allow the UI to do a globus-url-copy on all your gLite WMS / LCG RBs nodes. ---++++ Configuration of the HTTP server / UI node * Create directory /var/www/html/monitoring/ on the HTTP server (check the configuration of your server). * I put the content of the tarball in a local home directory (/home/yvan in my case). But it can be in /root as well... * I assume that user yvan can copy files in directory /var/www/html/monitoring. Modify file _/etc/sudoers_ by adding the following line: <verbatim> yvan ALL=(ALL) NOPASSWD: ALL </verbatim> * Edit file _~/Monitoring/bin/monitoring.sh_ and put the name of your own machines (cf variables list_RB and list_WMS). You can also put some comments for these names (see section "Define some string constants at the beginning" in the code). * You can configure a cron job to execute the monitoring.sh script on the UI. For the time being, I start the script with the following command: <verbatim> cd ~/Monitoring/bin nohup ./monitoring.sh & </verbatim> There is a 'sleep 7m' in this script, so this script is awaken every 7mn. If you want to make a cron job, you must remove this line... ---++++ Contact For more informations, please contact Yvan.Calas@cern.ch -- Main.YvanCalas - 16 Feb 2007
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2007-02-16
-
YvanCalas
Log In
LCG
LCG Wiki Home
LCG Web Home
Changes
Index
Search
LCG Wikis
LCG Service
Coordination
LCG Grid
Deployment
LCG
Apps Area
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Welcome Guest
Login
or
Register
Cern Search
TWiki Search
Google Search
LCG
All webs
Copyright &© 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback