Alca DQM upload script

Overview

The script intends to help a user doing the upload of DQM files to the DQM server. The script does some very basic checks on the filename, it checks the existence of a grid proxy and then uploads the script. It also registers the file, so you can see it here: overview of uploaded files The script is a fork of visDQMUpload and runs as a stand-alone executable (tested under slc5). Feel free to give feedback!

Naming convention

tbd

Command line options

Getting Started

You can retrieve the file from cvs within a CMSSW environment with
cvs co Calibration/Tools/scripts/alcaDQMUpload.py
or directly via

http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/Calibration/Tools/scripts/alcaDQMUpload.py?revision=1.1

Info The script itself doesn't need a CMSSW environment to run.

Basic Usage

The script expects the server address and the file as options and arguments, i.e.
./alcaDQMUpload.py -d https://cmsweb.cern.ch/dqm/dev/ DQM_V0001_R000133521__MinimumBias__Commissioning10-Apr20ReReco-v1__RECO.root
would be an appropriate call of the script.

Tags

The web interface can group upload by tags. Tags can be defined as a comma separated list:
./alcaDQMUpload.py -t minbias,dqm,apr20 -d https://cmsweb.cern.ch/dqm/dev/ DQM_V0001_R000133521__MinimumBias__Commissioning10-Apr20ReReco-v1__RECO.root
You can use any combination of alpha numerical characters.

Authentication

The script scans $X509_ environment variables and ~/.globus/ for grid certificates automatically. You can override this automatic search with
      --ssl-key-file <location of your private key>
      --ssl-cert-file <location of your public key>

Debug Options

  • You can by-pass the file name check with --no-filename-check, use this option only if you are very sure
  • You can suppress the actual submission with -s or --no-submission
  • You can suppress the registration at the monitoring site with -r or --no-registration

todo

  • tests

-- ManuelZeise

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt alcaDQMUpload.py.txt r2 r1 manage 11.2 K 2010-06-16 - 09:42 ManuelZeise Alca DQM upload script
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r11 - 2010-07-10 - ManuelZeise
 
    • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback