diff options
author | doc <doc@filenotfound.org> | 2025-06-30 20:06:28 +0000 |
---|---|---|
committer | doc <doc@filenotfound.org> | 2025-06-30 20:06:28 +0000 |
commit | 717fcb9c81d2bc3cc7a84a3ebea6572d7ff0f5cf (patch) | |
tree | 7cbd6a8d5046409a82b22d34b01aac93b3e24818 /procedures/decom.md | |
parent | 8368ff389ec596dee6212ebeb85e01c638364fb3 (diff) |
Diffstat (limited to 'procedures/decom.md')
-rw-r--r-- | procedures/decom.md | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/procedures/decom.md b/procedures/decom.md new file mode 100644 index 0000000..525e295 --- /dev/null +++ b/procedures/decom.md @@ -0,0 +1,57 @@ +# ποΈ Decommissioning Checklist for `shredderv1` + +**Date:** 2025-05-01 + +--- + +## π 1. Verify Nothing Critical Is Running +- [ ] Confirm all services (e.g., AzuraCast, Docker containers, media playback) have **been migrated** +- [ ] Double-check DNS entries (e.g., CNAMEs or A records) have been **updated to the new server** +- [ ] Ensure any **active mounts, Rclone remotes, or scheduled tasks** are disabled + +--- + +## π¦ 2. Migrate/Preserve Data +- [ ] Backup and copy remaining relevant files (station configs, logs, recordings, playlists) +- [ ] Verify data was successfully migrated to the new ZFS-based AzuraCast VM +- [ ] Remove temporary backup files and export archives + +--- + +## π§Ή 3. Remove from Infrastructure +- [ ] Remove from monitoring tools (e.g., Prometheus, Nagios, Grafana) +- [ ] Remove from Ansible inventory or configuration management systems +- [ ] Remove any scheduled crons or automation hooks targeting this VM + +--- + +## π§ 4. Disable and Secure +- [ ] Power down services (`docker stop`, `systemctl disable`, etc.) +- [ ] Disable remote access (e.g., SSH keys, user accounts) +- [ ] Lock or archive internal credentials (e.g., API tokens, DB creds, rclone configs) + +--- + +## π§½ 5. Wipe or Reclaim Resources +- [ ] If VM: Delete or archive VM snapshot in Proxmox or hypervisor +- [ ] If physical: Securely wipe disks (e.g., `shred`, `blkdiscard`, or DBAN) +- [ ] Reclaim IP address (e.g., assign to new ZFS-based VM) + +--- + +## π 6. Documentation & Closure +- [ ] Log the decommission date in your infrastructure inventory or documentation +- [ ] Tag any previous support tickets/issues as βResolved (Decommissioned)β +- [ ] Inform team members that `shredderv1` has been retired + +--- + +## π« Final Step +```bash +shutdown -h now +``` + +Or if you're feeling dramatic: +```bash +echo "Goodnight, sweet prince." && shutdown -h now +``` |