Changes between Version 10 and Version 11 of Doc/OS/Customization
- Timestamp:
- Sep 15, 2009, 3:11:25 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/OS/Customization
v10 v11 10 10 == Selecting OS version == 11 11 12 The 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 12 18 === Cluster Default OS Version === 13 19 14 20 A 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. 15 21 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`.'' 22 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/site/cluster_info.tpl site/cluster_info.tpl]. The value is the directory containing templates for this OS version. 19 23 20 24 === Per Machine OS Version === … … 22 26 Each machine in a cluster can run its own OS version/arch, different from the cluster default version. 23 27 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].28 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/site/cluster_info.tpl site/cluster_info.tpl]. 25 29 26 30 The 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.``29 31 30 32 == Selecting Kernel Version ==