Changes between Version 21 and Version 22 of Doc/BasicConfig/AII


Ignore:
Timestamp:
Jul 9, 2009, 3:05:12 PM (15 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/BasicConfig/AII

    v21 v22  
    2626AII allows to define in a flexible way site-specific actions that must be done at various points in Kickstart. This is done through several `hooks`.
    2727
    28 == File Systems and Block Devices ==
    29 
    30 In AII v2, block devices and file systems are declared separatly. Sections belows give some details about how to configure each of them. Block devices entries are used only if referenced by a file system or another block device entry.
    31 
    32 === Generic Configuration of Filesystems ===
     28== Configuration of Filesystems: The Recommended Way ==
    3329
    3430QWG Templates provide a generic template to configure file systems on a typical system with 1 or 2 disks. It is based on template [source:templates/trunk/standard/filesystem/config.tpl standard/filesystem/config.tpl] that may be customized according to your site needs with a limited set of variables. In addition to this generic template to define disk layouts, QWG templates provides 2 examples of how to use it :
     
    3935These two templates are just provided as examples on how to use [source:templates/trunk/standard/filesystem/config.tpl standard/filesystem/config.tpl]. But this template can be used to build many other layouts. The basic idea is to declare in this template all the possible file system that can be found on a system, most of them with zero size meaning they will not be created unless the variable used to define their size is explicitly set to a non-zero value.
    4036
    41 To use these templates, you need to define the following 2 variables in your node profile or one of your site-specific templates (typically `pro_site_cluster_info`) :
     37To use these templates, you need to define the following 2 variables in your node profile or one of your site-specific templates (typically [source:templates/trunk/clusters/example-3.1/site/cluster_info.tpl site/cluster_info.tpl] ) :
    4238 * `FILESYSTEM_CONFIG_SITE` : define this variable to be [source:templates/trunk/standard/filesystem/config.tpl filesystem/config.tpl]. This is the default in gLite templates.
    4339 * `FILESYSTEM_LAYOUT_CONFIG_SITE` : define this variable to the name of a template that customize source:templates/trunk/sites/example/site/filesystems/glite.tpl sites/example/site/filesystems/glite.tpl] by defining the appropriate variables. gLite templates define it to be [source:templates/trunk/sites/example/site/filesystems/glite.tpl site/filesystems/glite.tpl] by default.
     40 
     41=== Customizing File System List ===
     42
     43This should be done as demonstrated in the [source:templates/trunk/sites/example/site/filesystems/glite.tpl example], using function `filesystem_mod()`to update variable `DISK_VOLUME_PARAMS`.
     44
     45=== Defining Default File System Type ===
     46
     47Default file system type is `ext3`. This can be customized by a site defining variable  `FILESYSTEM_DEFAULT_FS_TYPE`vaiable.
     48
     49== File Systems and Block Devices : The Gory Details ==
     50
     51In AII v2, block devices and file systems are declared separatly. Sections belows give some details about how to configure each of them. Block devices entries are used only if referenced by a file system or another block device entry.
     52
     53''Note: configuring directly file systems and block devices is not recommended as it may be quite complex to ensure consistency of all parts involved. If possible, use the generic template to configure filesystems. Both methods cannot be mixed.''
    4454
    4555=== File Systems ===