Changes between Version 64 and Version 65 of gridCert


Ignore:
Timestamp:
19/10/2009 14:51:38 (15 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gridCert

    v64 v65  
    4141}}}
    4242 == Manipulation d'un proxy == [[BR]]Pour permettre à vos jobs de s'executer sur la grille, vous devez créer un ''proxy''.[[BR]]Un proxy est un fichier signé avec votre certificat qui est envoyé avec vos jobs. Les proxies sont valables pour une durée limitée, par défaut 12 heures.[[BR]][[BR]]
    43   * Création d'un proxy ATLAS
     43 ==== Cas général, VO ATLAS et VO LPSC  ====
     44 * Création d'un proxy ATLAS
    4445 {{{
    4546[lambert@lpsc-ui ~]$ voms-proxy-init --voms atlas
     
    6162[lambert@lpsc-ui ~]$ voms-proxy-destroy
    6263}}}
     64 ==== VO ALICE ====
     65 * Création d'un token et authentification
     66 Cette partie est l'équivalent ALICE d'un voms-proxy-init. Vous devez être en possession d'un certificat valide et être enregistré comme [wiki:accessGrid membre de la VO ALICE].
     67 {{{
     68sh-3.00$ alien-token-init flambert
     69---------------------------------------------------------------
     70Setting central config:
     71===============================================================
     72export alien_API_SERVER_LIST="pcapiserv01.cern.ch:10000|pcapiserv02.cern.ch:10000|pcapiserv04.cern.ch:10000"
     73export alien_API_PORT=10000
     74export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GSHELL_ROOT/lib
     75export TERMINFO=/usr/share/terminfo
     76===============================================================
     77*********************************************************************************
     78Attention: You don't have a valid grid proxy - doing grid-proxy-init for you ...
     79*********************************************************************************
     80Your identity: /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert
     81Enter GRID pass phrase for this identity:
     82Creating proxy ...................................... Done
     83Your proxy is valid until: Mon Oct 19 23:55:51 2009
     84=> Trying to connect to Server [0] http://pcapiserv01.cern.ch:10000 as User flambert
     85Your identity: flambert
     86Creating token ..................................... Done
     87Your token is valid until: Tue Oct 20 11:55:52 2009
     88
     89}}}
     90 Avec cette commande, vous créez un token qui vous permettra de vous authentifier sur la grille pour ALICE.[[BR]]
     91 Attention, votre compte local (lambert dans mon cas) ne correspond pas forcément à votre compte CERN (flambert ici), dans ce cas vous devez préciser votre login CERN après la commande alien-token-init.
     92 * Destruction du token
     93 {{{
     94[lambert@lpsc-ui ~]$ alien-token-destroy
     95}}}
    6396
    6497  == Proxy longue durée == [[BR]]Certains jobs mettent plus de temps à s'exécuter que la durée de validité du proxy initial. C'est pourquoi des mécanismes on été mis en place qui permettent a création de proxy de longue durée. En fait il s'agit d'un renouvèlement automatique de proxy.[[BR]]La variable d'environnement $MYPROXY_SERVER contient le serveur myproxy par défaut, si elle n'est pas définie, vous pouvez utiliseer l'option -s.