Decommissioning Servers
From Wikitech
(Difference between revisions)
Bhartshorne (Talk | contribs) |
|||
| Line 3: | Line 3: | ||
* Check/Update/Remove server from [[Server_roles]] : This is becoming very outdated, but should be updated and checked on servers removed. | * 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 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.) | ||
| + | ** check http://noc.wikimedia.org/conf/highlight.php?file=db.php | ||
| + | * if apache, ensure it is not an external store database | ||
| + | ** check http://noc.wikimedia.org/conf/highlight.php?file=db.php | ||
* If apache, ensure it is not a memcached server or external store server. | * If apache, ensure it is not a memcached server or external store server. | ||
| + | ** check http://noc.wikimedia.org/conf/highlight.php?file=mc.php | ||
* 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. (Currently only removes the server from Nagios.) | + | * Add the server to the decommissioning puppet manifest & update puppet on the target server. (Currently only removes the server from Nagios.) |
| − | * Remove the certificate for the server off sockpuppet. | + | * Remove the certificate for the server off sockpuppet (puppetca -c $fqdn). |
| − | * Wipe data off server. | + | * Wipe data off server (ask RobH or whomever is physically present in the datacenter to do this - it's easier in person). |
* Move the server to decomissioned racks in racktables. | * Move the server to decomissioned racks in racktables. | ||
| − | |||
| − | |||
| − | |||
[[Category:How-To]] | [[Category:How-To]] | ||
Revision as of 18:01, 23 August 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 & update puppet on the target server. (Currently only removes the server from Nagios.)
- Remove the certificate for the server off sockpuppet (puppetca -c $fqdn).
- Wipe data off server (ask RobH or whomever is physically present in the datacenter to do this - it's easier in person).
- Move the server to decomissioned racks in racktables.