Changes between Version 3 and Version 4 of decommission_kvm


Ignore:
Timestamp:
May 23, 2012, 12:58:39 AM (7 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • decommission_kvm

    v3 v4  
    2121{{{
    2222# rm -rf /etc/sv/kvm/GUESTNAME
     23}}}
     24
     25== Removing the guest user ==
     26
     27{{{
     28deluser --remove-home GUESTNAME
    2329}}}
    2430
     
    7783Now run 'vgs' again and make sure the new disk space has been added back to the volume group.  You should see an increase in the 'VFree' column of the output of the 'vgs' command.
    7884
     85== Clean up on helper servers ==
     86
     87On jojobe.mayfirst.org (nagios server), check for and delete:
     88
     89{{{
     90/etc/nagios3/conf.d/nodes/GUESTNAME.cfg
     91}}}
     92
     93On the designated backup servers (should be designated in puppet file if it exists):
     94
     95{{{
     96deluser --remove-home GUESTNAME-sync
     97}}}
     98
     99On your own workstation in the MFPL puppet git repo:
     100
     101{{{
     102git rm manifests/nodes/production/GUESTNAME.pp
     103git commit -m "decomissioning GUESTNAME"
     104}}}
     105
     106Delete node from http://servers.mayfirst.org/
     107
    79108You've now decommissioned a server!