How to check the DQM GUI services and restart them if needed ?
ANSWER:
Keep in mind that if a problem occurs in most cases the DQM GUI is working and the problem comes from somewhere else.
There are actually two DQM GUI servers:
- The online server running at dqm-C2D07-02
- The online server at P5 running at dqm-C2D07-01
For the online server you simply needs to do:
1. Visit the link
https://cmsweb.cern.ch/dqm/online
.
2. If the top frame of the Web page occurs then DQM GUI server is working OK and the problem is somewhere else.
For the online server at P5 you need to perform the following steps:
1.
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/
4. If the frame of the Web page occurs the DQM GUI server is working OK and the problem is somewhere else.
Anyway if you need to restart the DQM GUI server you can do the following:
1. Log in as a dqm user to the dqm machine where the problem with the DQM GUI is: // the machines are (dqm-C2D07-02 and dqm-C2D07-01)
ssh [MACHINE]
sudo -u dqm -H bash
2. The following will restart the Web server with the layouts:
for s in dqm-c2d07-{01,02,11};do
ssh $s '/home/dqmlocal/current/config/dqmgui/manage xrestart webserver "I did read documentation"'
done