× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I had these notes for NTP/SNTP on IBMi - may help ...



Use the CHGNTPA command to set up the NTP Parameters

Specify the server that time is to be synchronised to.

If the NTP server is outside your network ensure the firewall allows UDP
port 123 out.

Set the Client to Auto-start *YES
Set the Client activity log to *CHANGE - This will allow the log to be
viewed, log location is below. If all is working correctly you may want
to turn logging off in the future.

After setting up Audit Journal logging at xxxxx we noticed a very large
number of "SV" entries in the journal, these were NTP poll entries and the
setting for logging was set to *POLL. Changing this to *CHANGE reduced the
number of journal entries from thousands to hundreds. Also you will only
get these entries logged if *SECCFG is included in the QAUDLVL system
value.

I have not set the system up as a NTP server only a NTP client at this
stage.

To start the NTP Client
STRTCPSVR SERVER(*NTP) NTPSRV(*CLIENT)

I did this and then checked the log file but the time was not being
updated.

I then used Navigator and drilled down to Network, Servers, TCPIP, NTP and
manually started the client by right clicking and selecting to start the
client.

After that the time was updated - not sure why this was required???

The log file is located at ...
/qibm/UserData/OS400/TCPIP/NTP

There will be a new file for each day ...
QTOT20150731 as an example









Don Brown
Director

MSD Information Technology
t: 07 3368 7888
m: 0408 751 644
e: dbrown@xxxxxxxxxx
www.msd.net.au



From: "Rob Berendt" <rob@xxxxxxxxx>
To: "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date: 10/11/2022 04:30 AM
Subject: RE: Synchronization of system time?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>



The technique is called SNTP. You're wanting it to become a SNTP client.
https://www.ibm.com/docs/en/i/7.5?topic=protocol-configuring-sntp-application



Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.