1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
```
|