IBM Support

Setting up the NTP time sync service

Question & Answer


Question

How do I set up the NTP time sync service?

Answer

1. In a text editor, open the file /etc/ntp.conf for editing and comment out the current server and fudge lines.

2. Add the following line to the file, specifying the IP address of your NTP time server:


server ipAddress

Alternatively, you can use one of the public Internet time servers listed at NTP.Servers Web.

3. Save and close the /etc/ntp.conf file.

4. Once you've added the server IP address to /etc/ntp.conf, run the following commands:


/etc/init.d/ntpd stop
/etc/init.d/ntpd start

5. You should be synchronized shortly thereafter. To confirm this, wait approximately 30 minutes and run the following command:

/usr/sbin/ntpq -p

The output should be similar to the following, listing the new remote server:
[root@box4 admincmd]# /usr/sbin/ntpq -p 
remote       refid       st t  when poll reach  delay  offset  jitter =======================================================================
colo.isom 209.51.161.238  2 u  4   64      1   13.630  7.929   0.004
[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ588778

Document Information

More support for:
IBM PureData System

Software version:
1.0.0

Document number:
461927

Modified date:
17 October 2019

UID

swg21569607