Make the badblocks invocation vaguely more copy/paste friendly
[mirror/dsa-wiki.git] / input / howto / decomission.mdwn
1 # Decomissioning hosts
2
3  * Get rid of any services running on the host.
4  * Optional, shut down the machine, then wait a month
5  * Zero disks
6
7     badblocks -v -s -p 5 -w -f DEVICE_GOES_HERE
8
9  * Revoke puppet certificate
10
11     on handel: puppetca clean $HOST
12
13  * Remove from LDAP
14  * Remove from Nagios
15  * Remove any references from puppet configuration
16  * Remove references to the host from DNS files, including reverse DNS
17  * Get rid of the HW (tell the hoster to get rid of it or other as appropriate)
18
19 Three months after decomissioning:
20
21  * Remove backups