Page MenuHomePhabricator

Decommission db2041
Closed, ResolvedPublic

Description

db2041 is ready to be decommissioned

db2041

Decommission Checklist

START NON-INTERRUPPTABLE STEPS - please assign to @RobH for the non-interrupt steps

  • - disable puppet on host
  • - power down host
  • - update status in netbox (inventory for decom, planned for spare)
  • - disable switch port
  • - switch port assignment noted on this task (for later removal)
  • - remove all remaining puppet references (include role::spare)
  • - remove production dns entries
  • - puppet node clean, puppet node deactivate (handled by wmf-decommission-host)
  • - remove dbmonitor entries on neodymium/sarin: sudo curl -X DELETE https://debmonitor.discovery.wmnet/hosts/${HOST_FQDN} --cert /etc/debmonitor/ssl/cert.pem --key /etc/debmonitor/ssl/server.key (handled by wmf-decommission-host)

END NON-INTERRUPPTABLE STEPS

  • - system disks wiped (by onsite) use hdparm for ssds and wipe for hdds
  • - IF DECOM: system unracked and decommissioned (by onsite), update racktables with result
  • - IF DECOM: switch port configration removed from switch once system is unracked.
  • - IF DECOM: add system to decommission tracking google sheet
  • - IF DECOM: mgmt dns entries removed.

Event Timeline

Change 511628 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/mediawiki-config@master] db-eqiad,db-codfw.php: Remove db2041

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

Change 511628 merged by jenkins-bot:
[operations/mediawiki-config@master] db-eqiad,db-codfw.php: Remove db2041

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

Mentioned in SAL (#wikimedia-operations) [2019-05-21T05:42:16Z] <marostegui@deploy1001> Synchronized wmf-config/db-codfw.php: Remove db2041 for decommissioning T223950 (duration: 00m 51s)

Mentioned in SAL (#wikimedia-operations) [2019-05-21T05:43:29Z] <marostegui@deploy1001> Synchronized wmf-config/db-eqiad.php: Remove db2041 for decommissioning T223950 (duration: 00m 51s)

Marostegui triaged this task as Medium priority.May 21 2019, 5:46 AM
Marostegui updated the task description. (Show Details)

Mentioned in SAL (#wikimedia-operations) [2019-05-21T05:50:23Z] <marostegui> Remove db2041 from tendril and zarcillo - T223950

Change 511629 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/puppet@production] mariadb: Decommission db2041

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

Mentioned in SAL (#wikimedia-operations) [2019-05-21T08:56:13Z] <marostegui> Stop MySQL on db2041 as it will be decommissioned T223950

Change 511629 merged by Marostegui:
[operations/puppet@production] mariadb: Decommission db2041

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

Marostegui updated the task description. (Show Details)
Marostegui added a subscriber: Papaul.

This host is ready for DCOPs to take over.

Change 539016 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/puppet@production] mariadb: Remove entries for db2037-db2041

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

Change 539017 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/dns@master] wmnet: Remove production entries db2037-db2041

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

cookbooks.sre.hosts.decommission executed by marostegui@cumin1001 for hosts: db2041.codfw.wmnet

  • db2041.codfw.wmnet (PASS)
    • Downtimed host on Icinga
    • Downtimed management interface on Icinga
    • Wiped bootloaders
    • Powered off
    • Set Netbox status to Decommissioning
    • Removed from DebMonitor
    • Removed from Puppet master and PuppetDB

Change 539016 merged by Marostegui:
[operations/puppet@production] mariadb: Remove entries for db2037-db2041

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

Change 539017 merged by Marostegui:
[operations/dns@master] wmnet: Remove production entries db2037-db2041

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

Marostegui removed a project: Patch-For-Review.
Marostegui updated the task description. (Show Details)

Host ready for @Papaul to decommission

papaul@asw-c-codfw# show |compare 
[edit interfaces interface-range vlan-private1-c-codfw]
-    member ge-6/0/8;
[edit interfaces interface-range disabled]
     member ge-6/0/5 { ... }
+    member ge-6/0/8;
[edit interfaces]
-   ge-6/0/8 {
-       description db2041;
-       enable;
-   }

Change 540230 had a related patch set uploaded (by Papaul; owner: Papaul):
[operations/dns@master] DNS: Remove mgmt DNS for db2041 db204[3-4] db204[6-7] and db2049

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

Change 540230 merged by Papaul:
[operations/dns@master] DNS: Remove mgmt DNS for db2041 db204[3-4] db204[6-7] and db2049

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