Configuring NTP for public time servers
This procedure uses the default configuration of NTP to synchronize system clocks with public time servers. If all Control Center hosts can access the internet, repeat this procedure on each host, starting with the Control Center master host.
- Gain access to the Control Center host, through the console interface of your hypervisor, or through a remote shell utility such as PuTTY.
Start a command-line session as root.
The menu is replaced by a command prompt similar to the following example:
- In the Appliance Administration menu, select Root Shell.
- Select Run, and then press Enter.
Stop Control Center.
systemctl stop serviced
Synchronize the system clock and enable the NTP daemon.
Set the system time.
Enable the ntpd daemon.
systemctl enable ntpd
Configure ntpd to start when the system starts.
Currently, an unresolved issue associated with NTP prevents ntpd from restarting correctly after a reboot, and the following commands provide a workaround to ensure that it does.
echo "systemctl start ntpd" >> /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local
systemctl start ntpd
- Set the system time.
Start Control Center.
systemctl start serviced