Operations Manager 2.0 no longer uses ntpd (Network Time Protocol daemon) to sync its time with the configured Network Time Protocol (NTP) server. Instead, the Operations Manager (Ops Manager) now syncs NTP using the ntpdate
command scheduled in 15-minute intervals by crontab.
This change introduced a bug where Ops Manager no longer syncs with the configured NTP servers by default.
ntpdate
command scheduled in 15-minute intervals by crontab.
ntpdate
and again uses ntpd to sync its time with remote servers.sudo touch /var/vcap/bosh/etc/ntpserver2. Open the file with a text editor and add a space delimited list of NTP servers:
10.2.3.4 10.2.3.53. Ops Manager will now sync with these defined NTP servers every 15 minutes. If you need to sync the time right away you can run this command:
sudo /var/vcap/bosh/bin/ntpdate