Changes between Version 16 and Version 17 of Doc/gLite/TemplateCustomization/Services


Ignore:
Timestamp:
Jan 22, 2013, 2:02:17 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

    v16 v17  
    376376=== DPM site parameters ===
    377377
    378 There is no default template provided for DPM configuration. 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 
    380 There is no default password value provided for account used by DPM daemons and for the DB accounts used to access the DPM database. You '''must''' provide one in your site configuration. If you forget to do it, you'll get a not very explicit panc error :
    381 {{{
    382 [pan-compile] *** wrong argument: operator + operand 1: not a property: element
    383 }}}
     378DPM 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.
     379
     380All the configuration must be done through variables in this template. The main variables available are:
     381 * `DPM_DB_PARAMS`: define paramaters related to the DPM 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 :
     382   * `password`: the MySQL password to be used by DPM daemons to access the DB
     383   * `user`: the MySQL user to be used by DPM daemons to access the DB. Normally default should be 
     384   * `adminpwd`: the MySQL aministrator password used for configuring the DB
     385   * `adminuser`: the MySQL administrator user to be used for configuring the DB. Normally default should be appropriate. D: `root`.
     386 * `DPM_ACCESS_PROTOCOLS`:  a list specifying the access protocols that must be configured on the disk servers. Possible values are: `gsiftp`, `https`, `rfio`, `xroot`.
     387 * `DPM_HOSTS`; list of hosts for each service. Possible services are: `dpm`, `dpns`, `copyd`, `srmv1`, `srmv2`, `srmv22` and `disk`. `disk` is a special value to list disk servers: on these machines, all the access protocols specified by `DPM_ACCESS_PROTOCOLS` will be configured.
     388 * `DPM_SERVICE_PARAMS`:
    384389
    385390If you want to use a specific VO list on your DPM server and you have several nodes in your DPM configuration (DPM head node + disk servers), you need to write a template defining `VOS` variable (with a non default value) and define variable `NODE_VO_CONFIG` to this template in the profile of DPM nodes (both head node and disk servers).
     
    396401If you want to disable automatic purging, set the variable to `null`.
    397402
    398 
    399 === Using non-standard port numbers ===
    400 
    401 It is possible to use non-standard port numbers for DPM daemons `dpm`, `dpns` and all SRM daemons. To do this, you  need to define the `XXX_PORT` variable corresponding to the service in your gLite site parameters. Look at gLite [source:templates/trunk/grid/glite-3.2.0/defaults/glite/config.tpl default parameters] to find the exact name of the variable.
    402 
    403 ''Note: this is not recommended to change the port number used by DPM services in normal circumstances.''
    404 
    405 === Using a non-standard account name for dpmmgr ===
    406 
    407 If you want to use an account name different from `dpmmgr` to run DPM daemons, you need to define variable `DPM_DAEMON_USER` in your site configuration template and provide a template to create this account, based on [source:templates/trunk/grid/gLite-3.2.0/users/dpmmgr.tpl users/dpmmgr.tpl].
    408403
    409404