NTP is a protocol designed to synchronize the clocks of computers over a network.
To configure NTP on SecurePlatform OS, proceed as follows:
Important Note: Configuring SecurePlatform OS as NTP Server is not supported. SecurePlatform OS should be configured as NTP Client only (refer to sk32027).
- Login to the SecurePlatform CLI (Command Line Interface).
- Login to 'Expert' mode.
- Choose 4) Time and Date.
Make sure to set your time zone correctly.
- Exit from
- Configure the NTP Server with which this machine should synchronize:
[Expert@HostName]# ntp -n <interval> <IP_Address_of_NTP_Server_1> [<IP_Address_of_NTP_Server_2> <IP_Address_of_NTP_Server_3>]
[Expert@HostName]# ntp MD5_secret <interval> <IP_Address_of_NTP_Server_1> [<IP_Address_of_NTP_Server_2> <IP_Address_of_NTP_Server_3>]
- Note: Reboot is not required.
- Either use the
-n flag to specify that you are not using an MD5 secret, or type the MD5 secret.
<interval> is the time between NTP updates measured in seconds (for example, a polling interval of 5 minutes should be specified as 300 seconds).
- The NTP daemon included on SecurePlatform OS is a Client-side only process and cannot be used as an NTP Time Server (sk32027).
- Configuration file:
- Command executed in background:
/usr/sbin/ntpdate -s -f MD5_Secret Server1_IP Server2_IP Server3_IP
Note: this command is added as a Task called 'NtpPoll' under CPD daemon - run '
- Controlling shell scripts:
/usr/sbin/ntp (main script, which calls the other 2 scripts) ,
For more information regarding configuration of NTP, refer to the documentation provided at ntp.org