Changes between Version 22 and Version 23 of Doc/BasicConfig/AII
- Timestamp:
- Jul 10, 2009, 1:04:28 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/BasicConfig/AII
v22 v23 28 28 == Configuration of Filesystems: The Recommended Way == 29 29 30 QWG 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 2examples of how to use it :31 32 * [source:templates/trunk/sites/example/site/filesystems/glite.tpl site/filesystems/glite.tpl] : define a default system disk layout for a typical grid system running gLite . This template also provides some variables to further refine this default layout without redefining everything.30 QWG 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 3 examples of how to use it : 31 32 * [source:templates/trunk/sites/example/site/filesystems/glite.tpl site/filesystems/glite.tpl] : define a default system disk layout for a typical grid system running gLite, using LVM for everything except `/boot`, `/` and `swap`. This template also provides some variables to further refine this default layout without redefining everything. 33 33 * [source:templates/trunk/sites/example/site/filesystems/ce_nfs_server.tpl site/filesystems/ce_nfs_server.tpl] : add to the basic layout provided by the previous template 2 filesystems, one for home directories and one for VO software areas. It is intended to be used on a machine configured as a NFS server to serve these file systems to WNs (and possibly the CE if it is not the NFS server). 34 * [source:templates/trunk/sites/example/site/filesystems/extended.tpl site/filesystems/extended.tpl] : define a default system disk layout for a typical grid system running gLite, using logical partitions instead of LVM for everything except `/boot`, `/` and `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. 34 35 35 These t wo 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 buildmany 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.36 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. 36 37 37 38 To 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] ) : … … 46 47 47 48 Default file system type is `ext3`. This can be customized by a site defining variable `FILESYSTEM_DEFAULT_FS_TYPE`vaiable. 49 50 == Defining Default Formatting Policy == 51 52 It is possible to define the site defaults for attributes `format` and `preserve` that are used when reinstalling a system with valid partitions. This is done respectively with variables `FILESYSTEM_DEFAULTS_FORMAT` and `FILESYSTEM_DEFAULTS_PRESERVE`. They are both `true` by default. 48 53 49 54 == File Systems and Block Devices : The Gory Details ==