Set Dataset Status in DBS

Note: need to add DN to grid-mapfile

Set dataset status in DBS3

  • 1) setup DBS3 env: source {your dbs3 installation directory}/dbs3-client/3.1.6a/etc/profile.d/init.sh
  • 2) setup Grid env: source /afs/cern.ch/project/gd/LCG-share/current_3.2/etc/profile.d/grid_env.sh (for FNAL: source /uscmst1/prod/grid/gLite_SL5.sh)
  • 3) get your voms proxy: voms-proxy-init -voms cms
  • 4) get the script to change dataset status in this directory: {your dbs3 installation directory}/dbs3-client/3.1.6a/examples/DBS3SetDatasetStatus.py
  • 5) ./DBS3SetDatasetStatus.py --url=https://cmsweb.cern.ch/dbs/prod/global/DBSWriter --status=PRODUCTION --recursive=False -d [dataset name]
  • 6) cross check dataset status in DBS3: https://cmsweb.cern.ch/dbs/prod/global/DBSWriter/datasets?dataset_access_type=*&detail=1&dataset=[dataset name]
Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt setDatasetStatus.py.txt r1 manage 1.1 K 2013-11-04 - 16:45 SiLiu  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2014-06-19 - MericTaze
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 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