Page MenuHomePhabricator

Decommission db2034
Closed, ResolvedPublic

Description

db2034 is fully ready to be decommissioned. All the service owner steps are done, so pending DCOPs steps.

db2034

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 to decom
  • - 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), netbox status to offline
  • - IF DECOM: switch port configration removed from switch once system is unracked. also trace it out since its not labeled on the switch
  • - IF DECOM: add system to decommission tracking google sheet
  • - IF DECOM: mgmt dns entries removed.

Event Timeline

cookbooks.sre.hosts.decommission executed by robh@cumin1001 for hosts: db2034.codfw.wmnet

  • db2034.codfw.wmnet
    • Removed from Puppet master and PuppetDB
    • Downtimed host on Icinga
    • Downtimed management interface on Icinga
    • Removed from DebMonitor

I cannot locate the labeled switch port on the switch, so @Papaul will need to trace and disable this via on-site work.

Change 531986 had a related patch set uploaded (by RobH; owner: RobH):
[operations/puppet@production] decom db2034

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

Change 531987 had a related patch set uploaded (by RobH; owner: RobH):
[operations/dns@master] db2034 prod dns decom

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

Change 531986 merged by RobH:
[operations/puppet@production] decom db2034

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

Change 531987 merged by RobH:
[operations/dns@master] db2034 prod dns decom

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

RobH removed a project: Patch-For-Review.
RobH updated the task description. (Show Details)
papaul@asw-a-codfw# run show interfaces ge-5/0/32 descriptions    
Interface       Admin Link Description
ge-5/0/32       down  down DISABLED

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

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

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

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

Papaul updated the task description. (Show Details)

Complete