Changes between Version 10 and Version 11 of Doc/OS/Customization


Ignore:
Timestamp:
Sep 15, 2009, 3:11: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/OS/Customization

    v10 v11  
    1010== Selecting OS version ==
    1111
     12The following sections describe how to define a [#ClusterDefaultOSVersion default OS version] and a [#PerMachineOSVersion per-machine OS version]. As a result of the OS version selection, the standard templates define variable `OS_VERSION_PARAMS` which is a nlist representing characteristics of the selected OS versions. Properties (keys) defined in this variable are:
     13 * `major`: the major version of the OS (for example `4` for SL4.x)
     14 * `minor`: the minor version of the OS (for example `6` for SL 4.6)
     15 * `version`: the version of the OS without the architecture (for example `sl460` for `sl460-x86_64`)
     16 *  `arch`: the architecture of the OS
     17
    1218=== Cluster Default OS Version ===
    1319
    1420A default OS version/arch can be associated with a cluster. When defined, unless specified otherwise (see next section), all machines will use this OS version.
    1521
    16 Default OS version/arch for the cluster is defined with variable `NODE_OS_VERSION_DEFAULT`, generally in cluster specific [source:templates/trunk/clusters/example/site/pro_site_cluster_info.tpl pro_site_cluster_info.tpl]. The value is the directory containing templates for this OS version.
    17 
    18 ''Note : if you need to use `sl305-i386` in your cluster, it '''must be''' defined as the default version for the cluster in [source:templates/trunk/cluster/examples/cluster.build.properties cluster.build.properties], adding `os/sl305-i386` '''after''' `os`.''
     22Default OS version/arch for the cluster is defined with variable `NODE_OS_VERSION_DEFAULT`, generally in cluster specific [source:templates/trunk/clusters/example/site/site/cluster_info.tpl site/cluster_info.tpl]. The value is the directory containing templates for this OS version.
    1923
    2024=== Per Machine OS Version ===
     
    2226Each machine in a cluster can run its own OS version/arch, different from the cluster default version.
    2327
    24 Tis done by creating a template pointed by variable `NODE_OS_VERSION_DB` in your site or cluster hierarchy. This variable is generally defined in cluster specific [source:templates/trunk/clusters/example/site/pro_site_cluster_info.tpl pro_site_cluster_info.tpl].
     28Tis done by creating a template pointed by variable `NODE_OS_VERSION_DB` in your site or cluster hierarchy. This variable is generally defined in cluster specific [source:templates/trunk/clusters/example/site/site/cluster_info.tpl site/cluster_info.tpl].
    2529
    2630The template pointed to by `NODE_OS_VERSION_DB` must define variable `OS_VERSION`. This variable must contain one entry for each machine that is not using the default OS version defined for the cluster. The value is the directory containing templates for the OS version.
    27 
    28 ''Note : it is not possible to select `sl305-i386` as a node specific OS version. See previous section.``
    2931
    3032== Selecting Kernel Version ==