DPM upgrade to >= 1.6.4

Below, all the steps needed to upgrade the DPM from version < 1.6.4 to version >= 1.6.4.

Stop all daemons

In the following order, on the appropriate machines:

  • service dpm-gsiftp stop on all disk servers
  • service srmv2 stop on the SRM host
  • service srmv1 stop on the SRM host
  • service dpm stop on the DPM host
  • service rfiod stop on all the disk servers
  • service dpnsdaemon stop on the DPNS host

Install the new RPMs

All of them, on the appropriate node(s):

  • DPM-server
  • DPM-name-server
  • DPM-srm-server
  • DPM-rfio-server
  • DPM-gridftp-server
  • DPM-client

Database backup


As the migration script modifies the database content, we highly recommend that you take a backup of the DPM database before running the migration script. Please backup both databases cns_db and dpm_db beforehand.

Run the migration script

To support secondary groups, a database schema change is needed. The migration script is included in the DPM-name-server RPM.


  • Perl-DBD (for Mysql or Oracle)
  • Perl-DBI

NOTE Depending of the number of entries in the database, the script takes more or less time. So, be patient !

Example for a Mysql DPM

Example for an Oracle DPM


Error when running the script twice

The script can be run only once. If you run it twice, the following error will appear:

Restart the daemons

  • service dpnsdaemon start on the DPNS host
  • service rfiod start on all the disk servers
  • service dpm start on the DPM host
  • service srmv1 start on the SRM host
  • service srmv2 start on the SRM host
  • service srmv2.2 start on the SRM host don't forget this new one
  • service dpm-gsiftp start on all disk servers

-- SophieLemaitre - 26 Mar 2007

This topic: LCG > WebHome > LCGGridDeployment > LCGSoftware > DataManagementTop > DataManagementDocumentation > DpmSecondaryGroupsSupport
Topic revision: r1 - 2007-03-26 - SophieLemaitre
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback