Difference between revisions of "Adding a new VO"
Line 32: | Line 32: | ||
== Add the VO configuration to Quattor profiles == | == Add the VO configuration to Quattor profiles == | ||
− | All modifications to the Quattor set up are located in the template hierarchy under the facility-specific directory <tt>$L/cfg/facility/''facility-name''</tt> where <tt>$L</tt> points to the <tt>conf</tt> directory under the Quattor root directory. Unless specified differently, all files mentioned here are relative to the facility-specific directory. | + | All modifications to the Quattor set up are located in the template hierarchy under the facility-specific directory <tt>$L/cfg/facility/''facility-name''</tt> where <tt>$L</tt> points to the <tt>conf-ns</tt> directory under the Quattor root directory. Unless specified differently, all files mentioned here are relative to the facility-specific directory. |
− | ''' | + | '''grid/vo/params/''voname''.tpl''' |
Configuration of VO settings like the VOMS server, contents for the vomses file, location of the software installation directory, the default storage element etc. It is recommended to copy an existing template, rename it and customize its contents. | Configuration of VO settings like the VOMS server, contents for the vomses file, location of the software installation directory, the default storage element etc. It is recommended to copy an existing template, rename it and customize its contents. | ||
− | ''' | + | '''facility/''facility-name''/local/pro_config_lcg2_site.tpl''' |
− | + | This file defines variable VOS, which is a list of all supported VO names. | |
+ | Also, the name of the VOMS server can be added to variable VOMS_SERVER_CERTIFICATES to isntall the certificate for the VOMS server. | ||
− | ''' | + | '''facility/''facility-name''/local/pro_config_yaim_users.tpl''' |
Add 1 line per pool account group associated with the VO to the definition of variable <tt>USERSCONF</tt>. This line should refer to the first pool account in the group only (because we do not use Yaim to create these users). | Add 1 line per pool account group associated with the VO to the definition of variable <tt>USERSCONF</tt>. This line should refer to the first pool account in the group only (because we do not use Yaim to create these users). | ||
+ | |||
+ | '''facility/''facility-name''/local/pro_config_yaim_groups.tpl''' | ||
+ | |||
Add all supported VOMS roles and groups to variable <tt>GROUPSCONF</tt>. | Add all supported VOMS roles and groups to variable <tt>GROUPSCONF</tt>. | ||
− | ''' | + | '''facility/''facility-name''/local/pro_config_queues.tpl''' |
− | Add the name of the VO | + | Add the name of the new VO to the appropriate queues in the variables (type: nlist) QUEUE_ACCESS and QUEUE_GROUP_ENABLE. The former defines ACLs for Torque, the latter for VO views in the information system, which may also contain any specific VOMS groups or roles. |
− | ''' | + | '''facility/''facility-name''/local/pro_config_maui.tpl''' |
Add a line to the Maui configuration to specify the fair share and priority of the VO. | Add a line to the Maui configuration to specify the fair share and priority of the VO. | ||
− | |||
− | |||
− | |||
− |
Revision as of 11:57, 21 August 2007
Collect information about the new VO
Go to the CIC portal ([1]) to collect information about the new VO.
Relevant information are the VOMS server(s), the content for the vomses file, possible VOMS roles and groups to be supported, indications of the number of required pool accounts etc.
Create pool accounts and the gridmapdir
Find a free Unix group ID and user ID range for the pool accounts. This can be achieved with via an ldapsearch query, or easier by using the ldap browser (LBE). LBE is available at the Nikhef desktops via /global/ices/toolset/bin/lbe.
Create pool accounts, home directories for the pool accounts and gridmapdir entries using the procedure described at the following page: [[2]].
For DPM, a separate NFS-shared home directory exists at hooimijt: /export/perm/share/gridmapdir_dpm. The pool account entries created in the regular gridmapdir can simply be copied (as user root on hooimijt) to the gridmapdir for DPM.
For the LFC, a local gridmapdir is used: /etc/grid-security/gridmapdir. Again, the newly created entries in the regular shared gridmapdir should be copied to the local gridmadir.
Create a software installation area
This section is only needed if the VO requires a software installation area.
The software installation areas are located under /export/cache/lcgprod/esia at host hooimijt. The areas should be created manually, as user root at hooimijt.
mkdir /export/cache/lcgprod/esia/voname chgrp unixgroup /export/cache/lcgprod/esia/voname chmod g+wrs /export/cache/lcgprod/esia/voname chmod +t /export/cache/lcgprod/esia/voname
If there is a group of pool accounts for sgm users for the VO, unixgroup should match the group for the sgm users.
Add the VO configuration to Quattor profiles
All modifications to the Quattor set up are located in the template hierarchy under the facility-specific directory $L/cfg/facility/facility-name where $L points to the conf-ns directory under the Quattor root directory. Unless specified differently, all files mentioned here are relative to the facility-specific directory.
grid/vo/params/voname.tpl
Configuration of VO settings like the VOMS server, contents for the vomses file, location of the software installation directory, the default storage element etc. It is recommended to copy an existing template, rename it and customize its contents.
facility/facility-name/local/pro_config_lcg2_site.tpl
This file defines variable VOS, which is a list of all supported VO names. Also, the name of the VOMS server can be added to variable VOMS_SERVER_CERTIFICATES to isntall the certificate for the VOMS server.
facility/facility-name/local/pro_config_yaim_users.tpl
Add 1 line per pool account group associated with the VO to the definition of variable USERSCONF. This line should refer to the first pool account in the group only (because we do not use Yaim to create these users).
facility/facility-name/local/pro_config_yaim_groups.tpl
Add all supported VOMS roles and groups to variable GROUPSCONF.
facility/facility-name/local/pro_config_queues.tpl
Add the name of the new VO to the appropriate queues in the variables (type: nlist) QUEUE_ACCESS and QUEUE_GROUP_ENABLE. The former defines ACLs for Torque, the latter for VO views in the information system, which may also contain any specific VOMS groups or roles.
facility/facility-name/local/pro_config_maui.tpl
Add a line to the Maui configuration to specify the fair share and priority of the VO.