Skip to main content

How to check NTP Configuration in Solaris?

How to check NTP Configuration in Solaris?

If you use the ntp.conf file, run one of the following commands:

  1. SPARC: For the Solaris 9 OS, use the following command: phys-schost# /etc/init.d/xntpd start.
  2. For the Solaris 10 OS, use the following command: phys-schost# svcadm enable ntp.

How do I change the time in Solaris 10?

How to Manually Set a System’s Date and Time

  1. Become an administrator.
  2. Enter the new date and time. # date mmddHHMM[[cc]yy] mm. Month, using two digits. dd. Day of the month, using two digits. HH.
  3. Verify that you have reset your system’s date correctly by using the date command with no options.

What is Stratum 2 server in NTP?

Stratum 2 refers to any machine that synchronizes its system clock with the clock on a Stratum 1 server.

What is stratum number in NTP?

The NTP Stratum model is a representation of the hierarchy of time servers in an NTP network, where the Stratum level (0-15) indicates the device’s distance to the reference clock. Stratum 0 means a device is directly connected to e.g., a GPS antenna.

How many NTP servers does Solaris 10 have?

There is one NTP server for all four systems. In each system there is one Solaris 10 box that points to that NTP server. All of the other machines in the system point to the Solaris 10 machine to get their time sync. All four Solaris 10 machines have essentially identical ntp.conf files.

How does the Solaris 10 time sync with other machines?

All of the other machines in the system point to the Solaris 10 machine to get their time sync. All four Solaris 10 machines have essentially identical ntp.conf files. However 2 of the machines (the ones most recently brought into production) are off by 6-9 seconds.

How do I adjust the time in Solaris?

As mentioned above, the ability to adjust the time is controlled by a Solaris privilege. The privilege name for this is called “sys_time” and the information for this privilege can be viewed by using the ppriv command :