/usr/share/doc/dpm-server-mysql/README.Debian is in dpm-server-mysql 1.8.7-3.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | How to set up an DPM server with a mysql backend
================================================
The DPM server is run by the dpmmgr user. This user requires a copy of
the host certificate files:
cp -p /etc/grid-security/hostcert.pem /etc/grid-security/dpmmgr/dpmcert.pem
cp -p /etc/grid-security/hostkey.pem /etc/grid-security/dpmmgr/dpmkey.pem
chown dpmmgr:dpmmgr /etc/grid-security/dpmmgr/dpm*
Create the DPM database on the mysql server:
mysql -u root < /usr/share/lcgdm/create_dpm_tables_mysql.sql
Select a username and password for this mysql database table. Replace
<user> and <password> in the commands below with your choice, also
replace <hostname> with the hostname of the DPM server:
mysql -u root
mysql> use mysql
mysql> grant all on dpm_db.* to <user>@localhost identified by '<password>';
mysql> grant all on dpm_db.* to <user>@<hostname> identified by '<password>';
mysql> quit
Let the DPM server know about the account information and make sure
only the dpmmgr user can read this information:
touch /etc/DPMCONFIG
chmod 600 /etc/DPMCONFIG
chown dpmmgr:dpmmgr /etc/DPMCONFIG
echo <user>/<password>@<dbserver>/<dbname> > /etc/DPMCONFIG
If the /<dbname> part is omitted the database "dpm_db" will be used.
If you have a firewall, open the DPM server port (5015).
Once the configuration is completed, change RUN_DPMDAEMON=no to
RUN_DPMDAEMON=yes in /etc/default/dpm, then start the DPM
server:
invoke-rc.d dpm start
|