Changes between Version 13 and Version 14 of Obsolete/Doc/OS/Errata


Ignore:
Timestamp:
Aug 29, 2009, 12:10:54 AM (15 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Obsolete/Doc/OS/Errata

    v13 v14  
    9494Profile cloning, also know as ''dummy WN'', is a technique that allows to configure a reference profile and then reuse it for multiple nodes, with a few customizations (it is currently used only for gLite WN, thus its name). The other nodes clone the reference profile rather than reexecuting the configuration. As a result, any modification to the reference profile is also applied to all other nodes that clone it.
    9595
    96 When deploying OS errata, it is not always convenient to deploy them on all nodes at once. In this case, during the errata deployment, you need to temporarily disable profile cloning on the nodes you don't want to upgrade at the same time as the reference profile. This is done by defining in the node profile:
    97 {{{
    98 variable USE_DUMMY ?= false;
    99 }}}
     96When deploying OS errata, it is not always convenient to deploy them on all nodes at once. In this case, during the errata deployment, you need to temporarily disable profile cloning on the nodes you don't want to upgrade at the same time as the reference profile. This can be done by defining variable `USE_DUMMY` to `false` in the profile of the nodes you don't want to clone temporarily. But this can be a significant amount of work if you have many profiles to modify. An alternative is to use variable `WN_DUMMY_DISABLED` which is an nlist where:
     97 * The key is the string following `PROFILE_PREFIX` in the profile name. The string must be escaped.
     98 * The value must be  `true` in order to desactive profile cloning.
    10099
     100`WN_DUMMY_DISABLED` must be defined very early in the configuration. This is typically done at the same place where you configure profile cloning.
     101
     102''Note: it is not necessary to define the variable in the template itself, it is sometimes easier to have a separate template included by the template configuring profile cloning.''
     103