These new hosts will replace db2093, db2094 and db2095
- db2185 (replacing db2093 zarcillo)
- db2186 (replacing db2094 - sanitarium)
- db2187 (replacing db2095 - sanitarium)
Marostegui | |
Jan 9 2023, 10:30 PM |
F36876071: backup.png | |
Feb 28 2023, 1:01 PM |
These new hosts will replace db2093, db2094 and db2095
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Unknown Object (Task) | |||||
Resolved | Papaul | T326342 Q3:rack/setup/install db218[567] | |||
Resolved | Marostegui | T326584 Decommission db209[345] | |||
Resolved | Request | Jhancock.wm | T330975 decommission db2095.codfw.wmnet | ||
Resolved | Marostegui | T326596 Productionize db218[567] | |||
Resolved | Request | Jhancock.wm | T330827 decommission db2093.codfw.wmnet | ||
Resolved | Request | Jhancock.wm | T330828 decommission db2094.codfw.wmnet |
Mentioned in SAL (#wikimedia-operations) [2023-02-28T07:04:02Z] <marostegui> Stop mysql on db2094 T326596
Change 892827 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] mariadb: Productionize db2186
Change 892827 merged by Marostegui:
[operations/puppet@production] mariadb: Productionize db2186
Change 892939 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] install_server: Do not reimage db2186
Change 892939 merged by Marostegui:
[operations/puppet@production] install_server: Do not reimage db2186
Change 892941 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] mariadb: Productionize db2185
Change 892941 merged by Marostegui:
[operations/puppet@production] mariadb: Productionize db2185
Change 892948 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] dbprov2002.cnf.erb: Change db_inventory target
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
Change 892953 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] common.yaml: Add db2185
Change 892953 merged by Marostegui:
[operations/puppet@production] common.yaml: Add db2185
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
Change 893104 merged by Marostegui:
[operations/puppet@production] install_server: Do not reimage db2185
Change 893390 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] mariadb: Productionize db2187
Change 893390 merged by Marostegui:
[operations/puppet@production] mariadb: Productionize db2187
Change 893391 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] site.pp: Remove db2187 as insetup
Change 893391 merged by Marostegui:
[operations/puppet@production] site.pp: Remove db2187 as insetup
Change 893420 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] check_private_data_report: Add db2187
Change 893420 merged by Marostegui:
[operations/puppet@production] check_private_data_report: Add db2187
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
Change 893588 merged by Marostegui:
[operations/puppet@production] check_private_data_report: Remove db2095
Change 893845 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] install_server: Do not reimage db2187
Change 893845 merged by Marostegui:
[operations/puppet@production] install_server: Do not reimage db2187
Change 903602 had a related patch set uploaded (by Marostegui; author: Marostegui):
[operations/puppet@production] orchestrator.conf.json.erb: Replace sanitarium hosts
Change 903602 merged by Marostegui:
[operations/puppet@production] orchestrator.conf.json.erb: Replace sanitarium hosts