infra:operations:proxmox-maintenance
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infra:operations:proxmox-maintenance [2026/05/31 17:16] – Rewrite Proxmox maintenance page after 2026-05-31 maintenance atluxity_idp.hackeriet.no | infra:operations:proxmox-maintenance [2026/06/01 17:32] (current) – Note LibreNMS alerting follow-up for klynge001 atluxity_idp.hackeriet.no | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Proxmox maintenance ====== | ====== Proxmox maintenance ====== | ||
| - | This page documents | + | This page documents maintenance for the Hackeriet Proxmox hosts in [[infra: |
| ===== Current scope ===== | ===== Current scope ===== | ||
| Line 10: | Line 10: | ||
| * [[infra: | * [[infra: | ||
| - | Moved or stopped service VMs should not be treated as direct reboot impact unless live Proxmox state says they are running on one of these hosts. | ||
| - | |||
| - | Known moved/ | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| ===== Last maintenance: | ===== Last maintenance: | ||
| Line 40: | Line 33: | ||
| * Cluster: 2 nodes, expected votes 2, quorate. | * Cluster: 2 nodes, expected votes 2, quorate. | ||
| * No pending package upgrades were listed on either node. | * No pending package upgrades were listed on either node. | ||
| - | * Expected running guests were back online after the host reboots. | ||
| * host006 root filesystem usage was about 72% after cleanup and updates. | * host006 root filesystem usage was about 72% after cleanup and updates. | ||
| * host007 root filesystem usage was about 19% after updates. | * host007 root filesystem usage was about 19% after updates. | ||
| + | |||
| + | Follow-up actions completed after the maintenance: | ||
| + | |||
| + | * Retired Munin on host006 and host007 by disabling and stopping '' | ||
| + | * Cleared stale '' | ||
| + | * Disabled autostart for moved/ | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * Verified that '' | ||
| ===== What we learned ===== | ===== What we learned ===== | ||
| - | * The cluster is currently operating as a two-node cluster. During a single-node reboot, the remaining node can temporarily lose quorum unless expected votes is adjusted. | + | * The cluster is currently operating as a two-node cluster. During a single-node reboot, the remaining node can temporarily lose quorum unless expected votes is adjusted |
| * Expected votes returned to 2 after both nodes were back and joined. | * Expected votes returned to 2 after both nodes were back and joined. | ||
| - | | + | * '' |
| - | * Lack of ICMP is not by itself a failure. During the 2026-05-31 checks, '' | + | * Moved/ |
| - | | + | * host007 emitted GRUB/LVM warnings about a missing physical volume name '' |
| - | * host007 emitted GRUB/LVM warnings about a missing physical volume name '' | + | |
| * host006 emitted a GRUB warning that the removable EFI fallback path is not updated automatically. The explicit Proxmox EFI boot entry worked and the host rebooted successfully. | * host006 emitted a GRUB warning that the removable EFI fallback path is not updated automatically. The explicit Proxmox EFI boot entry worked and the host rebooted successfully. | ||
| Line 150: | Line 152: | ||
| * '' | * '' | ||
| * Lack of ping or SSH does not always mean the guest is broken. Investigate only failures that contradict expectations for that guest. | * Lack of ping or SSH does not always mean the guest is broken. Investigate only failures that contradict expectations for that guest. | ||
| + | |||
| + | ===== Monitoring / LibreNMS ===== | ||
| + | |||
| + | As of 2026-06-01, host006 and host007 are monitored in LibreNMS as Proxmox hypervisors. This replaces the old Munin host monitoring for these nodes. | ||
| + | |||
| + | LibreNMS records: | ||
| + | |||
| + | * host006.hackeriet.no: | ||
| + | * host007.hackeriet.no: | ||
| + | * Both devices have OS detected as '' | ||
| + | * Both devices have the LibreNMS '' | ||
| + | |||
| + | Host-side setup: | ||
| + | |||
| + | * '' | ||
| + | * SNMP listens only on the management IP of each host: | ||
| + | * host006: '' | ||
| + | * host007: '' | ||
| + | * SNMP uses SNMPv3 authPriv with the security name '' | ||
| + | * Credentials are stored in Hackerpass at '' | ||
| + | * The Proxmox LibreNMS agent-local script is installed as ''/ | ||
| + | * SNMP exposes Proxmox VM traffic through: | ||
| + | |||
| + | < | ||
| + | extend proxmox / | ||
| + | </ | ||
| + | |||
| + | * ''/ | ||
| + | |||
| + | Firewall setup: | ||
| + | |||
| + | * The Proxmox cluster firewall allows SNMP only from app-01 / LibreNMS source address '' | ||
| + | * The firewall rule is in ''/ | ||
| + | |||
| + | < | ||
| + | IN ACCEPT -source 10.10.50.51/ | ||
| + | </ | ||
| + | |||
| + | LibreNMS setup: | ||
| + | |||
| + | * '' | ||
| + | * The '' | ||
| + | * No LibreNMS alert rules existed when this monitoring was added. Host metrics and Proxmox application polling are live, but alert policy still needs to be defined. | ||
| + | |||
| + | Useful verification commands: | ||
| + | |||
| + | < | ||
| + | # On each Proxmox host | ||
| + | systemctl is-active snmpd | ||
| + | ss -lunp | grep ': | ||
| + | sudo -u Debian-snmp sudo / | ||
| + | |||
| + | # From the LibreNMS container on app-01 | ||
| + | snmpwalk -v3 -l authPriv -u librenms_klynge001 -a SHA -A '< | ||
| + | snmpget -v3 -l authPriv -u librenms_klynge001 -a SHA -A '< | ||
| + | lnms device:poll -m applications host006.hackeriet.no | ||
| + | </ | ||
| ===== Follow-up items ===== | ===== Follow-up items ===== | ||
| - | * Fix or intentionally retire Munin on host006 | + | * Define LibreNMS alert rules and notification routing |
| - | * Review VM autostart settings | + | |
| * Investigate the host007 GRUB/LVM '' | * Investigate the host007 GRUB/LVM '' | ||
| * Investigate the host006 EFI fallback warning. | * Investigate the host006 EFI fallback warning. | ||
| * Review whether the two-node quorum procedure should be part of the standard klynge001 maintenance runbook. | * Review whether the two-node quorum procedure should be part of the standard klynge001 maintenance runbook. | ||
| * Keep NetBox VM placement aligned with the current reality for moved service VMs. | * Keep NetBox VM placement aligned with the current reality for moved service VMs. | ||
| + | * If Munin package cleanup is desired later, remove it in a separate low-risk cleanup task. | ||
| - | ===== Safety | + | ===== Other notes ===== |
| - | * Avoid guest-level changes during host maintenance unless needed for recovery. | ||
| - | * Do not change DNS during the maintenance window unless DNS itself is the incident. | ||
| - | * Do not delete backups or ISOs without understanding what they are. | ||
| - | * Keep local notes while working; wiki, NetBox, IDP, and public services may be affected depending on which host is down. | ||
| * Host006 storage and backup context is documented at [[infra: | * Host006 storage and backup context is documented at [[infra: | ||
| * Certificate automation for internal Proxmox hostnames is documented at [[infra: | * Certificate automation for internal Proxmox hostnames is documented at [[infra: | ||
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/operations/proxmox-maintenance.1780247763.txt.gz · Last modified: by atluxity_idp.hackeriet.no