WikiPrint - from Polar Technologies

How to configure an IBERGRID VO

For configuring an IBERGRID VO accessed through user grid interface, follow the following steps:

  1. Configure the iberVO resource. If the grid user interface has defined LCG_GFAL_INFOSYS and MYPROXY_SERVER variables, you do not have to indicate bdii and myproxy_server keys in your configuration:
    [user@mycomputer~]$ drm4g resource edit
    [iberVO]
    enable         = true
    communicator   = local
    username       = user
    frontend       = ui.meteo.unican.es
    lrms           = cream
    vo             = iber.vo.ibergrid.eu
    bdii           = topbdii.egi.cesga.es:2170
    myproxy_server = myproxy.egi.cesga.es
    
  2. List and check if the resource has been created successfully :
    [user@mycomputer~]$ drm4g resource list
    RESOURCE            STATE               
    iberVO              enabled
    
  3. Create an identity for 7 days:
    [user@mycomputer~]$ drm4g id iberVO init
    --> Create a local proxy credential ... 
    Insert your Grid password: 
    Your identity: /DC=es/DC=irisgrid/O=unican/CN=user
    Creating proxy ........................................................................................... Done
    Proxy Verify OK
    Your proxy is valid until: Tue Feb 14 12:21:59 2017
    Your identity: /DC=es/DC=irisgrid/O=unican/CN=user
    Creating proxy .................................................................... Done
    Proxy Verify OK
    A proxy valid for 168 hours (7.0 days) for user /DC=es/DC=irisgrid/O=unican/CN=user now exists on myproxy.egi.cesga.es.
    
  4. Check the timeleft of your identity:
    [user@mycomputer~]$ drm4g id iberVO info 
    --> Grid credentials
    subject  : /DC=es/DC=irisgrid/O=unican/CN=user/CN=proxy/CN=proxy
    issuer   : /DC=es/DC=irisgrid/O=unican/CN=user/CN=proxy
    identity : /DC=es/DC=irisgrid/O=unican/CN=user
    type     : full legacy globus proxy
    strength : 2048 bits
    path     : /home/user/.drm4g/security/myproxy.egi.cesga.es
    timeleft : 167:30:49  (7.0 days)
    
  5. List the CEs (Compute Elements) available on the iber.vo.ibergrid.eu VO:
    [user@mycomputer~]$ drm4g host list
    HID ARCH       JOBS(R/T) LRMS       HOST
    0   x86_64           0/0 cream-pbs  iberVO::ce02.up.pt  
    1   x86_64           0/0 cream-pbs  iberVO::ce01.up.pt  
    3   x86_64           0/0 cream-pbs  iberVO::ce03.ific.uv.es
    4   x86_64           0/0 cream-pbs  iberVO::ce01.macc.unican.es
    5   x86_64           0/0 cream-pbs  iberVO::grid001.fc.up.pt
    6   x86_64           0/0 cream-pbs  iberVO::grid001.fe.up.pt
    7   x86_64           0/0 cream-pbs  iberVO::golp-ce.ist.utl.pt
    8   x86_64           0/0 cream-sge  iberVO::ce.ceta-ciemat.es
    9   NULL             0/0 cream-pbs  iberVO::creamce03.ciemat.es
    10  NULL             0/0 cream-pbs  iberVO::creamce02.ciemat.es
    11  x86_64           0/0 cream-sge  iberVO::ce06.ncg.ingrid.pt
    12  x86_64           0/0 cream-sge  iberVO::cream.egi.cesga.es
    

That's it! Now, you can summit jobs to the iber.vo.ibergrid.eu VO. Keep in mind that you will have to renew your identity depending on the proxy-lifetime used.