Changes between Version 26 and Version 27 of Doc/BasicConfig/AII


Ignore:
Timestamp:
Aug 19, 2009, 12:32:49 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

    v26 v27  
    3737 * [source:templates/trunk/sites/example/site/filesystems/sw_raid.tpl site/filesystems/sw_raid.tpl] : define a default system disk layout for a typical grid system running gLite, using software raid (md devices) instead of LVM for everything except `swap`. This illustrated how to customize the default layout. It is an alternative to [source:templates/trunk/sites/example/site/filesystems/glite.tpl site/filesystems/glite.tpl].  This template also provides some variables to further refine this default layout without redefining everything.
    3838 
    39 These 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 handle 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.
     39These templates are just provided as examples on how to use [source:templates/trunk/standard/filesystem/config.tpl standard/filesystem/config.tpl]. But [source:templates/trunk/standard/filesystem/config.tpl standard/filesystem/config.tpl] can be used to handle many other layouts. You can build your own from scratch or mixing the examples provided (there is no restriction to use only LVM, logical partitions or raid volumes in one layout, this was done just for clarity of examples) or using other types of block devices like hardware raid.
     40
     41The basic idea is to declare in this base layout templates (like [source:templates/trunk/sites/example/site/filesystems/glite.tpl site/filesystems/glite.tpl], [source:templates/trunk/sites/example/site/filesystems/extended.tpl site/filesystems/extended.tpl], [source:templates/trunk/sites/example/site/filesystems/sw_raid.tpl site/filesystems/sw_raid.tpl]) 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 in another template that include the basic layout (as [source:templates/trunk/sites/example/site/filesystems/ce_nfs_server.tpl site/filesystems/ce_nfs_server.tpl] does with [source:templates/trunk/sites/example/site/filesystems/glite.tpl site/filesystems/glite.tpl]). The main effort is to maintain the basic layout but it has the advantage to provide a central point for defining any potential configuration, avoiding a lot of duplication.
    4042
    4143To 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] ) :