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 | |
| 100 | As 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 | |
| 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 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.'' |
| 170 | |
| 171 | === Site-specific parameters for VOMS role accounts === |
| 172 | VOs 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 | |
| 188 | A 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 | {{{ |
| 190 | variable |
| 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 | }}} |