Changes between Version 118 and Version 119 of Doc/gLite/TemplateCustomization


Ignore:
Timestamp:
Mar 6, 2009, 4:50:37 PM (17 years ago)
Author:
/C=IE/O=Grid-Ireland/OU=cs.tcd.ie/L=RA-TCD/CN=Stephen O. Childs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/TemplateCustomization

    v118 v119  
    7777== VO Configuration ==
    7878
    79 List of VOs to configure on a specific node is defined in variable `VOS`. Generally a site-wide default value is defined in `site/glite/config.tpl` (defined with operator `?=`). This value can be overridden on a specific machine by defining `VOS` variable in the machine profile, before including the machine type profile.
    80 
    81 An example of VOS definition is :
     79The list of VOs to configure on a specific node is defined in the variable `VOS`. Generally a site-wide default value is defined in `site/glite/config.tpl` (defined with operator `?=`). This value can be overridden on a specific machine by defining `VOS` variable in the machine profile, before including the machine type profile.
     80
     81An example VOS definition is :
    8282{{{
    8383variable VOS ?= list('alice',
     
    9696}}}
    9797
    98 ''Note : `dteam` and `ops` are mandatory VOs.''
    99 
    100 An alternative to listing explicitly all the VOs supported on a node, it is possible to define variable `VOS` as the string `ALL` (instead of a list). In this case, all the VOs with parameters available in the configuration (normally all the VOs registered on [http://www.gridops.org CIC portal]) are configured. This specific value should normally be restricted to UIs where there is no VO accounts created. It's main usage is to let user on a UI act as a member of any VO they may be registered in. On a gsissh-enabled UI, it is advisable to restrict the VOs allowed to connect to the UI with `gsissh` to a limited number of VOs when `VOS='ALL'`. See section on UI configuration for more details.
    101 
    102 For each VO listed in `VOS`, there must be a template defining the VO parameters in `vo/params` or an entry in `vo/site/aliases`. The template name in `vo/params` must be the VO full name even though a VO alias name is used in `VOS`. If the VO to be added has no template to define its parameters, refer to next section about adding a new VO.
    103 
    104 ''Note: VO alias names are alternative names for VOs locally defined. Unlike, VO names which are guaranteed to be unique, VO aliases may collapse with another alias or full name. They must be used mainly to maintain backward compatibility in existing configuration where a name other than the VO full name was used. The use of VO alias is '''strongly''' discouraged for new configuration or new VO added to an existing configuration.''
     98''Note : `dteam` and `ops` are mandatory VOs for EGEE sites.''
     99
     100As an alternative to listing explicitly all the VOs supported on a node, it is possible to define variable `VOS` as the string `ALL` (instead of a list). In this case, all VOs with parameters available in the configuration (normally all the VOs registered in the [http://www.gridops.org CIC portal]) are configured. This specific value should normally be restricted to UIs where there are no VO accounts created. Its main usage is to let user on a UI act as a member of any VO they may be registered in. On a gsissh-enabled UI, it is advisable to restrict the VOs allowed to connect to the UI with `gsissh` to a limited number of VOs when `VOS='ALL'`. See section on UI configuration for more details.
     101
     102For each VO listed in `VOS`, there must be a template defining the VO parameters in `vo/params` or an entry in `vo/site/aliases`. The template name in `vo/params` must be the VO full name even though a VO alias name is used in `VOS`. If the VO to be added has no template to define its parameters, refer to the next section about adding a new VO.
     103
     104''Note: VO alias names are alternative names for VOs locally defined. Unlike, VO names which are guaranteed to be unique, VO aliases may clash with another alias or full name. They must be used mainly to maintain backward compatibility in existing configurations where a name other than the VO full name was used. The use of VO alias is '''strongly''' discouraged for a new configuration or new VOs added to an existing configuration.''
    105105 
    106106
     
    168168
    169169In addition to `VOS_SITE_PARAMS`, '''which is the recommended method''' to specify site-specific parameters for VO configuration, it is also possible for some specific purposes to execute a site-specific template before doing the configuration related to VOs. Use variable `NODE_VO_CONFIG` to specify the name of the template.
     170
     171=== Site-specific parameters for VOMS role accounts ===
     172VOs often define roles in VOMS for specific purposes. For example, the ATLAS VO defines the role `production` which can only be used by users allowed to run production jobs. The roles defined for a VO are automatically retrieved by the `update.vo.config` and task. By default, a single account with an arbitrary suffix is automatically generated for each role found. For example, the following is an extract of the accounts generated for roles in the ATLAS VO:
     173
     174{{{
     175"voms_roles" ?= list(
     176     nlist("description", "SW manager",
     177       "fqan", "lcgadmin",
     178       "suffix", "s"),
     179     nlist("description", "production",
     180       "fqan", "production",
     181       "suffix", "p"),
     182     nlist("description", "pilot",
     183       "fqan", "pilot",
     184       "suffix", "hs"),
     185...
     186}}}
     187
     188A particular site may wish to define its own parameters for a particular VOMS role. You can do this by defining entries in the nlist variable VOMS_ROLE_CONFIG_SITE. In this example, the parameters are set for the role `production` in the ATLAS VO:
     189{{{
     190variable
     191  VOMS_ROLE_CONFIG_SITE =
     192   nlist("atlas",                            # VO
     193     nlist(escape("production"),             # role FQAN
     194        nlist(  "description","production",  # role params
     195        "fqan", "production",
     196        "name", "production",
     197        "pool_size", 20,
     198        "base_uid", 35800,
     199        "pool_digits", 3,
     200        "pool_start", 1,
     201        "gid", 35080,
     202        "suffix", "prd") ));
     203}}}
    170204
    171205=== Adding a New VO ===