fff_dqmtools
aka DQM^2.
Page with more information here.
Note
The makerpm.sh
script will only work on RHEL-like OSes (e.g. an RHEL8 OpenStack VM).
To run this script you will need to install rpmdevtools
and rpmlint
.
- Create an RPM by executing
./utils/makerpm.sh
in the repository's root folder.
Installation on P5 machines is done on the cmsdropboxcc8.cms
machine, using the dropbox2
command (see more information about the dropbox here) and an .rpm
archive, created using the ./utils/makerpm.sh
script.
This procedure applies the update to all of the DQM machines at once. You will need to be in the appropriate *_librarian
group. Open a ticket to CMSONS to be added to the group.
Procedure:
- Copy the
.rpm
you generated to a directory inside a dedicatated directory inside your home directory of the P5 cluster (e.g.,/nfshome0/<your username>/fff_dqmtools
). - Then:
ssh <your P5 username>cmsdropboxcc8.cms
sudo dropbox2 -z cms -o cc8 -s dqm -u /nfshome0/<your username>/fff_dqmtools/
Note
Once the operation completes, you will receive a report of what machines were updated.
Note
The fff_dqmtools
service is restarted after the rpm is reinstalled.
For the manual remote installation at P5, copy the source code and the built package and then execute: ./utils/install.py --remote <machine_name>
in the repository's root folder. This installation will be undone by puppet days/months later.
Openstack allows for great flexibility and access to CMSSW tools.
- Create an OpenStack machine (currently suggested image: RHEL8).
- Install
locmap
(see here). You now have CVMFS. - Install required tools (
yum install -y git gcc python38
). You might need toln -s /usr/bin/python3 ~/bin/python
. - Switch to your CERN user (
su <username
). - Clone
fff_dqmtools
. source /cvmfs/cms.cern.ch/cmsset_default.sh # You now have scram
- The openstack machine must have the SSH keys you use to authenticate with github (so that
scram
can do whatever needed to clone CMSSW). - Configure
git
(git config --global user.name
, as well asuser.email
).
You should now be ready to run cmssw_deploy
.
Create JSON report files in:
fff_dqmtools/applets/analyze_files.py
Line 100 in a62a1a3
fff_dqmtools/applets/fff_filemonitor.py
Line 181 in a62a1a3
fff_dqmtools/applets/fff_filemonitor.py
Line 82 in a62a1a3
fff_dqmtools/applets/fff_web.py
Line 462 in a62a1a3
fff_dqmtools/applets/fff_web.py
Line 148 in a62a1a3