- Entrar a una cuenta personal en nyx
ssh user@nyx.fis.puc.cl
- Instalar certificado digital personal en nyx.fis.puc.cl
As a user (not root), create a .globus directory in your home directory.
# mkdir $HOME/.globus
Copy your grid certificate (*.p12 file) to your home area and install it in the ".globus" directory with the following commands:
# openssl pkcs12 -in cert.p12 -clcerts -nokeys -out $HOME/.globus/usercert.pem
# openssl pkcs12 -in cert.p12 -nocerts -out $HOME/.globus/userkey.pem
You will be prompted for the password you used when backing up the certificate from your browser. You will also be asked to set a new password to be used every time you create a proxy certificate. Set the access mode on your userkey.pem and usercert.pem files. The user should be the only one who can read userkey.pem
# chmod 644 $HOME/.globus/usercert.pem
# chmod 400 $HOME/.globus/userkey.pem
- Ejecutar los siguientes comandos
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
- Setup DQ2
localSetupDQ2Client
(Responder "yes" o "y" a las preguntas)
- Crear un proxy del certificado
voms-proxy-init -voms atlas
(usar la contraceña que se eligio para el proxy "PEM password")
- Mirar el contenido de un dataset
dq2-ls -f data12_8TeV.00204668.physics_Egamma.merge.DAOD_ZEE.r5723_p1758_r5723_p1751/
- Bajar un archivo
Normalmente este comando debiera funcionar, pero por alguna razon no lo hace en nyx.
dq2-get -f DAOD_ZEE.01574320._000003.pool.root.1 data12_8TeV.00204668.physics_Egamma.merge.DAOD_ZEE.r5723_p1758_r5723_p1751/
por lo que baje el archivo usando RUCIO. Por lo que en vez de usar "localSetupDQ2Client" hay que usar el siguiente comando
localSetupRucioClients
voms-proxy-init -voms atlas
rucio list-files data12_8TeV.00204668.physics_Egamma.merge.DAOD_ZEE.r5723_p1758_r5723_p1751_tid01574320_00
rucio download data12_8TeV.00204668.physics_Egamma.merge.DAOD_ZEE.r5723_p1758_r5723_p1751_tid01574320_00
--
MarceloVogel - 2015-04-14