Installing and Configuring OpenStack (Juno) in Oracle® Solaris

Exit Print View

Updated: June 2016
 
 

How to Set Up the NTP Server

The NTP server is on a separate system from OpenStack nodes.

  1. Install the NTP package.
    ntp-server# pkg install ntp
  2. Install the configuration file.
    ntp-server# cp /etc/inet/ntp.server /etc/inet/ntp.conf
  3. Edit the /etc/inet/ntp.conf file by configuring the server and driftfile keywords.

    For example:

    server 127.127.1.0 prefer
    ...
    driftfile /var/ntp/ntp.drift

    Note -  127.127.1.0 is not an IP address. It is a format used to refer to a clock that provides accurate time to the server. Make sure to read the comments in the ntp.conf file that explains the server keyword.
  4. Create the /var/ntp/ntp.drift file as you have defined in the previous step.
    ntp-server# touch /var/ntp/ntp.drift
  5. Start the ntp service.
    ntp-server# svcadm enable ntp