Changes between Version 3 and Version 4 of Doc/gLite/WNCloning
- Timestamp:
- Dec 11, 2009, 6:17:25 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/gLite/WNCloning
v3 v4 13 13 == Configuration of Profile Cloning == 14 14 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.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/wn-cloning-config.tpl site-specific] templates or in [source:templates/trunk/clusters/example-3.2/site cluster-specific] templates. 16 16 17 17 === Enabling Profile Cloning === … … 31 31 Eligible 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. 32 32 33 === Defining Profile Prefix === 33 === Defining Profile Prefix === #ProfilePrefix 34 34 35 35 By 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`. … … 53 53 variable SITE_CONFIG ?= 'pro_site_config'; 54 54 }}} 55 56 == Examples == 57 58 The 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.