Difference between revisions of "DPM upgrade at Oxford"

From GridPP Wiki
Jump to: navigation, search
(Created page with "=== Objective === Upgrade and migrate DPM Head node from one SL6 physical server to another Centos7 server keeping the same hostname (t2se01 in our case)")
 
Line 2: Line 2:
  
 
Upgrade and migrate DPM Head node from one SL6 physical server to another Centos7 server keeping the same hostname (t2se01 in our case)
 
Upgrade and migrate DPM Head node from one SL6 physical server to another Centos7 server keeping the same hostname (t2se01 in our case)
 +
 +
=== Preparation ===
 +
 +
After the start of the GOCDB downtime, stopped all DPM related services on head node and pool nodes. Used netstat to confirm that there is no live connection to any pool node.
 +
 +
Run the final backup of mysql database on the old headnode
 +
 +
  /usr/bin/mysqldump --user=$mysql_user --password=$mysql_pw --opt --all-databases --single-transaction | gzip -c > mysql-dump-final.sql.gz
 +
 +
Changed the name of the old headnode from t2se01 to t2se01tmp in DNS and DHCP server

Revision as of 11:13, 13 March 2018

Objective

Upgrade and migrate DPM Head node from one SL6 physical server to another Centos7 server keeping the same hostname (t2se01 in our case)

Preparation

After the start of the GOCDB downtime, stopped all DPM related services on head node and pool nodes. Used netstat to confirm that there is no live connection to any pool node.

Run the final backup of mysql database on the old headnode

  /usr/bin/mysqldump --user=$mysql_user --password=$mysql_pw --opt --all-databases --single-transaction | gzip -c > mysql-dump-final.sql.gz

Changed the name of the old headnode from t2se01 to t2se01tmp in DNS and DHCP server