Proxmox Cluster time synchronization problem

mijamoto

New Member
Nov 14, 2022
2
0
1
Hi,

we are using a 3 node Proxmox Cluster where the hosts do not have access to the internet.

Unfortunately, nobody set correct time synchronization during installation. Now we have a problem with time. There is a difference of up to 20 minutes on individual servers.

My question is this. If I now set the time synchronization against the NTP server, can there be any problem in the cluster?

Is there any proper procedure to solve this problem?
 
Hi Moayad,

thank you for your answer. I will follow the instructions and hope everything will be fine.
 
The best way to handle offline networks is this in /etc/ntp.conf if you are running sntp:
Code:
tos orphan 6
peer 192.168.148.64 iburst
peer 192.168.148.65 iburst
peer 192.168.148.66 iburst
peer 192.168.148.67 iburst
where the peers are all your pve nodes.
If it doesn't find a valid ntp server with a stratum less than 6, it will just synchronize with the peers.
The time will be incorrect but the same. Which is the most important thing.
 
Please note that PVE uses chrony by default (instead of ntpd). This "local-time-servers-list" should probably go to /etc/chrony/sources.d/somelocalservers.sources - you'll find a README there...

Your idea to sync "inside" the cluster sounds good :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!