Changes between Version 82 and Version 83 of Doc/gLite/TemplateCustomization
- Timestamp:
- Feb 12, 2008, 11:36:22 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/gLite/TemplateCustomization
v82 v83 6 6 Site customization to QWGtemplates is done through a small set of templates used to define variables used as input by QWG templates. This doesn't cover OS basic configurationt that is decribed in the page about [wiki:Doc/TemplateCustom template framework]. 7 7 8 All site parameters related to QWG middleware are supposed to be declared in template `pro_lcg2_config_site.tpl`. To start a new site, import the site paramater template [source:templates/trunk/sites/example/site/pro_lcg2_config_site.tpl example]. The list of all available variables with their description and their default value can be consulted in template source:templates/trunk/grid/glite-3.0.0/defaults/glite.tpl. '''This template is a critical part of standard templates and should not be modified or duplicated'''. 9 10 ''Note : Information in this page may document features or configuration options not present in the current release. These information are related to changes and improvement that will be available in next release and are already present in the [source:templates/branches/gLite-3.0.0 current development branch]. If you are urgently requiring these features, [wiki:Download/QWGTemplates use content] of this branch.'' 11 8 All site parameters related to QWG middleware are supposed to be declared in template `pro_lcg2_config_site.tpl`. To start a new site, import the site paramater template [source:templates/trunk/sites/example/site/pro_lcg2_config_site.tpl example]. The list of all available variables with their description and their default value can be consulted in template source:templates/trunk/grid/glite-3.1/defaults/glite.tpl. '''This template is a critical part of standard templates and should not be modified or duplicated'''. 9 10 ''Note : Information in this page may document features or configuration options not present in the current release. These information are related to changes and improvement that will be available in next release and are already present in the [source:templates/branches/gLite-3.1 current development branch]. If you are urgently requiring these features, [wiki:Download/QWGTemplates use content] of this branch.'' 11 12 Documentation in this page is based on [source:templates/trunk/grid/glite-3.1 QWG templates for gLite 3.1]. Everything mentionned here also applies to [source:templates/trunk/grid/glite-3.0.0 QWG templates for gLite 3.0], except when explicitly stated. 12 13 13 14 == Machine types == … … 24 25 # Define specific configuration for a GRIF CE to be added to 25 26 # standard configuration 26 variable CE_ TORQUE_CONFIG_SITE = "pro_ce_torque_grif";27 variable CE_CONFIG_SITE = "pro_ce_torque_grif"; 27 28 28 29 # Configure as a CE (Torque) + Site's BDII 29 include pro_ce_torque;30 include machine-types/ce; 30 31 31 32 # … … 35 36 }}} 36 37 37 In this example, {{{CE_TORQUE_CONFIG_SITE}}} specify the name of a template defining the Torque configuration. 38 39 All the machine types share a common basic configuration, described in template `machine-types/base.tpl`. This template allows to add site specific configuration to this common basic configuration (e.g. configuration of a monitoring agent). This is done by defining variable {{{GLITE_BASE_CONFIG_SITE}}} to a template containing the site specific configuration to be added to the common configuration (at the end of the common configuration). This variable can be defined, for example, in template {{{pro_site_cluster_info.tpl}}}. 38 In this example, {{{CE_CONFIG_SITE}}} specify the name of a template defining the Torque configuration. 39 40 All the machine types share a common basic configuration, described in template `machine-types/base.tpl`. This template allows to add site specific configuration to this common base configuration (e.g. configuration of a monitoring agent). This is done by defining variable {{{GLITE_BASE_CONFIG_SITE}}} to a template containing the site specific configuration to be added to the common configuration (at the end of the common configuration). This variable can be defined, for example, in template {{{pro_site_cluster_info.tpl}}}. 41 42 The following sections describe specific variables that can be used with each machine type. The machine type template to include is specified at the beginning of the section as ''Base template''. In addition, to get more details, you can look at [source:templates/clusters/example-3.1/profiles examples]. 40 43 41 44 == VO Configuration == … … 228 231 ''Note : when possible, this is recommended to replace default value for NFS_WN_HOSTS by one or several regexpsmatching WN names.'' 229 232 233 === NFS Server === 234 235 __Base template__ : `machine-types/nfs`. 236 237 With QWG templates, it is possible to configure a machine as a dedicated NFS server whose configuration is shared with grid machines for file system configuration and accounts. 238 230 239 == LCG CE Configuration == 231 240 241 __Base template__ : `machine-types/ce`. 242 232 243 QWG templates handle configuration of the LCG CE and the selected batch system (LRMS). To select the LRMS you want to use, you have to define variable `CE_BATCH_NAME`. '''There is no default'''. If you want to use Torque/MAUI, recommended version is `torque2`. 233 244 … … 235 246 236 247 ''Note : as of gLite 3.0.2, LRMS supported are Torque v1 (`torque1`) and Torque v2 (`torque2`), with MAUI scheduler.'' 237 238 248 Previous versions of QWG templates used to require definition of `CE_BATCH_SYS`. This is deprecated : this variable is now computed from `CE_BATCH_NAME`. 239 249 … … 338 348 == SE Configuration == 339 349 350 __Base template__ : 351 * DPM : `machine-types/se_dpm`. 352 * dCache : `machine-types/se_dCache`. 353 340 354 ''Note : This section covers the generic SE configuration, not a specific implementation.'' 341 355 … … 443 457 === LFC site parameters === 444 458 459 __Base template__ : `machine-types/lfc`. 460 445 461 Normally the only thing really required in this site specific template is the password for LFC user (by default `lfc`) and the DB accounts. Look at standard LFC [source:templates/trunk/glite-3.0.0/glite/lfc/config] configuration template for the syntax. 446 462 … … 468 484 == LCG RB Configuration == 469 485 486 __Base template__ : `machine-types/rb`. 487 470 488 After the initial installation of the RB, it is necessary to manually initialize the MySQL database used by the RB using MyQL script provided by YAIM and then rerun NCM components for Quattor to complete the configuration, using the command : 471 489 {{{ … … 475 493 476 494 == BDII == 495 496 __Base template__ : `machine-types/bdii`. 477 497 478 498 QWG Templates support configuration of all types of BDII : … … 534 554 535 555 On machine types supporting it (e.g. UI, VOBOX, WN), you can configure a FTS client. To get the client fully configured, you need to define variable `FTS_SERVER_URL` to your preferred FTS server (normally your ''closer'' T1). Look at [source:templates/trunk/sites/example/site/pro_lcg2_config_site.tpl site configuration] example for more details. 556 557 558 == MyProxy Server == 559 560 __Base template__ : `machine-types/px`. 561 562 563 == VOBOX == 564 565 __Base template__ : `machine-types/vobox`. 566 567 568 == UI == 569 570 __Base template__ : `machine-types/ui`. 571 536 572 537 573 == RPMs Repositories ==