... | ... | @@ -3,15 +3,7 @@ |
|
|
1. long before (weeks or months) the machine is retired, make
|
|
|
sure users are aware it will go away and of its replacement services
|
|
|
2. remove the host from `tor-nagios/config/nagios-master.cfg`
|
|
|
3. if applicable, stop the VM in advance:
|
|
|
|
|
|
* If the VM is on a KVM host: `virsh shutdown $host`, or at least stop the
|
|
|
primary service on the machine
|
|
|
|
|
|
* If the machine is on ganeti: `gnt-instance stop $host`
|
|
|
TODO: move this into Fabric
|
|
|
4. after a delay, retire the host from its parent, backups and
|
|
|
Puppet, for example:
|
|
|
3. retire the host from its parent, backups and Puppet, for example:
|
|
|
|
|
|
./retire -v -H $INSTANCE retire-all --parent-host=$PARENT_HOST
|
|
|
|
... | ... | @@ -53,15 +45,14 @@ Equivalent retirement checklist to copy-paste in retirement tickets: |
|
|
|
|
|
1. [ ] announcement
|
|
|
2. [ ] nagios
|
|
|
3. [ ] stop the VM in advance:
|
|
|
4. [ ] retire the host in fabric
|
|
|
5. [ ] remove from LDAP with `ldapvi`
|
|
|
6. [ ] power-grep
|
|
|
7. [ ] remove from tor-passwords
|
|
|
8. [ ] remove from DNSwl
|
|
|
9. [ ] remove from docs
|
|
|
10. [ ] remove from racks
|
|
|
11. [ ] remove from reverse DNS
|
|
|
3. [ ] retire the host in fabric
|
|
|
4. [ ] remove from LDAP with `ldapvi`
|
|
|
5. [ ] power-grep
|
|
|
6. [ ] remove from tor-passwords
|
|
|
7. [ ] remove from DNSwl
|
|
|
8. [ ] remove from docs
|
|
|
9. [ ] remove from racks
|
|
|
10. [ ] remove from reverse DNS
|
|
|
|
|
|
## Wiping disks
|
|
|
|
... | ... | |