CDR Setup - PADME-Experiment/padme-fw GitHub Wiki
- The CDR Data Servers
- The CDR Central Server
- CDR Setup
- Starting the CDR service
- Stopping the CDR service
- GRID Proxies
- CDR Tools
These are the steps required for a user to run the PADME CDR on padmeui:
- Obtain a personal account from the INFN LNF computing services: this is needed for any computing-related activities at LNF and is mandatory to take shifts and access the PADME DAQ system.
- Apply for a personal account on padmeui by sending an e-mail to the Tier2 manager Elisabetta Vilucchi. In your e-mail you must specify who you are and why you need the account on the node.
- Make sure you have a GRID-enabled personal certificate and that this certificate is registered to the PADME VO, as described in The PADME VO.
- Logon padmeui, create the
.globus
directory in your home directory, and copy there your GRID-enabled certificate. If it is in P12 format, you must extract the certificate and key files with the following commands (assuming that the P12 certificate file is calledmyCert.p12
):
openssl pkcs12 -in myCert.p12 -clcerts -nokeys -out $HOME/.globus/usercert.pem
openssl pkcs12 -in myCert.p12 -nocerts -out $HOME/.globus/userkey.pem
- Install the special ssh public and private keys for CDR in the .ssh directory (ask Emanuele for the files)
cp id_rsa_cdr $HOME/.ssh
cp id_rsa_cdr.pub $HOME/.ssh
These keys are needed to access the daq account on the PADME DAQ data servers and the PADME account pdm on the KLOE tape library.
- Get the latest version of the PADME software framework from the github repository and select the develop branch
git clone https://github.com/PADME-Experiment/padme-fw $HOME/padme-fw
cd $HOME/padme-fw
git checkout develop
- Create a cdr directory where all CDR-related activities will take place and add a few needed subdirs and links:
mkdir $HOME/cdr
cd $HOME/cdr
mkdir run log
ln -s $HOME/padme-fw/PadmeCDR/code/PadmeCDR.py PadmeCDR
ln -s $HOME/padme-fw/PadmeCDR/code/CDRMonitor.py CDRMonitor
ln -s $HOME/padme-fw/PadmeCDR/tools/VerifyRunsToRemove.py VerifyRunsToRemove
ln -s $HOME/padme-fw/PadmeCDR/tools/VerifyRun.py VerifyRun
- The system is now ready. All CDR activities will take place from within the cdr directory.