Meteo.see-grid-sci.eu VO support
From EGEE-see WIki
Contents |
Cluster Configuration for the meteo.see-grid-sci.eu VO
VOMS server certificates installation
Primary VOMS server certificate voms.grid.auth.gr can be installed according to the instructions at http://goc.grid.auth.gr/wiki/bin/view/AdminGuides/TransitionToNewVOMSCertificate
Secondary VOMS server voms.phy.bg.ac.yu certificate can be downloaded from http://voms.phy.bg.ac.yu/voms.phy.bg.ac.yu.119 and it should be installed in /etc/grid-security/vomsdir
site-info.def configuration
Add "meteo.see-grid-sci.eu" to the VOS variable:
VOS="ops dteam meteo.see-grid-sci.eu"
And meteo to QUEUES variable:
QUEUES="ops dteam meteo"
Finally enable the QUEUE to the VO Roles:
METEO_GROUP_ENABLE="meteo.see-grid-sci.eu /VO=meteo.see-grid-sci.eu/GROUP=/meteo.see-grid-sci.eu/ROLE=smanager"
vo.d directory configuration
Under the vo.d directory create a file with filename meteo.see-grid-sci.eu and add the following lines:
SW_DIR=$VO_SW_DIR/meteo DEFAULT_SE=$DPM_HOST QUEUES="meteo" VOMS_SERVERS="vomss://voms.grid.auth.gr:8443/voms/meteo.see-grid-sci.eu?/meteo.see-grid-sci.eu" VOMSES="'meteo.see-grid-sci.eu voms.grid.auth.gr 15150 /C=GR/O=HellasGrid/OU=auth.gr/CN=voms.grid.auth.gr meteo.see-grid-sci.eu' 'meteo.see-grid-sci.eu voms.phy.bg.ac.yu 15003 /C=RS/O=AEGIS/OU=Institute of Physics Belgrade/CN=host/voms.phy.bg.ac.yu meteo.see-grid-sci.eu'"
If you are using a classic SE you may also want to include the following line
VO_METEO_STORAGE_DIR=$CLASSIC_STORAGE_DIR/meteo
groups.conf configuration
"/VO=meteo.see-grid-sci.eu/GROUP=/meteo.see-grid-sci.eu/ROLE=smanager":::sgm: "/VO=meteo.see-grid-sci.eu/GROUP=/meteo.see-grid-sci.eu":::: "/VO=meteo.see-grid-sci.eu/GROUP=/meteo.see-grid-sci.eu/*"::::
users.conf configuration
Typically within the users.conf file you need to add a few sgm pool accounts and a few more regular pool accounts. A sample configuration for 200 regular pool accounts is the following one
40001:meteo001:40000:meteo:meteo.see-grid-sci.eu:: 40002:meteo002:40000:meteo:meteo.see-grid-sci.eu:: ... 40200:meteo200:40000:meteo:meteo.see-grid-sci.eu::
Similarly for 20 sgm pool accounts the configuration of the users.conf file should be similar to the following.
40901:sgmmeteo001:40090,40000:sgmmeteo,meteo:meteo.see-grid-sci.eu:sgm: 40902:sgmmeteo002:40090,40000:sgmmeteo,meteo:meteo.see-grid-sci.eu:sgm: ... 40920:sgmmeteo020:40090,40000:sgmmeteo,meteo:meteo.see-grid-sci.eu:sgm:
Environment variables (pre glite-3.1 only)
variables for DNS like VOs are not added to /etc/profile.d/lcgenv.sh so we create a new file /etc/profile.d/meteo.sh: Update: fixed enviroment variables (spotted also by Emmanouil)
WARNING: se01.afroditi.hellasgrid.gr must be substituted with your own storage element!
#!/bin/sh
if test "x${LCG_ENV_SET+x}" = x; then
export VO_METEO_SEE_GRID_SCI_EU_DEFAULT_SE=se01.afroditi.hellasgrid.gr
export VO_METEO_SEE_GRID_SCI_EU_SW_DIR=/opt/exp_soft/meteo
fi
