User Tools

Site Tools


infra:operations:proxmox-maintenance

This is an old revision of the document!


Proxmox maintenance

This is a runbook for planned maintenance on the Hackeriet Proxmox hosts in klynge001. It is documentation and procedure, not inventory. Use NetBox for canonical device, IP, cabling, and VM placement data, but verify live Proxmox state before deciding maintenance impact.

Current scope

Planned hosts:

Current goals:

  • Bring host006 and host007 up to date.
  • Review failed services and storage health.
  • Keep the cluster healthy while working one host at a time.
  • Avoid guest-level changes unless needed for recovery.

This page covers Proxmox host maintenance. Service hosts that have moved away from this cluster should be checked as external service reachability, not treated as direct reboot impact from host006 or host007.

Announcement draft

Planned Proxmox maintenance for Hackeriet

I plan to do maintenance on the Proxmox hosts host006 and host007 in the klynge001 cluster one of the next days.

Scope:

  • OS and Proxmox package updates
  • storage and backup health checks
  • failed service review
  • possible host reboots if required

Expected impact:

  • VMs still running on host006 or host007 may be briefly unavailable if their host is rebooted.
  • Public services such as wiki, IDP, NetBox, LibreNMS, app-01, and ingress will be checked before and after maintenance, but are not expected to be affected by these Proxmox reboots based on current observed state.
  • I will avoid guest-level changes unless needed for recovery.
  • I will work on one host at a time and check cluster health between steps.

Current service placement notes

Observed on 2026-05-27:

  • ingress is stopped in Proxmox on host006, while ingress.hackeriet.no is reachable elsewhere.
  • app-01 is stopped in Proxmox on host006, while app-01.hackeriet.no is reachable elsewhere.
  • blade is stopped in Proxmox on host007, while blade.hackeriet.no and public services hosted there are reachable elsewhere.
  • idp1 is stopped in Proxmox on host007, while idp.hackeriet.no is reachable.

Current implication:

  • Do not list moved services as expected reboot impact from host006 or host007.
  • Use live qm list output, not stale inventory records, to decide what a Proxmox reboot will affect.
  • Keep public service checks as regression checks, because DNS, routing, or documentation can still be wrong.

NetBox still appears to contain stale VM placement for some moved systems. Treat NetBox as inventory to clean up later, not as the final maintenance-impact source for those systems.

Current Proxmox impact

Before maintenance, refresh this with live qm list on each node.

Observed on 2026-05-27, host006 running guests included:

  • matrix
  • aleksei
  • login
  • jakkn
  • m
  • sub-planar
  • emma
  • foxboron
  • meshtastic-br

Observed on 2026-05-27, host007 running guests included:

  • jakkn2
  • fr30n
  • bergh
  • haus-forum
  • haus
  • hyperboria
  • nux
  • chat

Stopped legacy or moved VMs should remain untouched unless the maintenance task explicitly includes cleanup or migration review.

DNS and service guardrails

Live DNS checks on 2026-05-23 showed that hackeriet.no has two authoritative nameservers:

  • ns0.hackeriet.no - Hackeriet hosted, resolves to blade at 185.35.202.202 and 2a02:ed06::202
  • ns.hyp.net - external nameserver, resolves to 194.63.248.53 and 2a01:5b40:0:248::53

Both authoritative nameservers served the same SOA serial when checked. DNS resolution should survive a short outage of ns0 because ns.hyp.net is external and synced. Do not treat this as service redundancy.

Before rebooting anything, check DNS redundancy:

dig @ns0.hackeriet.no SOA hackeriet.no
dig @ns.hyp.net SOA hackeriet.no

The SOA serial should match.

Check public services as guardrails, not as direct Proxmox dependency claims:

curl -I https://hackeriet.no/
curl -I https://wiki.hackeriet.no/
curl -I https://idp.hackeriet.no/
curl -I https://ip.hackeriet.no/
curl -I https://nms.hackeriet.no/

Pre-maintenance checks

Run on both host006 and host007 before making changes:

hostname -f
pveversion -v
pvecm status
systemctl --failed --no-pager
pvesm status
df -h
qm list
cat /etc/pve/jobs.cfg
apt update
apt list --upgradable
test -f /var/run/reboot-required && cat /var/run/reboot-required || true

On host006, also check local storage pressure:

du -sh /var/lib/vz/dump /var/lib/vz/template/iso /var/log /var/cache/apt /root/proxmox-templates /var/lib/fail2ban

Host006 storage and backup context is documented at Proxmox backups.

Maintenance procedure

Work one host at a time. Do not reboot both host006 and host007 at once.

Suggested order:

  1. Start with host006 if the main concern is storage and backup health.
  2. Start with host007 if its running guests need to be handled first.

For each host:

  1. Confirm cluster state with pvecm status.
  2. Confirm storage state with pvesm status and df -h.
  3. Review running guests with qm list.
  4. Confirm no unexpected critical service VM is running on the host before rebooting.
  5. Review failed units with systemctl –failed –no-pager.
  6. Run apt update.
  7. Review apt list –upgradable.
  8. Apply updates only after reviewing the package set.
  9. Reboot only if required or clearly useful.
  10. After reboot, wait for the node to return and confirm cluster health before touching the next host.

Suggested update command, after review:

apt full-upgrade

Do not change guest VM configuration as part of host maintenance unless needed for recovery.

Post-host checks

After each host update or reboot:

hostname -f
pveversion -v
pvecm status
systemctl --failed --no-pager
pvesm status
df -h
qm list

Check public services as regression checks:

curl -I https://hackeriet.no/
curl -I https://wiki.hackeriet.no/
curl -I https://idp.hackeriet.no/
curl -I https://ip.hackeriet.no/
curl -I https://nms.hackeriet.no/

Check actual services, not only DNS, when the relevant host has been touched.

Known caveats

  • host006 has about 1 TB physical storage, but Proxmox local storage is on the root filesystem. The root filesystem was previously close to full, and local backups under /var/lib/vz/dump were the main pressure point.
  • During host006 maintenance, avoid casual LVM reshaping. It can put VM disks at risk and should only be done with a maintenance window and recovery plan.
  • Certificate automation for internal Proxmox hostnames is documented at Proxmox ACME DNS automation.
  • NetBox placement may be stale for moved service VMs. Verify live Proxmox state with qm list.

Safety notes

  • There is no plan, and we should avoid, to touch guest VMs unless required for recovery.
  • Do not change DNS during the maintenance window unless DNS itself is the incident.
  • There is no plan, and we should avoid, delete backups or ISOs without understanding what they are.
  • Keep notes locally while working; wiki, NetBox, IDP, and public services may be affected depending on which host is down.
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/operations/proxmox-maintenance.1779899793.txt.gz · Last modified: by atluxity_idp.hackeriet.no