Difference between revisions of "Grid@Nikhef"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 7: Line 7:
  
 
Before you can create a VOMS proxy you need to copy some VOMS configuration files first:
 
Before you can create a VOMS proxy you need to copy some VOMS configuration files first:
   $ mkdir ~/.glite/vomses
+
   mkdir ~/.glite/vomses
   $ cd ~/.glite/vomses
+
   cd ~/.glite/vomses
   $ chmod 755 .
+
   chmod 755 .
   $ cp /global/ices/lcg/current/glite/etc/vomses/* .
+
   cp /global/ices/lcg/current/glite/etc/vomses/* .
 
After that, type
 
After that, type
 
   voms-proxy-init --voms <YOUR-VO>
 
   voms-proxy-init --voms <YOUR-VO>
to create a voms proxy:
+
to create a voms proxy. Sample output:
 
   $ voms-proxy-init -voms pvier:/pvier
 
   $ voms-proxy-init -voms pvier:/pvier
 
   Wrong ownership on file: /global/ices/lcg/glite3.0.21/glite/etc/vomses
 
   Wrong ownership on file: /global/ices/lcg/glite3.0.21/glite/etc/vomses
Line 35: Line 35:
  
 
Congratulations! You are now ready to submit jobs to the EGEE grid using
 
Congratulations! You are now ready to submit jobs to the EGEE grid using
   $ edg-job-submit
+
   edg-job-submit
   $ edg-job-status
+
   edg-job-status
   $ edg-job-get-output
+
   edg-job-get-output

Revision as of 11:13, 6 December 2007

The EGEE grid infrastructure can be accessed from any Nikhef desktop running Scientific Linux 3 or 4. In order to use the EGEE gLite grid middleware, type

 . /glocal/ices/lcg/current/etc/profile.d/grid-env.sh        ## bash/ksh/zsh

or

 source /glocal/ices/lcg/current/etc/profile.d/grid-env.csh  ## csh/tcsh

first. This will set up all required environment variables for running the gLite middleware commands.


Before you can create a VOMS proxy you need to copy some VOMS configuration files first:

 mkdir ~/.glite/vomses
 cd ~/.glite/vomses
 chmod 755 .
 cp /global/ices/lcg/current/glite/etc/vomses/* .

After that, type

 voms-proxy-init --voms <YOUR-VO>

to create a voms proxy. Sample output:

 $ voms-proxy-init -voms pvier:/pvier
 Wrong ownership on file: /global/ices/lcg/glite3.0.21/glite/etc/vomses
 Expected: either (0,0) or (UID, GID) = (0, 0)
 
 Enter GRID pass phrase:
 Your identity: /O=dutchgrid/O=users/O=nikhef/CN=Some User
 Wrong ownership on file: /global/ices/lcg/glite3.0.21/glite/etc/vomses
 Expected: either (0,0) or (UID, GID) = (0, 0)
 
 Creating temporary proxy .......................................... Done
 Contacting  voms.grid.sara.nl:30000
 [/O=dutchgrid/O=hosts/OU=sara.nl/CN=voms.grid.sara.nl] "pvier" Done
 Creating proxy
 ................................................................... Done
 Your proxy is valid until Fri Dec  7 00:08:49 2007

The warning

 Wrong ownership on file: /global/ices/lcg/glite3.0.21/glite/etc/vomses
 Expected: either (0,0) or (UID, GID) = (0, 0)

can be ignored. This is a feature of the voms software.

Congratulations! You are now ready to submit jobs to the EGEE grid using

 edg-job-submit
 edg-job-status
 edg-job-get-output