Changes between Version 2 and Version 3 of Doc/OS/Layout
- Timestamp:
- Jun 27, 2007, 8:50:44 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/OS/Layout
v2 v3 4 4 [[TOC(inline)]] 5 5 6 ''Note : this information is partly outdated as the layout have been changed to accomodate the move to namespaces. Refer to release notes to get more information.'' 7 6 ''Note : the actual layout of OS templates changed several times, without impact on existing configuration. The description here is based on final layout, as implemented in SL 3.08 and later for SL3 and SL 4.4 and later for SL4.''' 8 7 9 8 This pages describes the layout of QWG templates used to configure the OS. These templates are not related to the middleware and can be used in other contexts. They are in charge of installing the required RPMs, based on feature groups requested, and do the base machine configuration (network, ...). They are used by middleware templates configuring a specific middleware machine type to do the base configuration of the machine. … … 11 10 Another page describes how to [wiki:Doc/OS/Customization configure] these templates. 12 11 13 Starting with SL 3.07 and SL 4.3, OS templates use namespaces for easier locate of templates and to support multiple version/architecture in the same cluster.14 15 12 OS templates provides both RPM lists for each standard feature group and a few other templates to do the basic configuration and configure some OS related components (e.g. Quattor client that has dependencies over the OS architecture). 16 13 17 Main namespaces (directories) used in OS templates are :14 Main namespaces (directories) used in OS templates are (examples provided are based on [source:templates/trunk/os/sl440-x86_64 SL 4.4 64-bit] templates): 18 15 19 * `rpmlist`: contains one template per feature group. These templates are completly generated from `comps.xml` provided with the OS distribution and reflect standard feature groups as selected from the standard installer.20 * `os` : contains a set of templates to define base machine configuration for a specific category of machine. To configure a gLite3 machine, the template to use is `pro_os_glite_base.tpl` (this is done by gLite3 templates). You can add your own machine category, defining a template for it, for other uses. Normally, templates in this namespace are the only templates that should be used in other templates.16 * [source:templates/trunk/os/sl440-x86_64/rpms rpms] : contains one template per feature group. These templates are completly generated from `comps.xml` provided with the OS distribution and reflect standard feature groups as selected from the standard installer. 17 * [source:templates/trunk/os/sl440-x86_64/config config] : contains a set of templates to define base machine configuration for a specific category of machine. For example, to configure a gLite 3.0 machine, the template to use is source:templates/trunk/os/sl440-x86_64/config/glite/3.0/pro_os_glite_base.tpl glite/3.0/pro_os_glite_base.tpl] (this is done by gLite 3.0 templates). You can add your own machine category, defining a template for it, for other uses : in this case, create a directory dedicated to your site or category, as done for [source:templates/trunk/os/sl440-x86_64/glite gLite]. Normally, templates in this namespace are the only templates that should be used in other templates. 21 18 * `repository` : contains templates defining RPM repositories associated with OS. You may need to edit these templates to reflect your local configuration, if you are not using the suggested layout and names for RPM repositories. 22 19