Page MenuHomePhabricator

Productionize db218[567]
Closed, ResolvedPublic

Description

These new hosts will replace db2093, db2094 and db2095

  • db2185 (replacing db2093 zarcillo)
  • db2186 (replacing db2094 - sanitarium)
  • db2187 (replacing db2095 - sanitarium)

Related Objects

Event Timeline

Marostegui triaged this task as Medium priority.Jan 9 2023, 10:30 PM
Marostegui moved this task from Triage to Blocked on the DBA board.
Marostegui updated the task description. (Show Details)

Extended their lv to the max after the installation.

Change 892827 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] mariadb: Productionize db2186

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

Change 892827 merged by Marostegui:

[operations/puppet@production] mariadb: Productionize db2186

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

Change 892939 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] install_server: Do not reimage db2186

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

Change 892939 merged by Marostegui:

[operations/puppet@production] install_server: Do not reimage db2186

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

Change 892941 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] mariadb: Productionize db2185

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

Change 892941 merged by Marostegui:

[operations/puppet@production] mariadb: Productionize db2185

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

Change 892948 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] dbprov2002.cnf.erb: Change db_inventory target

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

db2185 is now up and replicating. To consider it fully production we need to merge and test https://gerrit.wikimedia.org/r/c/operations/puppet/+/892948

Change 892948 merged by Marostegui:

[operations/puppet@production] dbprov2002.cnf.erb: Change db_inventory target

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

Change 892953 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] common.yaml: Add db2185

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

Change 892953 merged by Marostegui:

[operations/puppet@production] common.yaml: Add db2185

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

db2186 is now up and catching up. I am going to test all the scripts (like check data, redact sanitarium etc)

Mentioned in SAL (#wikimedia-operations) [2023-02-28T13:59:42Z] <marostegui> Create dummy and empty enwiki.text table on db2186:3311 to test check_private_data T326596

I have created a dummy enwiki.text table on db2186:3311 and it gets correctly seen by check_private_data.
Going to leave it there to make sure it is also caught by the cronjob

root@db2186:/srv#  check_private_data.py -S /run/mysqld/mysqld.s1.sock
-- Non-public databases that are present:
-- Non-public tables that are present:
DROP TABLE IF EXISTS `enwiki`.`text`;
-- Unfiltered columns that are present:

The email warning about private data on db2186:3311 arrived correctly. I just removed the dummy table

Mentioned in SAL (#wikimedia-operations) [2023-03-01T05:37:21Z] <marostegui> Stop mysql on codfw sanitarium host db2095 (s2, s7, s6, s4) to clone db2187 T326596

Change 893104 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] install_server: Do not reimage db2185

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

Change 893104 merged by Marostegui:

[operations/puppet@production] install_server: Do not reimage db2185

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

Change 893390 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] mariadb: Productionize db2187

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

Change 893390 merged by Marostegui:

[operations/puppet@production] mariadb: Productionize db2187

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

Change 893391 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] site.pp: Remove db2187 as insetup

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

Change 893391 merged by Marostegui:

[operations/puppet@production] site.pp: Remove db2187 as insetup

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

Change 893420 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] check_private_data_report: Add db2187

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

Change 893420 merged by Marostegui:

[operations/puppet@production] check_private_data_report: Add db2187

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

db2187 is now up and replicating s2, s4, s6 and s7.
I am checking the data to make sure triggers are working fine. I will also leave a dummy table on frwiki.text to see if it is reported correctly tomorrow morning by the automatic check - similar to what was done at T326596#8652681

root@db2187:/srv# check_private_data.py -S /run/mysqld/mysqld.s6.sock
-- Non-public databases that are present:
-- Non-public tables that are present:
DROP TABLE IF EXISTS `frwiki`.`text`;
-- Unfiltered columns that are present:

The email warning about private data on db2187:3316 arrived correctly. I just removed the dummy table

Change 893588 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] check_private_data_report: Remove db2095

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

Change 893588 merged by Marostegui:

[operations/puppet@production] check_private_data_report: Remove db2095

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

Marostegui updated the task description. (Show Details)

All green in Icinga, resolving.

Change 893845 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] install_server: Do not reimage db2187

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

Change 893845 merged by Marostegui:

[operations/puppet@production] install_server: Do not reimage db2187

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

Change 903602 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] orchestrator.conf.json.erb: Replace sanitarium hosts

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

Change 903602 merged by Marostegui:

[operations/puppet@production] orchestrator.conf.json.erb: Replace sanitarium hosts

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