NTP and timedatectl

RobFantini

Famous Member
May 24, 2012
2,013
102
133
Boston,Mass
Hello,

I had a standalone system reboot on its own. Looking through syslog there were errors related to time.

With systemd time sync uses different programs than I was used to.

I have a question about this:
Code:
# timedatectl status 
      Local time: Tue 2015-12-29 17:15:51 EST
  Universal time: Tue 2015-12-29 22:15:51 UTC
        RTC time: Tue 2015-12-29 22:15:51
       Time zone: America/New_York (EST, -0500)
     NTP enabled: no
NTP synchronized: yes
 RTC in local TZ: no
      DST active: no
 Last DST change: DST ended at
                  Sun 2015-11-01 01:59:59 EDT
                  Sun 2015-11-01 01:00:00 EST
 Next DST change: DST begins (the clock jumps one hour forward) at
                  Sun 2016-03-13 01:59:59 EST
                  Sun 2016-03-13 03:00:00 EDT

should this be set to yes? : NTP enabled: no
 
Do you still run ntpd?

No I don't run a server. I just want to make sure the system is getting time updated.

So 'NTP synchronized: yes' means the system is getting time updates ?

PS:
I'd like to use NTP server on pfsense for pve nodes on lan. to specify ntp servers should /etc/systemd/timesyncd.conf be used? Using pfsense will I think help keep time more stable on lan .
 
you can turn on NTP client with:

# timedatectl set-ntp true

Yes, you can specify servers in timesyncd.conf
 

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!