Check Certificate UIs

From T2B Wiki
Revision as of 16:07, 5 November 2015 by ROMAIN ROUGNY rrougny@vub.ac.be (talk | contribs) (Created page with "=== We are going to check the following:=== # You can create a proxy using your certificate, which means it is registered to the VO cms # We can extract your username from sit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

We are going to check the following:

  1. You can create a proxy using your certificate, which means it is registered to the VO cms
  2. We can extract your username from siteDB based on your certificate.
  3. You have write access to the T2_BE_IIHE

All the commands below need to be executed on an UI (mX machine). This requires your certificate is correctly installed there ( check here for all the steps, although it should already have been done).


1. Checking you can get a proxy with your certificate

voms-proxy-init

should give you

Enter GRID pass phrase for this identity:

Created proxy in /tmp/x509up_u20522.

Your proxy is valid until Fri Nov 06 04:33:33 CET 2015

if not, then first check with the error message if you can't fix it (check -again- all the steps to install the p12 on the UIs have been followed), or send us a mail with the content of the error message.


2. Extraction of your username from siteDB

For this, we are going to use crab3. Source the init script to enable crab3:

source /cvmfs/cms.cern.ch/crab3/crab.sh

then do:

crab checkusername

It should print your DN, as well as your username.
If it doesn't work, make sure all the steps here have been followed.


3. Test write access to T2_BE_IIHE

Again, using crab3:

crab checkwrite --site=T2_BE_IIHE

It should give you the following

 Checkwrite Result:
  Success: Able to write in /store/user/rougny on site T2_BE_IIHE

If it doesn't work and all previous steps are fine, then send us an email with your DN, we will make sure it matches what we have.



You should now be able to submit grid jobs ! Congratulations !!
And that's the end of the story ...