Basic Grid Computing Commands#
This document assumes you already have a correctly installed grid certificate.#
Using your certificate#
To create a CMS grid proxy:#
Log into lxplus or one of the HEP login servers: ssh login.hep.wisc.edu#
-
Run voms-proxy-init:#
voms-proxy-init -rfc -valid 144:00 -voms cms Enter GRID pass phrase: Your identity: /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=cvuosalo/CN=708697/CN=Carl Vuosalo Creating temporary proxy ......................... Done Contacting voms2.cern.ch:15002 [/DC=ch/DC=cern/OU=computers/CN=voms2.cern.ch] "cms" Done Creating proxy ........................................................................ Done Your proxy is valid until Tue Dec 22 15:35:13 2020
-
To check your proxy:#
voms-proxy-info -all subject : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=cvuosalo/CN=708697/CN=Carl Vuosalo/CN=236062654 issuer : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=cvuosalo/CN=708697/CN=Carl Vuosalo identity : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=cvuosalo/CN=708697/CN=Carl Vuosalo type : RFC compliant proxy strength : 1024 bits path : /tmp/x509up_u4072 timeleft : 143:58:42 key usage : Digital Signature, Key Encipherment === VO cms extension information === VO : cms subject : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=cvuosalo/CN=708697/CN=Carl Vuosalo issuer : /DC=ch/DC=cern/OU=computers/CN=voms2.cern.ch attribute : /cms/Role=NULL/Capability=NULL attribute : /cms/uscms/Role=NULL/Capability=NULL timeleft : 143:58:41 uri : voms2.cern.ch:15002
Note that your grid proxy is valid for the time given by the “-valid” parameter. In this example, the period is 144 hours (6 days). If your jobs have to continue running past the expiration time, you will need to renew your proxy before the time runs out.#
For more details, including how to manage files in HDFS, see our FAQ.#