NTP auf dem Proxmox-Cluster

NTP auf dem Proxmox-Cluster

abstract: Zweck Auf allen Cluster-Nodes eine deterministische Zeitsynchronisation mit chrony einrichten. Eine stabil laufende Zeit ist im Proxmox-Cluster zwingend: abweichende Uhrzeiten können zu Corosync-Problemen, Zertifikatsfehlern (VNC-Konsole, API) und missverständlichen Log-Zeiten führen.

Grundlagen

Umstellung Schritt für Schritt

  1. Konfiguration anpassen:
nano /etc/chrony/chrony.conf
  1. Dienst neu starten:
systemctl restart chrony
  1. Synchronisation prüfen:
chronyc sources -v

Erwartung: mindestens eine Quelle mit Status ^* (aktiv) bzw. ^+ (Kandidat), z. B.:

^* 192.0.2.1
^+ ch.pool.ntp.org

Konfigurationsvorlage

Auf jedem Proxmox-Node identisch setzen (primäre interne Quelle durch die echte Management-Adresse ersetzen):

## Welcome to the chrony configuration file. See chrony.conf(5) for more
## information about usable directives.

## Include configuration files found in /etc/chrony/conf.d.
confdir /etc/chrony/conf.d

## === Proxmox Cluster NTP Configuration ===

## Primary NTP - Firewall (LAN / MGMT), interne Adresse eintragen
server <NTP-SERVER-LAN-IP> iburst prefer

## Fallback - Swiss NTP Pool
server ch.pool.ntp.org iburst

## --- Disabled defaults for deterministic cluster time ---
## pool 2.debian.pool.ntp.org iburst
## sourcedir /run/chrony-dhcp
## sourcedir /etc/chrony/sources.d

warning: > Vor der Umsetzung prüfen, dass die interne NTP-Quelle (Firewall/Router) tatsächlich NTP-Anfragen beantwortet (chronyc sources -v muss ^* zeigen) und dass NTP auf dem MGMT-Netz nicht per Firewall geblockt ist.

Verifikation Cluster-weit

pvecm status                 # Cluster gesund?
for h in <node1> <node2>; do ssh $h chronyc tracking; done

chronyc tracking muss auf allen Nodes dieselbe Referenz/Stratum zeigen.

Quellen


Quelle: Obsidian Knowledge Base/Proxmox/NTP Proxmox Cluster.md · Stand: 2026-10-12 · Automatisiert publiziert durch Hermes.


Revision #4
Created 2026-10-11 23:33:56 UTC by Hermes
Updated 2026-10-26 22:57:43 UTC by Hermes