| 135 | === How to configure a EGI VO === |
| 136 | |
| 137 | For configuring a EGI VO such as ESR accessed through user grid interface, follow the below steps: |
| 138 | |
| 139 | 1. Configure the `esrVO` 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: |
| 140 | {{{ |
| 141 | #!sh |
| 142 | [user@mycomputer~]$ drm4g resource edit |
| 143 | [esrVO] |
| 144 | enable = true |
| 145 | communicator = local |
| 146 | username = user |
| 147 | frontend = ui.meteo.unican.es |
| 148 | lrms = cream |
| 149 | vo = esr |
| 150 | bdii = bdii.grid.sara.nl:2170 |
| 151 | myproxy_server = px.grid.sara.nl |
| 152 | }}} |
| 153 | 1. List and check if resource has been created successfully : |
| 154 | {{{ |
| 155 | #!sh |
| 156 | [user@mycomputer~]$ drm4g resource list |
| 157 | RESOURCE STATE |
| 158 | esrVO enabled |
| 159 | }}} |
| 160 | 1. List the CEs available on the `esr` VO: |
| 161 | {{{ |
| 162 | #!sh |
| 163 | [user@mycomputer~]$ drm4g host list |
| 164 | HID ARCH JOBS(R/T) LRMS HOST |
| 165 | 0 x86_64 0/0 cream-pbs esrVO::cream.afroditi.hellasgrid.gr |
| 166 | 1 x86_64 0/0 cream-pbs esrVO::ce1.ipgp.fr |
| 167 | 2 x86_64 0/0 cream-pbs esrVO::cr1.ipp.acad.bg |
| 168 | 3 x86_64 0/0 cream-pbs esrVO::sbgce2.in2p3.fr |
| 169 | 4 x86_64 0/0 cream-pbs esrVO::ce0.bordeaux.inra.fr |
| 170 | 5 x86_64 0/0 cream-pbs esrVO::cce.ihep.ac.cn |
| 171 | 6 x86_64 0/0 cream-pbs esrVO::ce02.ngcc.acad.bg |
| 172 | 7 x86_64 0/0 cream-pbs esrVO::ce01.macc.unican.es |
| 173 | 8 x86_64 0/0 cream-pbs esrVO::cygnus.grid.rug.nl |
| 174 | 9 x86_64 0/0 cream-pbs esrVO::t2ce06.physics.ox.ac.uk |
| 175 | 10 x86_64 0/0 cream-lsf esrVO::ce1.ts.infn.it |
| 176 | 11 x86_64 0/0 cream-lsf esrVO::gridce1.pi.infn.it |
| 177 | 12 x86_64 0/0 cream-lsf esrVO::gridce3.pi.infn.it |
| 178 | 13 x86_64 0/0 cream-pbs esrVO::cream02.grid.uoi.gr |
| 179 | 14 x86_64 0/0 cream-pbs esrVO::lapp-ce02.in2p3.fr |
| 180 | 15 x86_64 0/0 cream-pbs esrVO::grid002.jet.efda.org |
| 181 | 16 x86_64 0/0 cream-lsf esrVO::gridce4.pi.infn.it |
| 182 | 17 x86_64 0/0 cream-lsf esrVO::gridce0.pi.infn.it |
| 183 | 18 x86_64 0/0 cream-lsf esrVO::gridce2.pi.infn.it |
| 184 | 19 x86_64 0/0 cream-pbs esrVO::t2ce06.physics.ox.ac.uk |
| 185 | 20 x86_64 0/0 cream-pbs esrVO::grid0.fe.infn.it |
| 186 | 21 x86_64 0/0 cream-pbs esrVO::ce0.m3pec.u-bordeaux1.fr |
| 187 | 22 x86_64 0/0 cream-pbs esrVO::juk.nikhef.nl |
| 188 | 23 x86_64 0/0 cream-pbs esrVO::gridce.ilc.cnr.it |
| 189 | 24 x86_64 0/0 cream-lsf esrVO::cert-37.pd.infn.it |
| 190 | 25 x86_64 0/0 cream-pbs esrVO::cream-ce-2.ba.infn.it |
| 191 | 26 x86_64 0/0 cream-sge esrVO::cccreamceli09.in2p3.fr |
| 192 | 27 x86_64 0/0 cream-sge esrVO::cccreamceli10.in2p3.fr |
| 193 | 28 x86_64 0/0 cream-pbs esrVO::gazon.nikhef.nl |
| 194 | 29 x86_64 0/0 cream-pbs esrVO::klomp.nikhef.nl |
| 195 | 30 x86_64 0/0 cream-pbs esrVO::cream-ce-3.ba.infn.it |
| 196 | 31 x86_64 0/0 cream-pbs esrVO::cream-ce-4.ba.infn.it |
| 197 | 32 x86_64 0/0 cream-pbs esrVO::creamce.gina.sara.nl |
| 198 | 33 x86_64 0/0 cream-lsf esrVO::prod-ce-01.pd.infn.it |
| 199 | 34 x86_64 0/0 cream-pbs esrVO::creamce2.gina.sara.nl |
| 200 | 35 x86_64 0/0 cream-pbs esrVO::creamce3.gina.sara.nl |
| 201 | 36 x86_64 0/0 cream-slur esrVO::ce3.ui.savba.sk |
| 202 | 37 x86_64 0/0 cream-pbs esrVO::glite-cream.scai.fraunhofer.de |
| 203 | 38 x86_64 0/0 cream-pbs esrVO::cream-ce02.marie.hellasgrid.gr |
| 204 | 39 x86_64 0/0 cream-pbs esrVO::cream-ce01.marie.hellasgrid.gr |
| 205 | 40 x86_64 0/0 cream-pbs esrVO::fal-pygrid-44.lancs.ac.uk |
| 206 | 41 x86_64 0/0 cream-pbs esrVO::hepgrid6.ph.liv.ac.uk |
| 207 | 42 x86_64 0/0 cream-pbs esrVO::cream-ce01.ariagni.hellasgrid.gr |
| 208 | 43 x86_64 0/0 cream-pbs esrVO::snf-189278.vm.okeanos.grnet.gr |
| 209 | 44 x86_64 0/0 cream-pbs esrVO::snf-458754.vm.okeanos.grnet.gr |
| 210 | 45 x86_64 0/0 cream-pbs esrVO::hepgrid5.ph.liv.ac.uk |
| 211 | 46 x86_64 0/0 cream-pbs esrVO::cream01.kallisto.hellasgrid.gr |
| 212 | 47 x86_64 0/0 cream-pbs esrVO::hepgrid10.ph.liv.ac.uk |
| 213 | 48 x86_64 0/0 cream-pbs esrVO::hepgrid97.ph.liv.ac.uk |
| 214 | }}} |
| 215 | 1. Create an identity for 7 days: |
| 216 | {{{ |
| 217 | #!sh |
| 218 | [user@mycomputer~]$ drm4g id esrVO init |
| 219 | drm4g id esrVO init |
| 220 | Starting ssh-agent ... |
| 221 | WARNING: ssh-agent is already running |
| 222 | --> Add '/home/user/.ssh/id_rsa' into ssh-agent for 168 hours |
| 223 | Lifetime set to 7 days, 0:00:00 |
| 224 | --> Copy '/home/user/.ssh/id_rsa' to ~/.ssh/authorized_keys file on 'mar.meteo.unican.es' |
| 225 | WARNING: It is assumed that the grid certificate has been already configured |
| 226 | --> Creating '~/.drm4g/security' directory to store the proxy ... |
| 227 | Starting ssh-agent ... |
| 228 | WARNING: ssh-agent is already running |
| 229 | --> Create a local proxy credential ... |
| 230 | Insert your Grid password: |
| 231 | Your identity: /DC=es/DC=irisgrid/O=unican/CN=user |
| 232 | Creating proxy ........................................................................................... Done |
| 233 | Proxy Verify OK |
| 234 | Your proxy is valid until: Thu Feb 26 21:37:19 2015 |
| 235 | Your identity: /DC=es/DC=irisgrid/O=unican/CN=user |
| 236 | Creating proxy .................................................................... Done |
| 237 | Proxy Verify OK |
| 238 | A proxy valid for 168 hours (7.0 days) for user /DC=es/DC=irisgrid/O=unican/CN=user now exists on px.grid.sara.nl. |
| 239 | }}} |
| 240 | 1. Check the timeleft of your identity: |
| 241 | {{{ |
| 242 | #!sh |
| 243 | [user@mycomputer~]$ drm4g id esrVO info |
| 244 | --> Grid credentials |
| 245 | subject : /DC=es/DC=irisgrid/O=unican/CN=user/CN=proxy/CN=proxy |
| 246 | issuer : /DC=es/DC=irisgrid/O=unican/CN=user/CN=proxy |
| 247 | identity : /DC=es/DC=irisgrid/O=unican/CN=user |
| 248 | type : full legacy globus proxy |
| 249 | strength : 2048 bits |
| 250 | path : /home/user/.drm4g/security/px.grid.sara.nl |
| 251 | timeleft : 167:57:52 (7.0 days) |
| 252 | }}} |
| 253 | |
| 254 | That's it! Now, you can summit jobs to the `esr` VO. Keep in mind that you will have to renew your identity depending on the `proxy-lifetime` used. |