wiki:Doc/EMI/Procedure/DPM

Version 2 (modified by /O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Guillaume Philippon, 13 years ago) ( diff )

--

A - installation:

works rather out of the box. NCM hangs the first time as it tries to create the base path while the DB is not yet there. To fix:

  • kill ncm
  • place the certificates and create the db shema

mysql -u root -pPASSWD < /usr/share/lcgdm/create_dpm_tables_mysql.sql mysql -u root -pPASSWD < /usr/share/lcgdm/create_dpns_tables_mysql.sql

  • reboot or reconfigure

B - upgrade from DPM 1.8.9 (glite-3.2):

again, works "rather" out of the box. A couple of issues

  • init.d scripts of srm,dpm,dpns,bdii are not re-created on the head node. To fix:
    • rpm -e --nodeps dpm-server-mysql dpm-name-server-mysql dpm-srm-server-mysql bdii
    • configure spma
    • configure all
  • some bdii directories are not created. To fix:

[root@llrtest07 ~]# mkdir -p /var/lib/bdii/db/grid /var/lib/bdii/db/glue /var/lib/bdii/db/stats [root@llrtest07 ~]# chown ldap:ldap /var/lib/bdii/db/grid /var/lib/bdii/db/glue /var/lib/bdii/db/stats restart bdii

  • minor change in the db schema which causes the dpm demon to crash. To fix:

mysql -u root -pPASSWD dpm_db mysql> alter table dpm_fs add weight INTEGER; mysql> update dpm_fs set weight=1; mysql> UPDATE schema_version_dpm SET major = 3, minor = 3, patch = 0;

Xrootd

in the se_dpm_config template put:

variable XROOT_ENABLED = true; variable XROOTD_SHARED_KEY='<authentication key>'; variable XROOTD_DISKS=list(

nlist('host', 'diskserver1'), nlist('host', 'diskserver2'), nlist('host', 'diskserver3'), ...

);

Note: See TracWiki for help on using the wiki.