add some MQ notes
[mirror/dsa-wiki.git] / input / howto / decomission.mdwn
index 6271f62..c4e5c58 100644 (file)
@@ -8,13 +8,18 @@
 
  * Revoke puppet certificate
 
-    on handel: puppetca clean $HOST
+   * on handel: puppet node clean $HOST
+   * reinit samhain on handel
 
  * Remove from LDAP
+   * rerun puppet on beethoven / the backup host
+   * reinit samhain on beethoven
  * Remove from Nagios
  * Remove any references from puppet configuration
  * Remove references to the host from DNS files, including reverse DNS
  * Get rid of the HW (tell the hoster to get rid of it or other as appropriate)
+ * Remove MQ queues related to machine (see [[MQ]] for details)
+    for queue in $(rabbitmqadmin -N rainier list queues name | grep unger.debian.org | awk '{print $2}') ; do rabbitmqadmin -N rainier -V dsa delete queue name=$queue; done
 
 Three months after decomissioning: