TWiki
>
LCG Web
>
FtsWlcg
>
FtsRelease20
>
FtsProcedures20
>
FtsServerServicesXml20
>
FtsTier0ProceduresServiceXml20
(revision 1) (raw view)
Edit
Attach
PDF
---+ !FTS =services.xml= cache file at CERN. ---++ What is it? This is the procedure for creating or updating the =services.xml= information service cache file on the CERN !FTS instance. There is a general procedure as well. FtsServerServicesXml20. ---++ When to use it? When a new SRM server has been added to !EGEE.BDII and you want to include it in the cache. The script is not run by =cron= due to the high load it generates on the !EGEE.BDII. ---++ Updating the services.xml file. Start on one of the agent boxes and take the current =services.xml= file and make local copy. <verbatim> cp -f /opt/glite/etc/services.xml /root/services.xml.old </verbatim> Make sure you have the latest =make-services.sh= script from FtsServerServicesXml20. Source the gLite environment: <verbatim> . /etc/profile </verbatim> Run the script: <verbatim> ./make-services.sh --ftshost prod-fts-ws.cern.ch --oldxml /root/services.xml.old --serxml /root/services.xml --addvo ops --verbose </verbatim> this will use the default global LCG !EGEE.BDII (=lcg-bdii.cern.ch=) and the default !MyProxy server =myproxy-fts.cern.ch=. It will add in the =ops= VO to all SRMs (if not published properly by the storage elements). If this command fails, run it again (likely issue is EGEE.BDII timeout). ---+++ Verification First count the number of SRMs: <verbatim> grep "<type>SRM</type>" /root/services.xml | wc -l grep "<type>SRM</type>" /root/services.xml.old | wc -l </verbatim> the first number (from the new file) should be greater (or equal) than the second (because the script always adds SRMs keeping the old definitions at the end of the file; it will never remove them). <verbatim> export GLITE_SD_SERVICES_XML=/root/services.xml glite-sd-query -t SRM </verbatim> If this succeeds, then the file is correctly formatted. Otherwise, repeat the whole operation or contact =fts-support@cern.ch=. ---+++ Deployment The following files are the master =services.xml= files for prod, tiertwo and pilot FTS clusters. * =/afs/cern.ch/project/gd/SC3/SC4/services.xml/services-prod-cluster.xml= * =/afs/cern.ch/project/gd/SC3/SC4/services.xml/services-tiertwo-cluster.xml= * =/afs/cern.ch/project/gd/SC3/SC4/services.xml/services-pilot-cluster.xml= A Quattor managed cron runs on each of the agents =/etc/cron.d/fts-cron-in-services-xml.ncm-cron.cron= that copies in this file to =/opt/glite/etc/services.xml= if the destination is missing or older than the source. The cron currently runs once per hour. Make the backup of the new file in !AFS: <verbatim> cp -f /root/services.xml /afs/cern.ch/project/gd/SC3/SC4/services.xml/services-<cluster>-cluster.xml </verbatim> where =<cluster>= is the cluster you are working with, i.e prod, pilot or tiertwo wait one hour for the cron job above to run. ---+++ Update the Wiki page example file Put the new file as an attachement on FtsServerServicesXml20. This will make sure that the example file is always up to date. ---+++ Notes The general description of the =make-services.xml= tool is in FtsServerServicesXml20. ---- Maintainer: Main.GavinMcCance ----
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r5
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2007-04-13
-
SteveTraylen
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
Altair
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-2022 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