Pivotal Knowledge Base


DCA v2 NTP is not syncing with custom external NTP servers


  • DCA V1


NTP Is not syncing with NTP servers external from the DCA even after running dca_setup. As per below output we see ntp on mdw is using the default fudge server which is a loopback time sync

[root@mdw ~]# /usr/sbin/ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
*     .LOCL.          10 l   38   64  377    0.000    0.000   0.000     .INIT.          16 u    - 1024    0    0.000    0.000   0.000


By default /etc/ntp.conf has the following servers enabled

server # local clock
fudge stratum 10

Also NTP is configured to listen on the eth0 interface which is the internal admin network

Drop root to id 'ntp:ntp' by default.
OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g -I eth0"


  • Comment out the references to lines in /etc/ntp.conf
    #server # local clock
    #fudge stratum 10
  • Configure NTP to listen on all interfaces by removing "-I eth0". Optionally you could append "-I bond1" instead of removing eth0 so you ensure NTP listens on both admin and external interfaces only.
    Drop root to id 'ntp:ntp' by default.
    OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g -I eth0"

For Pivotal internal reference see JIRA DCA-10307

Troubleshooting resources

DCA Network Time Protocol (NTP)


Powered by Zendesk