Changes between Version 18 and Version 19 of Doc/gLite/TemplateCustomization/Services
- Timestamp:
- Jan 22, 2013, 6:29:29 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/gLite/TemplateCustomization/Services
v18 v19 323 323 == SE Configuration == 324 324 325 __Base template__ :326 * DPM : `machine-types/se_dpm`.327 * dCache : `machine-types/se_dCache`.328 329 325 ''Note : This section covers the generic SE configuration, not a specific implementation.'' 330 326 … … 364 360 == DPM Configuration == 365 361 362 __Base template__ : DPM : `machine-types/se_dpm`. 363 366 364 DPM-related standard templates require a site template to describe site/SE configuration for DPM. The variable `DPM_CONFIG_SITE` must contain the name of this template. This template defines the whole DPM configuration, including all disk servers used and is used to configure all the machines part of the DPM configuration. 367 365 … … 376 374 === DPM site parameters === 377 375 378 DPM configuration '''requires''' a site specific description to define configuration parameters where no sensible default value can be provided (eg. list of disk servers). T o build your own template, you can look at template [source:templates/trunk/sites/example/site/glite/dpm_config.tpl site/glite/dpm_config.tpl] in examples provided with QWG templates.376 DPM configuration '''requires''' a site specific description to define configuration parameters where no sensible default value can be provided (eg. list of disk servers). The configuration description must be the same for all nodes participating to the DPM instance. The variable `DPM_CONFIG_SITE` must point to this template. To build your own template, you can look at template [source:templates/trunk/sites/example/site/glite/dpm_config.tpl site/glite/dpm_config.tpl] in examples provided with QWG templates. 379 377 380 378 All the configuration must be done through variables in this template. The main variables available are: … … 397 395 }}} 398 396 397 An alternative to this variable is to define parameter `requestMaxAge` for `dpm` service in variable `DPM_SERVICE_PARAMS`. 398 399 399 Avoid too low value (less than 1 month) as it may affect pinning (check the exact value of pinning default/max time in your configuration). 400 400 … … 402 402 403 403 404 405 404 == LFC Configuration == 406 405 407 406 __Base template__ : `machine-types/lfc`. 408 407 409 LFC related standard templates require a site template to describe the service site configuration. The variable `LFC_CONFIG_SITE` must contain the name of this template. 410 411 If you want to use Oracle version of LFC server define the following variable in your machine profile : 412 {{{ 413 variable LFC_SERVER_MYSQL = false; 414 }}} 408 LFC configuration '''requires''' a site specific description to define configuration parameters where no sensible default value can be provided (eg. password for accessing the DB). This configuration can be ither directly in the LFC server profile or in a dedicated template pointed by variable `LFC_CONFIG_SITE`. As an example, you can look at template [source:templates/trunk/clusters/example-emi-2/profiles/lfc.example.org.tpl lfc.example.org.tpl] in examples provided with QWG templates. 409 410 All the configuration must be done through variables in this template. The main variable available is: 411 * `LFC_DB_PARAMS`: define paramaters related to the LFC DB. This is a nlist where the name of parameters must match DB related options in the [source:templates/trunk/grid/emi-2/components/dpmlfc/schema.pan schema]. Main options are : 412 * `password`: the MySQL password to be used by DPM daemons to access the DB 413 * `user`: the MySQL user to be used by DPM daemons to access the DB. Normally default should be 414 * `adminpwd`: the MySQL aministrator password used for configuring the DB 415 * `adminuser`: the MySQL administrator user to be used for configuring the DB. Normally default should be appropriate. D: `root`. 415 416 416 417 LFC templates allow a LFC server to act as a central LFC server (registered in BDII) for some VOs and as a local LFC server for the others. This are 2 variables controlling what is registered in the BDII : … … 421 422 }}} 422 423 423 VOs listed in both lists must be present in `VOS` variable. These 2 variables have no impact on GSI (security)configuration and don't control access to the server. If you want to have `VOS` variable (controlling access to the server) matching the list of VOs supported by the LFC server (either as central or local catalogues), you can add the following definition to your LFC server profile :424 VOs listed in both lists must be present in `VOS` variable. These 2 variables have no impact on security configuration and don't control access to the server. If you want to have `VOS` variable (controlling access to the server) matching the list of VOs supported by the LFC server (either as central or local catalogues), you can add the following definition to your LFC server profile : 424 425 {{{ 425 426 variable VOS = merge(LFC_CENTRAL_VOS, LFC_LOCAL_VOS);