Changes between Version 3 and Version 4 of decommission_kvm
- Timestamp:
- May 23, 2012, 12:58:39 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
decommission_kvm
v3 v4 21 21 {{{ 22 22 # rm -rf /etc/sv/kvm/GUESTNAME 23 }}} 24 25 == Removing the guest user == 26 27 {{{ 28 deluser --remove-home GUESTNAME 23 29 }}} 24 30 … … 77 83 Now 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. 78 84 85 == Clean up on helper servers == 86 87 On jojobe.mayfirst.org (nagios server), check for and delete: 88 89 {{{ 90 /etc/nagios3/conf.d/nodes/GUESTNAME.cfg 91 }}} 92 93 On the designated backup servers (should be designated in puppet file if it exists): 94 95 {{{ 96 deluser --remove-home GUESTNAME-sync 97 }}} 98 99 On your own workstation in the MFPL puppet git repo: 100 101 {{{ 102 git rm manifests/nodes/production/GUESTNAME.pp 103 git commit -m "decomissioning GUESTNAME" 104 }}} 105 106 Delete node from http://servers.mayfirst.org/ 107 79 108 You've now decommissioned a server!