Page MenuHomePhabricator

decommission db2038
Closed, ResolvedPublicRequest

Description

This task will track the decommission-hardware of server db2038.codfw.wmnet

The first 5 steps should be completed by the service owner that is returning the server to DC-ops (for reclaim to spare or decommissioning, dependent on server configuration and age.)

db2038.codfw.wmnet

Steps for service owner:

Steps for DC-Ops:

The following steps cannot be interrupted, as it will leave the system in an unfinished state.

Start non-interrupt steps:

  • - disable puppet on host
  • - power down host
  • - update netbox status to Inventory (if decom) or Planned (if 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-interrupt steps.

  • - system disks wiped (by onsite)
  • - 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.
  • - IF RECLAIM: system added back to spares tracking (by onsite)

Event Timeline

Marostegui renamed this task from decommission db2035 to decommission db2038.Jul 9 2019, 8:47 AM
Marostegui created this task.
Marostegui updated the task description. (Show Details)

Change 521435 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/puppet@production] db2038: Disable notifications

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

Change 521435 merged by Marostegui:
[operations/puppet@production] db2038: Disable notifications

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

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

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

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

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

Mentioned in SAL (#wikimedia-operations) [2019-07-30T08:10:07Z] <marostegui> Remove db2038 from tendril and zarcillo T227565

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

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

Change 526382 merged by Marostegui:
[operations/puppet@production] mariadb: Decommission db2038

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

Marostegui updated the task description. (Show Details)
Marostegui edited projects, added ops-codfw; removed Patch-For-Review.

This host is ready for DC-Ops to finish its decommission

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: db2038.codfw.wmnet

  • db2038.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 updated the task description. (Show Details)
Marostegui removed a project: Patch-For-Review.

Host ready for @Papaul to decommission

papaul@asw-c-codfw# show | compare 
[edit interfaces interface-range vlan-private1-c-codfw]
-    member ge-6/0/5;
[edit interfaces interface-range disabled]
     member ge-6/0/4 { ... }
+    member ge-6/0/5;
[edit interfaces]
-   ge-6/0/5 {
-       description db2038;
-       enable;
-   }
Papaul updated the task description. (Show Details)

Change 539995 had a related patch set uploaded (by Papaul; owner: Papaul):
[operations/dns@master] DNS: Remove mgmt DNS for db2038

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

Change 539995 merged by Papaul:
[operations/dns@master] DNS: Remove mgmt DNS for db2038

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

Papaul updated the task description. (Show Details)

This is complete