Closed
Bug 764281
Opened 13 years ago
Closed 13 years ago
Setup Datazilla DBs for production
Categories
(Data & BI Services Team :: DB: MySQL, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fox2mike, Assigned: scabral)
References
Details
DBAs, we need to setup the servers in bug 764278 for the datazilla project.
Based on bug 745318 comment 20 it looks like these will run mariadb with the tokuDB OR Aria storage engine.
I'm more than happy to help out with the puppet side of things, if needed.
Reporter | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Assignee: server-ops-database → scabral
Assignee | ||
Comment 1•13 years ago
|
||
Putting a firm date on this and cc'ing Melissa so it WILL GET DONE.
Whiteboard: [by end of July]
Reporter | ||
Comment 2•13 years ago
|
||
https://inventory.mozilla.org/systems/show/3845/
https://inventory.mozilla.org/systems/show/3847/
are the machines, they have been kicked and puppetized IIRC.
Assignee | ||
Comment 3•13 years ago
|
||
done on datazilla1:
groupadd mysql
useradd -g mysql mysql
cd /usr/local
tar -zxvf /home/scabral/mariadb-5.5.25-tokudb-6.1.0-45787-linux-x86_64.tar
ln -s mariadb-5.5.25-tokudb-6.1.0-45787-linux-x86_64/ mysql
cd mysql
chown -R mysql:mysql .
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
cp support-files/mysql.server /etc/init.d/
/etc/init.d/mysql.server start
Assignee | ||
Comment 4•13 years ago
|
||
also add this to the PATH:
/usr/local/mysql/bin/
and:
mkdir /var/log/mysql
chown -R mysql:mysql /var/log/mysql
mkdir /var/run/mysqld
chown -R mysql:mysql /var/run/mysqld
we're all good!
[root@datazilla1.db.scl3 mysql]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 1
Server version: 5.5.25-tokudb-6.1.0-45787-MariaDB-log MariaDB Server
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| test |
+--------------------+
4 rows in set (0.00 sec)
MariaDB [(none)]>
Assignee | ||
Comment 5•13 years ago
|
||
datazilla1 and datazilla2 are now set up.
Can we get VIP's made for rw and ro?
Left to do: VIPs, backups, monitoring.
Reporter | ||
Comment 6•13 years ago
|
||
VIPs are now in place, datazilla-ro-vip.db.scl3.mozilla.com and datazilla-rw-vip.db.scl3.mozilla.com
rw goes to datazilla1.db.scl3 and ro to datazilla2.db.scl3, let me know if this needs to be switched.
Filing bugs for backup and monitoring.
Sheeri, since you're on PTO, I might add ACLs to mysql (if I get to that stage before I leave, will update them here).
Comment 7•13 years ago
|
||
user datazilla_moz has been created with access to datazilla_mozilla_org
Comment 8•13 years ago
|
||
Sheeri: Is there anything more you need to do here?
Assignee | ||
Comment 9•13 years ago
|
||
Nope, monitoring and backups are set in bug 778197 and bug 778198. It's ready to use now, though.
Assignee | ||
Comment 10•13 years ago
|
||
closing this bug, as there's nothing left in it (other things are in other bugs, so won't be forgotten).
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
These hosts aren't in puppet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•13 years ago
|
Whiteboard: [by end of July] → [put in puppet]
Assignee | ||
Comment 13•13 years ago
|
||
They're in puppet now!
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Whiteboard: [put in puppet]
Updated•11 years ago
|
Product: mozilla.org → Data & BI Services Team
You need to log in
before you can comment on or make changes to this bug.
Description
•