Changes between Version 144 and Version 145 of Doc/gLite/TemplateCustomization
- Timestamp:
- Dec 23, 2009, 12:32:53 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/gLite/TemplateCustomization
v144 v145 151 151 152 152 153 === Overriding default VO Parameters === 153 === Overriding default VO Parameters === #VOSpecificParams 154 154 155 155 In addition to define [#VODefaultParams default values] for VO parameters, it is possible to override default VO parameters, as specified in templates located in [source:trunk/grid/glite-3.2/vo/params vo/params], with site specific values. This is possible to do it on a per-VO basis or for all VOs configured on a machine. This is done using the same variable (nlist) as for [#VODefaultParams default parameters], `VOS_SITE_PARAMS`. To override default parameters for one specific VO, the key must be the VO name, as used in `VOS` variable. To override default parameters for all configured VOs, use special entry `LOCAL`. … … 205 205 }}} 206 206 207 To use pool accounts with all the specific FQANs declared in VO parameters, using the same number of accounts in the pool for each FQAN, it is possible to define propery `fqan_pool_size` in the [#VOSpecificParams VO-specific] entry or in the [#VODefaultParams DEFAULT] entry of `VOS_SITE_PARAMS` variable. For example, to use pool accounts for each specific FQAN of each VO, creating 10 accounts per FQAN, except for Atlas where 20 accounts per FQAN are created: 208 {{{ 209 variable VOS_SITE_PARAMS ?= nlist( 210 'DEFAULT', nlist('fqan_pool_size', 10), 211 'atlas', nlist('fqan_pool_size', 20), 212 ); 213 }}} 214 207 215 === Adding a New VO === 208 216 … … 211 219 Adding a new VO involved the creation of a template defining VO parameters. This template name must be the name you use to refer to the VO in rest of the configuration but is not required to be the real VO name (can be an alias used in the configuration). This template must be located in directory `vo/params`, in one of your cluster or site specific hierarchy of templates or in gLite templates. 212 220 213 ''Note : if you create a template for a new VO, be sure to commit it to the QWG repository if you have write access to it, or to send it to QWG developpers. There is normally no reason for a VO definition not to be generally available.''221 ''Note : if you create a template for a new VO, be sure to commit it to the QWG repository if you have write access to it, or to send it to QWG developpers. There is normally no reason for a VO definition not to be generally available.'' 214 222 215 223 To create a template to describe a new VO, the easiest is to copy the template for an already configured VO. The main variables supported in this template are :