This task will track the decommission-hardware of graphite2001/WMF6160
- - all system services confirmed offline from production use
- - set all icinga checks to maint mode/disabled while reclaim/decommmission takes place. (handled by wmf-decommission-host)
- - remove system from all lvs/pybal active configuration
- - any service group puppet/heira/dsh config removed
- - remove site.pp (replace with role(spare::system) if system isn't shut down immediately during this process.)
START NON-INTERRUPPTABLE STEPS
- - disable puppet on host
- - power down host
- - update status in netbox (inventory for decom, inventory for spare) - updated to planned since we aren't certain of host's future.
- - disable switch port
- - switch port assignment noted on this task (for later removal) - asw-b-codfw:ge-5/0/1 - asset tag set to port description
- - remove all remaining puppet references (include role::spare)
- - remove production dns entries & mgmt dns entries for the hostname, leave mgmt dns entries for asset tag in palce
- - 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)
- - IF DECOM: system unracked and decommissioned (by onsite), update netbox status to offline and remove from rack in netbox.
- - IF DECOM: switch port configration removed from switch once system is unracked.
- - IF DECOM: add system to decommission tracking google sheet
- - IF DECOM: asset tag mgmt dns entries removed.
- - IF RECLAIM: remove the hostname label and system is already back in 'spares pool' by having the asset tag name in netbox and state of 'inventory'