Changes between Version 144 and Version 145 of Doc/gLite/TemplateCustomization


Ignore:
Timestamp:
Dec 23, 2009, 12:32:53 AM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/TemplateCustomization

    v144 v145  
    151151
    152152
    153 === Overriding default VO Parameters ===
     153=== Overriding default VO Parameters === #VOSpecificParams
    154154
    155155In 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`.
     
    205205}}}
    206206
     207To 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{{{
     209variable VOS_SITE_PARAMS ?= nlist(
     210  'DEFAULT', nlist('fqan_pool_size', 10),
     211  'atlas',   nlist('fqan_pool_size', 20),
     212);
     213}}}
     214
    207215=== Adding a New VO ===
    208216
     
    211219Adding 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.
    212220
    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 toit, 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.''
    214222
    215223To 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 :