Closed
Bug 839075
Opened 13 years ago
Closed 13 years ago
New Graphite Databases
Categories
(Data & BI Services Team :: DB: MySQL, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ericz, Assigned: scabral)
References
Details
When clustered, Graphite requires a MySQL database for coordinating Django settings, user logins, saved graphs and the like. It's neither big nor intensive. Can we get such a database for our Graphite cluster in SCL3 and another for PHX1?
| Assignee | ||
Comment 1•13 years ago
|
||
Sure! We have a generic cluster in phx and a generic cluster in scl3, that do not talk to each other.
Should the database be called "graphite"?
What kind of users will you need? read/write + read_only?
| Reporter | ||
Comment 2•13 years ago
|
||
I think just a read/write user would work. "graphite" works for me!
| Assignee | ||
Comment 3•13 years ago
|
||
OK, it being read-only Friday, I'll do this on Monday.
Assignee: server-ops-database → scabral
Comment 4•13 years ago
|
||
graphite_mozilla_org will probably be easier to track and consistent with the site name :D
| Assignee | ||
Comment 5•13 years ago
|
||
only production, no dev? :D
| Assignee | ||
Comment 6•13 years ago
|
||
OK, created the db and the host:
MariaDB [(none)]> create database if not exists graphite_mozilla_org;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> grant all on graphite_mozilla_org.* to graphite@10.22.70.20_ identified by 'ELIDED';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all on graphite_mozilla_org.* to graphite@10.22.70.21_ identified by 'ELIDED';
Query OK, 0 rows affected (0.00 sec)
This will allow the graphite user from the load balancers.
The password is on rocky aka admin1a.private.scl3.mozilla.com in /home/eziegenhorn/graphite_pass
If it looks good, please close.
| Reporter | ||
Comment 7•13 years ago
|
||
Tested in scl3, thanks!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
I created the db on the generic cluster in phx1 using the new hashed password that was altered from the default given.
mysql> create database if not exists graphite_mozilla_org;
Query OK, 1 row affected (0.24 sec)
mysql> grant all on graphite_mozilla_org.* to graphite@10.8.70.20_ identified by *PASSWORD;
Query OK, 0 rows affected (0.06 sec)
mysql> grant all on graphite_mozilla_org.* to graphite@10.8.70.21_ identified by *PASSWORD;
Query OK, 0 rows affected (0.06 sec)
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
•