Use the Grid

Once you have your certificate and you are registered to a VO, you are ready to submit jobs to the grid. To do this you must have an account on a UserInterface machine and you must copy there your personal certificate.

If you haven't already copied your certificate in the UserInterface, please get back to the document INFN-GRID personal certificates howto on the page Get your certificate.

 

 

Documentation

voms-proxy commands

voms-proxy-init -voms YOUR_VO (e.g. voms-proxy-init -voms bio)

 

instead of the traditional grid-proxy-init. Your certificate subject will not be listed anymore on CEs and SEs gridmapfiles (but it will be still needed on the ResourceBroker).

 

If you are a software manager use the syntax

 

voms-proxy-init -voms YOUR_VO:/YOUR_VO/Role=SoftwareManager

 

(e.g.: voms-proxy-init -voms bio:/bio/Role=SoftwareManager). Use the command:

 

voms-proxy-info -all

 

to see the VO credentials stored in your proxy.

 

myproxy commands

You may let the WMS contacts the myproxy server specified in your jdl in order to renew your credentials:

  • myproxy-init -d -n -R 'FQDN.OF.YOUR.WMS.SERVER'
  • voms-proxy-init -voms …
  • glite-wms-job-submit … … …

or if you need an always fresh voms-proxy for an automated tool, you may follow this simple receipt:

  • credentials generation (-R Allow specified entity (wms) to retrieve credential):
$ myproxy-init -d -R 'wms001.cnaf.infn.it'
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini 
Enter GRID pass phrase for this identity: 
Creating proxy .................................................... Done 
Proxy Verify OK 
Your proxy is valid until: Wed Jun  2 11:15:41 2010 
Enter MyProxy pass phrase: 
Verifying - Enter MyProxy pass phrase: 
A proxy valid for 168 hours (7.0 days) for user /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini now exists on myproxy.cnaf.infn.it. 

 

  • check the validity (a valid proxy is needed):
$ myproxy-info -d 
username: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini 
owner: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini 
  timeleft: 167:59:44  (7.0 days) 

 

  • voms credentials recover from myproxy server for a certain VO:
$ myproxy-logon -d --voms gridit 
Enter MyProxy pass phrase: 
Cannot find file or dir: /home/paolini/.glite/vomses 
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini/CN=proxy/CN=proxy/CN=proxy 
Creating temporary proxy ...................................................... Done 
Contacting  voms-01.pd.infn.it:15008 [/C=IT/O=INFN/OU=Host/L=Padova/CN=voms-01.pd.infn.it] "gridit" Done 
Creating proxy ............................... Done 
Your proxy is valid until Wed May 26 23:15:22 2010 
A credential has been received for user /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini in /tmp/x509up_u507. 
  • check their validity:
$ voms-proxy-info --all 
subject   : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini/CN=proxy/CN=proxy/CN=proxy/CN=proxy 
issuer    : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini/CN=proxy/CN=proxy/CN=proxy 
identity  : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini/CN=proxy/CN=proxy/CN=proxy 
type      : proxy 
strength  : 1024 bits 
path      : /tmp/x509up_u507 
timeleft  : 11:58:51 
=== VO gridit extension information === 
VO        : gridit 
subject   : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini 
issuer    : /C=IT/O=INFN/OU=Host/L=Padova/CN=voms-01.pd.infn.it 
attribute : /gridit/Role=NULL/Capability=NULL 
timeleft  : 11:58:51 

uri       : voms-01.pd.infn.it:15008 

Running Jobs How to run jobs on INFN-GRID

 

Running MPI jobs  How to run MPI jobs on INFN-GRID

 

Querying the Information System - How to query the Information System

 

Data Management - How to use the data management command-line tools to store, copy and delete files