Decommissioning Servers

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(update)
Line 10: Line 10:
 
* Remove from LVS pybal configuration(s).
 
* Remove from LVS pybal configuration(s).
 
* Remove from DSH node lists.
 
* Remove from DSH node lists.
* Add the server to the decommissioning puppet manifest & update puppet on the target server. (Currently only removes the server from Nagios.)
+
* Add the server to the decommissioning puppet manifest
 +
* Remove the specific node entry for the server, so only "standard" gets run.
 +
* Update puppet on the target server.
 +
* Run (on sockpuppet):
 +
# puppetstoredconfigclean.rb ''server fqdn''
 
* Remove the certificate for the server off sockpuppet (puppetca -c $fqdn).
 
* Remove the certificate for the server off sockpuppet (puppetca -c $fqdn).
 
* Wipe data off server (To wipe disks, systems must be removed from the network.  Enter an RT ticket for the onsite technician to do so in the relevant RT queue).
 
* Wipe data off server (To wipe disks, systems must be removed from the network.  Enter an RT ticket for the onsite technician to do so in the relevant RT queue).

Revision as of 12:05, 29 November 2011

Currently the process for decommissioning servers is under a state of flux. Things are being updated to make this process more standardized and streamlined.

  • Check/Update/Remove server from Server_roles : This is becoming very outdated, but should be updated and checked on servers removed.
  • If database server, ensure it is not online in any cluster and that mysql services are not running (or slaved to another server, or providing the master server for others to replicate.)
  • if apache, ensure it is not an external store database
  • If apache, ensure it is not a memcached server or external store server.
  • Remove from LVS pybal configuration(s).
  • Remove from DSH node lists.
  • Add the server to the decommissioning puppet manifest
  • Remove the specific node entry for the server, so only "standard" gets run.
  • Update puppet on the target server.
  • Run (on sockpuppet):
# puppetstoredconfigclean.rb server fqdn
  • Remove the certificate for the server off sockpuppet (puppetca -c $fqdn).
  • Wipe data off server (To wipe disks, systems must be removed from the network. Enter an RT ticket for the onsite technician to do so in the relevant RT queue).
  • Move the server to decomissioned racks in racktables.
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox