Main FTS Pages |
---|
FtsRelease22 |
Install |
Configuration |
Administration |
Procedures |
Operations |
Development |
Previous FTSes |
FtsRelease21 |
FtsRelease21 |
All FTS Pages |
FtsWikiPages |
Last Page Update |
GavinMcCance 2008-03-18 |
glite-sd2cache
tool now - see FtsServicesXmlGliteSd2Cache.
Obsoleted by Gavin McCance, March 2008.
services.xml
cache file at CERN. services.xml
information service cache file on the CERN FTS instance. There is
a general procedure as well. FtsServerServicesXml20.
cron
due to the high load it generates on the EGEE.BDII.
services.xml
file and make local copy.
cp -f /opt/glite/etc/services.xml /root/services.xml.oldMake sure you have the latest
make-services.sh
script from FtsServerServicesXml20.
Source the gLite environment:
. /etc/profileRun the script:
./make-services.sh --ftshost prod-fts-ws.cern.ch --oldxml /root/services.xml.old --serxml /root/services.xml --addvo ops --verbosethis 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 BDII timeout).
grep "<type>SRM</type>" /root/services.xml | wc -l grep "<type>SRM</type>" /root/services.xml.old | wc -lthe 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).
export GLITE_SD_SERVICES_XML=/root/services.xml glite-sd-query -t SRMIf this succeeds, then the file is correctly formatted. Otherwise, repeat the whole operation or contact
fts-support@cern.ch
.
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
/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:
cp -f /root/services.xml /afs/cern.ch/project/gd/SC3/SC4/services.xml/services-<cluster>-cluster.xmlwhere
is the cluster you are working with, i.e prod, pilot or tiertwo
wait one hour for the cron job above to run.
make-services.xml
tool is in FtsServerServicesXml20.