Skip to content

Commit

Permalink
Merge branch 'decommission-docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Aug 3, 2023
2 parents aa80fae + 296a10f commit fda8ddf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/deploy/delete_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A server is deleted either when a service is moving to a new server (:doc:`creat
As with other deployment tasks, do the :ref:`setup tasks<generic-setup>` before (and the :ref:`cleanup tasks<generic-cleanup>` after) the steps below.

#. If appropriate, notify relevant users of the change
#. Remove the server from ``salt/prometheus/server/files/config/conf-prometheus.yml``
#. Remove the server from ``salt/prometheus/files/conf-prometheus.yml``
#. :doc:`Deploy<deploy>` the Prometheus service
#. Shutdown the server via the :ref:`host<hosting>`'s interface
#. Remove all occurrences of the server's FQDN and IP address from this repository
Expand All @@ -25,4 +25,14 @@ If the service is being retired:

Finally:

#. Securely erase data:

#. Request a *Rescue* system via the :ref:`host<hosting>`'s interface and connect as ``root``
#. Connect to the server, and open a session in :ref:`tmux<tmux>`
#. Securely erase data from the relevant device(s), for example:

.. code-block:: bash
shred -z -n 1 -v /dev/sda
#. Cancel the server via the host's interface

0 comments on commit fda8ddf

Please sign in to comment.