359 | | === Script to publish dynamic information === |
360 | | |
361 | | As of DPM 1.5.10, the script used to publish dynamic information for DPM into BDII (space used/free per VO) has not been updated to interact properly with VOMS mapping. As a result, all VO specific pools are not counted into values published. QWG templates provide a fixed version of the script that can be installed by adding the following line to DPM head node profile : |
362 | | {{{ |
363 | | include glite/se_dpm/server/info_dynamic_voms; |
364 | | }}} |
365 | | |
366 | | To work properly this script requires `/opt/lcg/etc/DPMCONFIG` (or whatever file you defined for DPNS database connexion information) to be readable by world. This can be achieved by adding the following line to your DPM configuration in your site specific template : |
367 | | {{{ |
368 | | "/software/components/dpmlfc/options/dpm/db/configmode" = "644"; |
369 | | }}} |
370 | | |
| 359 | === Script to publish dynamic information into BDII === |
| 360 | |
| 361 | It is possible to define and configure a site specific version of the GIP plugin used to publish DPM dynamic information into BDII (space used/free per VO). This is achieved by : |
| 362 | * Writing a site or cluster specific template providing the script itself and optionally its name and arguments. |
| 363 | * Define variable `GIP_SCRIPT_DPM_DYNAMIC_CONFIG` to the name of this template. |
| 364 | |
| 365 | The template must define the following variables : |
| 366 | * `GIP_SCRIPT_DPM_DYNAMIC` : this variable is mandatory and must contain the plugin code (generally a shell or Perl script). |
| 367 | * `GIP_SCRIPT_DPM_DYNAMIC_NAME` (optional) : name of the plugin. Default to `libexec/lcg-info-dynamic-dpm-alternate` in LCG installation directory (generally `/opt/lcg`). |
| 368 | * `GIP_SCRIPT_DPM_DYNAMIC_ARGS` (optional) : script arguments. Default : `var/gip/ldif/static-file-SE.ldif` in LCG installation directory (generally `/opt/lcg`). |
| 369 | |
| 370 | ''Note : QWG templates for gLite 3.0 provides a modified version of original GIP plugin for DPM working with DPM versions 1.5.10 to 1.6.4 included (standard plugin provided with these versions doesn't work properly with VO dedicated pools). To use it define variable `GIP_SCRIPT_DPM_DYNAMIC_CONFIG` to `glite/se_dpm/server/info_dynamic_voms`.'' |