This is a page that simply reminds me how to get the CMSSW DQM GUI up and running

Getting Started

First one needs to have an output DQM file. This will be a root file with the form DQM_V0001_$SubdetectorName_R$runNumber.root. Then in order to get the GUI going follow the steps below.

Running the GUI

ssh -l jgomez2 -L 22117:localhost:8070 lxplus.cern.ch -t ssh -l jgomez2 -D 8070 lxplus305.cern.ch

This command does not have to be lxplus305, that is simply an arbitrary host, the key part is that you are doing port forwarding on your login. You can check if anyone is using the current node you are logged into by typing ==ps aux | grep dqmgui

cd /tmp/jgomez2

mkdir testGui

cd testGui

git clone git://github.com/dmwm/deployment.git

$PWD/deployment/Deploy -R cmsweb@HG1211g -t MYDEV -s "prep sw post" $PWD dqmgui/bare

Here we have now downloaded and deployed the GUI. Now lets make sure we are in bash and set up the environment.

bash

source $PWD/current/apps/dqmgui/etc/profile.d/env.sh

visDQMIndex add --dataset /Global/Online/ALL $PWD/state/dqmgui/online/ix/ /afs/cern.ch/user/j/jgomez2/public/DQM_V0001_Hcal_R000150436.root

Where flavor must be specified and the directory of your rootfile.

Lastly, we have to start it.

$PWD/current/config/dqmgui/manage -f online start  "I did read documentation"

Making Changes

Applying specific kinds of changes are below, once those changes are done continue following here:

Once changes are made and saved, do the following re-deployment steps.

cd /tmp/jgomez2/testGui

$PWD/deployment/Deploy -R cmsweb@HG1212d -t MYDEV -s sw $PWD dqmgui/bare

$PWD/current/config/dqmgui/manage -f online stop  "I did read documentation"

$PWD/current/config/dqmgui/manage -f online start  "I did read documentation"

Then open up the GUI in your browser.

Layouts

cd deployment/dqmgui/layouts

rm hcal-layouts.py

cp /afs/cern.ch/user/j/jgomez2/public/hcal-layouts.py .

Render Plugins

cd /tmp/jgomez2/testGui/deployment/dqmgui/style

rm HcalRenderPlugin.cc

cp /afs/cern.ch/user/j/jgomez2/public/HcalRenderPlugin.cc .

Opening the GUI in your browser

One must be careful when they are doing this step as their Internet connection may die out.

When the server is started you can start using it right away. Here is how it is done: 1 - Firefox: Edit -> Preferences -> Advanced -> Network -> Settings

2 - Enter the settings from the attached picture firefox_config.jpg

3 - Open a new tab and type about:config as URL (then click I'll be careful, I promise!).

4 - Find the line called network.proxy.socks_remote_dns (the value should be False). Change it to True by double clicking on it.

6 - Restart the browser and you are done. You can start playing with the GUI.

7 - Use lxplus305.cern.ch:8070/dqm/online-dev

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg firefox_config.jpg r1 manage 112.9 K 2013-01-04 - 18:59 JaimeGomez  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2013-01-14 - JaimeGomez
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback