Changes between Version 19 and Version 20 of Doc/gLite/TemplateCustomization/Services
- Timestamp:
- Jan 30, 2013, 12:11:38 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/gLite/TemplateCustomization/Services
v19 v20 371 371 }}} 372 372 373 374 === DPM site parameters === 373 DPM can be accessed through Xrootd, a service independent from DPM. This section described only the DPM/Xrootd configuraton. Refer to the [#Xrootd Xrootd section] for details about the Xrootd configuration description is also required for Xrootd access to DPM to work. 374 375 === DPM site parameters === #DPMSiteConfig 375 376 376 377 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. … … 401 402 If you want to disable automatic purging, set the variable to `null`. 402 403 404 === DPM/Xrootd plugin === 405 406 To configure DPM/Xrootd plugin, it is necessary to: 407 * add `xroot` to the list of enabled access protocols, using variable `DPM_ACCESS_PROTOCOLS` (see [#DPMSiteConfig above]. 408 * Describe the Xrootd configuration: see [#Xrootd specific section]. Host list is automatically filled with DPM host list and host roles are declared based on DPM roles. 409 * Describe the DPM/Xrootd plugin site-specific parameters with `DPM_XROOTD_PARAMS` variable. 410 411 `DPM_XROOTD_PARAMS` variable may contain the following options: 412 * `coreMaxSize`: max size of core dump files. Optional, no default. 413 * `defaultPrefix`: prefix to be added to every file path specified by users to make the actual file path. Optional, no default. 414 * `dpmConnectionRetry`: max number of retries when connecting to DPM service. Optional, no default. 415 * `dpmHost`: name of the host running the DPM service (dpm daemon). Required, no default. 416 * `dpnsConnectionRetry`: max number of retries when connecting to DPNS service. Optional, no default. 417 * `dpnsHost`: name of the host running the DPNS service (dpm daemon). Required, no default. 418 * `replacementPrefix`: nlist of strings that allows to specify the actual path prefix to substitute (nlist value) to a user-specified path starting by a string matching the nlist key. This option, if present, takes precedence over defaultPrefix (see above) if the path is matching. For example, to convert `/cms/myfile` to `/dpm/example.com/home/cms/myfile`: 419 {{{ 420 variable DPM_XROOTD_PARAMS = { 421 SELF['replacementPrefix'] = nlist('/cms', '/dpm/example.com/home/cms'); 422 SELF; 423 }; 424 }}} 425 403 426 404 427 == LFC Configuration == … … 453 476 If you want to use an account name different from `lfcmgr` to run LFC daemons, you need to define variable `DPM_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/lfcmgr.tpl users/lfcmgr.tpl]. 454 477 478 479 == XRootd == #Xrootd 455 480 456 481 == WMS and LB ==