Closed Bug 791319 Opened 12 years ago Closed 12 years ago

Upgrade b2 cluster in scl3 to MySQL 5.1 and put into puppet

Categories

(Data & BI Services Team :: DB: MySQL, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: scabral, Unassigned)

References

Details

(Whiteboard: [2012q4])

Currently b2 is MySQL 5.0.
And it's not innodb_file_per_table, not with a 24 Gb ibdata file!
Took tp-b02-slave01 out of the load balancer, downtime'd in nagios for 2.5 hours, stopped the slave and am doing a mysqldump --all-databases now.

When that's done, I will remove the MySQL packages, move aside the /var/lib/mysql and /var/lib/mysql-innodb directories and then upgrade to Percona 5.1 by putting into puppet, and then importing the export and doing a mysql_upgrade.
ack, this should really be in bug 790409!
That's odd, b2-db1 is up to date, but b2-db2 is not:

mysql> select @@hostname, @@version;
+----------------------------+--------------------+
| @@hostname                 | @@version          |
+----------------------------+--------------------+
| b2-db1.db.scl3.mozilla.com | 5.1.65-rel14.0-log |
+----------------------------+--------------------+
1 row in set (0.00 sec)

mysql> select @@hostname, @@version;
+----------------------------+------------+
| @@hostname                 | @@version  |
+----------------------------+------------+
| b2-db2.db.scl3.mozilla.com | 5.0.77-log | 
+----------------------------+------------+
1 row in set (0.00 sec)

I just double-checked, and b2-db2 is just a regular slave. Moving b2-db2 to be out of the load balancer pool.
b2-db2 is upgraded; both b2-db1 and b2-db2 are in puppet as well. Huzzah!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Data & BI Services Team
You need to log in before you can comment on or make changes to this bug.