Page MenuHomePhabricator

Database Creation request for requestctl.wikimedia.org
Closed, ResolvedPublic

Description

QPS: Normally, zero. In some specific moment, 10 QPS at peak
Size: less than 10 MB at the start
DB Name: requestctl
User: gus_gus
Accessed from server (s): Alert*; eventually the kubernetes aux worker nodes
Backup Policy: Weekly is ok
Grants needed: read/write, table creation and modification.

Replica: if possible, having cross-dc replica would be great. I want to underline that there's also the option of running a dedicated mariadb instance within the kubernetes aux cluster for this specific project, which would allow for independent switchovers. Given the scarcity of traffic involved, and the small size of the db, we should consider this option.

Event Timeline

Marostegui triaged this task as Medium priority.
Marostegui moved this task from Triage to Refine on the DBA board.
Marostegui subscribed.

We do have a replica on each DC for all mX sections (where this database would land). Do you need to read from it or is it just for HA?
This is a misc example topology: https://orchestrator.wikimedia.org/web/cluster/alias/m1

@Joe if you want to use your "own" database on k8s, that's entirely up to you. Otherwise we can place this db in m2 cc @FCeratto-WMF

As discussed on IRC I'm creating the database as:

DB Name: requestctl
User: gus_gus
Section: m2

Remember the user needs to have privileges from the proxies IPs only and the connection should be made to m2-master.eqiad.wmnet as that is rerouted via haproxy to the appropiated host.

Change #1214002 had a related patch set uploaded (by Federico Ceratto; author: Federico Ceratto):

[operations/puppet@production] production-m2.sql.erb: Add requestctl database grants

https://gerrit.wikimedia.org/r/1214002

Change #1214002 merged by Federico Ceratto:

[operations/puppet@production] production-m2.sql.erb: Add requestctl database grants

https://gerrit.wikimedia.org/r/1214002

Verified out-of-band on IRC: @Joe received the password and the database is ready. Closing.