Configuring NTP clients

(Hyper-V only) This procedure configures delegates to synchronize their clocks with the NTP server on the Control Center master host. Perform this procedure only if the delegates do not have internet access. Repeat this procedure on each Control Center delegate host.
  1. Gain access to the Control Center host, through the console interface of your hypervisor, or through a remote shell utility such as PuTTY.
  2. Start a command-line session as root.
    1. In the Appliance Administration menu, select Root Shell.
    2. Select Run, and then press Enter.
    The menu is replaced by a command prompt similar to the following example:
    [root@hostname ~]#
  3. Create a backup of the NTP configuration file.
    cp -p /etc/ntp.conf /etc/ntp.conf.orig
  4. Edit the NTP configuration file./
    1. Open /etc/ntp.conf with a text editor.
    2. Replace all of the lines in the file with the following lines:
      # Point to the master time server
      server Master-Address
      restrict default ignore
      restrict Master-Address mask nomodify notrap noquery
      driftfile /var/lib/ntp/drift
    3. Replace both instances of Master-Address with the IPv4 address of the host where the NTP server is running (the Control Center master host).
    4. Save the file and exit the editor.
  5. Stop Control Center.
    systemctl stop serviced
  6. Synchronize the clock with the master server.
    ntpd -gq
  7. Enable and start the NTP service.
    systemctl enable ntpd && systemctl start ntpd
  8. Start Control Center.
    systemctl start serviced