-- StuartPaterson - 09 Sep 2008

dirac-admin-get-site-protocols

This script can be used to show the list of protocols supplied to SRM for a given site (normally this means Tier-1 sites). If no special setting is specified for a given SE then the default list of protocols is displayed.

dirac-admin-get-site-protocols

Usage: dirac-admin-get-site-protocols --Site=<DIRAC SITE NAME> [Try -h,--help for more information]

An example:

dirac-admin-get-site-protocols --Site=LCG.NIKHEF.nl


Summary of protocols for StorageElements at site LCG.NIKHEF.nl

StorageElement               ProtocolsList                 

NIKHEF-DST                    dcap, gsidcap, root, rfio, file
NIKHEF-tape                   dcap, gsidcap, root, rfio, file
NIKHEF_M-DST                  dcap, gsidcap, root, rfio, file
NIKHEF_MC-DST                 dcap, gsidcap, root, rfio, file
NIKHEF-RAW                    dcap, gsidcap, root, rfio, file
NIKHEF-USER                   dcap, gsidcap, root, rfio, file
NIKHEF_MC_M-DST               dcap, gsidcap, root, rfio, file
NIKHEF-disk                   dcap, gsidcap, root, rfio, file
NIKHEF-FAILOVER               dcap, gsidcap, root, rfio, file
NIKHEF-RDST                   dcap, gsidcap, root, rfio, file

dirac-admin-set-site-protocols

This script allows to set the site protocols list for all SEs at the site (you must have a proxy with the diracAdmin role for the commit to be successful):

dirac-admin-set-site-protocols

Usage: dirac-admin-set-site-protocols <PROTOCOL> [<PROTOCOL>] --Site=<DIRAC SITE NAME> [Try -h,--help for more information]

An example:

dirac-admin-set-site-protocols root dcap gsidcap rfio file --Site=LCG.NIKHEF.nl

Do you want to add the following default protocols: root, dcap, gsidcap, rfio, file for SE(s):
NIKHEF-RAW, NIKHEF-DST, NIKHEF_M-DST, NIKHEF-USER, NIKHEF-FAILOVER, NIKHEF-disk, 
NIKHEF-tape, NIKHEF-RDST, NIKHEF_MC_M-DST, NIKHEF_MC-DST [yes/no] : y
Successfully committed changes to CS

After a successful commit you can use the above script to check for the expected results e.g.

dirac-admin-get-site-protocols --Site=LCG.NIKHEF.nl


Summary of protocols for StorageElements at site LCG.NIKHEF.nl

StorageElement               ProtocolsList                 

NIKHEF-DST                    root, dcap, gsidcap, rfio, file
NIKHEF-tape                   root, dcap, gsidcap, rfio, file
NIKHEF_M-DST                  root, dcap, gsidcap, rfio, file
NIKHEF_MC-DST                 root, dcap, gsidcap, rfio, file
NIKHEF-RAW                    root, dcap, gsidcap, rfio, file
NIKHEF-USER                   root, dcap, gsidcap, rfio, file
NIKHEF_MC_M-DST               root, dcap, gsidcap, rfio, file
NIKHEF-disk                   root, dcap, gsidcap, rfio, file
NIKHEF-FAILOVER               root, dcap, gsidcap, rfio, file
NIKHEF-RDST                   root, dcap, gsidcap, rfio, file
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2008-09-09 - StuartPaterson
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb 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