Changes between Version 15 and Version 16 of Doc/BasicConfig/AII
- Timestamp:
- Sep 27, 2008, 8:18:20 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/BasicConfig/AII
v15 v16 32 32 === Generic Configuration of Filesystems === 33 33 34 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/ layout.tpl standard/filesystem/layout.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 :34 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 2 examples of how to use it : 35 35 36 36 * [source:templates/trunk/sites/example/site/filesystems/glite.tpl sites/example/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. 37 37 * [source:templates/trunk/sites/example/site/filesystems/ce_nfs_server.tpl sites/example/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). 38 38 39 These two templates are just provided as examples on how to use [source:templates/trunk/standard/filesystem/ layout.tpl standard/filesystem/layout.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.39 These 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. 40 40 41 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`) : 42 * `FILESYSTEM_CONFIG_SITE` : define this variable to be [source:templates/trunk/standard/filesystem/ layout.tpl standard/filesystem/layout.tpl]. This is the default in gLite templates.42 * `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. 43 43 * `FILESYSTEM_LAYOUT_CONFIG_SITE` : define this variable to the name of a template that customize source:templates/trunk/sites/example/site/filesystems/layout.tpl sites/example/site/filesystems/layout.tpl] by defining the appropriate variables. gLite templates define it to be [source:templates/trunk/sites/example/site/filesystems/glite.tpl sites/example/site/filesystems/glite.tpl] by default. 44 44