Changes between Version 18 and Version 19 of Doc/gLite/TemplateCustomization/Services


Ignore:
Timestamp:
Jan 22, 2013, 6:29:29 PM (11 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/TemplateCustomization/Services

    v18 v19  
    323323== SE Configuration ==
    324324
    325 __Base template__ :
    326  * DPM : `machine-types/se_dpm`.
    327  * dCache : `machine-types/se_dCache`.
    328 
    329325''Note : This section covers the generic SE configuration, not a specific implementation.''
    330326
     
    364360== DPM Configuration ==
    365361
     362__Base template__ : DPM : `machine-types/se_dpm`.
     363
    366364DPM-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.
    367365
     
    376374=== DPM site parameters ===
    377375
    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). 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.
     376DPM 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.
    379377
    380378All the configuration must be done through variables in this template. The main variables available are:
     
    397395}}}
    398396
     397An alternative to this variable is to define parameter `requestMaxAge` for `dpm` service in variable `DPM_SERVICE_PARAMS`.
     398
    399399Avoid too low value (less than 1 month) as it may affect pinning (check the exact value of pinning default/max time in your configuration).
    400400
     
    402402
    403403
    404 
    405404== LFC Configuration ==
    406405
    407406__Base template__ : `machine-types/lfc`.
    408407
    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 }}}
     408LFC 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
     410All 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`.
    415416
    416417LFC 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 :
     
    421422}}}
    422423
    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 :
     424VOs 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 :
    424425{{{
    425426variable VOS = merge(LFC_CENTRAL_VOS, LFC_LOCAL_VOS);