db1060 is currently sanitarium master for s2
db1102 needs to be switched over db1074 before proceeding with this decommissioning
- Change master db1102 to db1074
Decommission Checklist
- - all system services confirmed offline from production use - should be done by DBA team
- - set all icinga checks to maint mode/disabled while reclaim/decommmission takes place.
- - remove system from all lvs/pybal active configuration - should be done by DBA team: Removed from config: https://gerrit.wikimedia.org/r/#/c/431703/
- - any service group puppet/heira/dsh config removed - should be done by DBA team
- - remove site.pp (replace with role(spare::system) if system isn't shut down immediately during this process.) - should be done by DBA team: https://gerrit.wikimedia.org/r/#/c/431704/
START NON-INTERRUPPTABLE STEPS
- - disable puppet on host
- - power down host
- - disable switch port
- - switch port assignment noted on this task (for later removal) asw2-c-eqiad:ge-2/0/18
- - remove all remaining puppet references (include role::spare)
- - remove production dns entries
- - puppet node clean, puppet node deactivate
- - 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
END NON-INTERRUPPTABLE 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.