Changes between Version 3 and Version 4 of Doc/gLite/WNCloning


Ignore:
Timestamp:
Dec 11, 2009, 6:17:25 PM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/WNCloning

    v3 v4  
    1313== Configuration of Profile Cloning ==
    1414
    15 Profile cloning is configured through a set of variables that must be defined '''very early''' in the configuration. The default template name to configure profile cloning is `site/wn-cloning-config.tpl`. Another template name can be used by defining variable `PROFILE_CLONING_CONFIG_SITE`. This template is typically located in  [source:templates/trunk/sites/example/site site-specific] templates or in [source:templates/trunk/clusters/example-3.2/site cluster-specific] templates.
     15Profile cloning is configured through a set of variables that must be defined '''very early''' in the configuration. The default template name to configure profile cloning is `site/wn-cloning-config.tpl`. Another template name can be used by defining variable `PROFILE_CLONING_CONFIG_SITE`. This template is typically located in  [source:templates/trunk/sites/example/site/wn-cloning-config.tpl site-specific] templates or in [source:templates/trunk/clusters/example-3.2/site cluster-specific] templates.
    1616
    1717=== Enabling Profile Cloning ===
     
    3131Eligible nodes are defined by a regexp applied to the profile name (without the [#ProfilePrefix profile prefix] if defined and without the extension). This regexp is defined with variable `PROFILE_CLONING_ELIGIBLE_NODES`. The regexp must use a Perl-compatible syntax.
    3232
    33 === Defining Profile Prefix ===
     33=== Defining Profile Prefix === #ProfilePrefix
    3434
    3535By default, the profile name is considered as matching the node name. If this is not the case, in particular if you use a prefix like `profile_` for your profile names, you need to define it with the variable `PROFILE_PREFIX`.
     
    5353variable SITE_CONFIG ?= 'pro_site_config';
    5454}}}
     55
     56== Examples ==
     57
     58The QWG templates contain a configuration example. It is based on 2 templates:
     59 * [source:templates/trunk/sites/example/site/wn-cloning-config.tpl sites/example/site/wn-cloning-config.tpl]: a site-wide template defining the default parameters for profile cloning, except the ''reference node''.
     60 * A cluster specific template included by [source:templates/trunk/sites/example/site/wn-cloning-config.tpl sites/example/site/wn-cloning-config.tpl]: this template defines the cluster-specific ''reference node''. Look at [[source:templates/trunk/clusters/example-3.2/site/wn-cloning-cluster-config.tpl clusters/example-3.2/site/wn-cloning-cluster-config.tpl] for an example.