ssh [USERNAME]@cmsusr -D [PORT] (ie. ssh batinkov@cmsusr -D 12345) // connect to P5 network.
ssh -L 11080:localhost:[PORT] [USERNAME]@lxplus.cern.ch ssh cmsusr -D [PORT]
ssh [USERNAME]@cmsusr -D [PORT] [MACHINE] (ie. ssh batinkov@cmsusr -D 12345 cmsusr) // connect to P5 network.
2. Configure your browser to use SOCKS 5 proxy and tunnel the traffic via the ssh connection from in step 1, where the target port is 12345.
3. http://dqm-prod-local:8030/dqm/online/ssh [MACHINE]
sudo -u dqm -H bash
for s in dqm-c2d07-{01,02,11};do ssh $s '/home/dqmlocal/current/config/dqmgui/manage xrestart webserver "I did read documentation"' done
ssh -l [USER] -L [PORT1]:localhost:[PORT2] lxplus.cern.ch -t ssh -l [USER] -D [PORT2] cmsusr1
(ie. ssh -l rovere -L 11080:localhost:11081 lxplus.cern.ch -t ssh -l rovere -D 11081 cmsusr1)
2. Connect to any dqm machine:
ssh dqm-c2d07-29
3. Check which application is running on which machine:
~dqmpro/bin/ExtractAppInfoFromXML -spa ~dqmpro/xml/Production/CurrentConfiguration_524p4.xml | awk -F " " '{if (a!=$1){print $1 ":\n " $2" "$3;a=$1}else{print " "$2""$3}}'
for the playback machines:
~dqmdev/bin/ExtractAppInfoFromXML -spa ~dqmdev/xml/Integration/CurrentConfiguration_524p4.xml | awk -F " " '{if (a!=$1){print $1 ":\n " $2" "$3;a=$1}else{print " "$2""$3}}'
~dqmpro/bin/ExtractAppInfoFromXML -spa ~dqmpro/xml/Production/CurrentConfiguration_524p4.xml | awk '{print $0" URL --> http://"$1":"$2"/urn:xdaq-application:lid=50"}'
for the playback machines:
~dqmdev/bin/ExtractAppInfoFromXML -spa ~dqmdev/xml/Integration/CurrentConfiguration_524p4.xml | awk '{print $0" URL --> http://"$1":"$2"/urn:xdaq-application:lid=50"}'
Note that the above commands won't give you the actual status of the applications, but only will show you a list of all DQM applications and the corresponding machine and port where it should run.
Now when you have the list of the running application (and probably the corresponding URLs) you can check the status of the applications via web browser or via terminal.
4. Via Web browser:
about:config
, set network.proxy.socks_remote_dns to true.
ssh [MACHINENAME]
ps -u dqmpro -F
cd ~dqmpro/prod/src/DQM/Integration/python/test
less specific_file.py
ssh dqm-c2d07-02 or dqm-c2d07-01
sudo -u dqm -H bash
4. Clean the blacklisted file:
cat /dev/null > /home/dqmlocal/state/dqmgui/online/blacklist.txt
5. Restart the DQM GUI Web server and then check the status:
/home/dqmlocal/current/config/dqmgui/manage xrestart webserver "I did read documentation"
6.Again check the DQM GUI server to be sure that everything is OK.
ssh [MACHINE_NAME] 'df -h' ssh dqm-prod-local 'df -h' - for the online DQM GUI at P5 ssh dqm-prod-offsite 'df -h' - for the online DQM GUI ssh dqm-test 'df -h' - for the test machine ssh dqm-c2d07-11 'df -h' - for the playback GUI machine
I![]() |
Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
tunnelCMS | r1 | manage | 0.1 K | 2012-08-03 - 16:24 | VolkerAdler | |
![]() |
tunnelRemoteCMS | r1 | manage | 0.2 K | 2012-08-03 - 16:24 | VolkerAdler | |
![]() |
bookmarksCMS.html | r1 | manage | 23.1 K | 2012-08-03 - 16:24 | VolkerAdler |