<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ntp time diff in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503698#M562663</link>
    <description>Hi Rasheed,&lt;BR /&gt;&lt;BR /&gt;Here are the steps to configure NTP:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Procedure on the main server:&lt;BR /&gt;&lt;BR /&gt;Log in as root and run a SAM session then do the following steps:&lt;BR /&gt;&lt;BR /&gt;1. Click on the Time icon.&lt;BR /&gt;&lt;BR /&gt;2. Click on the NTP Network Time Sources icon.&lt;BR /&gt;&lt;BR /&gt;3. Select the menu Action -&amp;gt; Configure NTP Local Clock&lt;BR /&gt;&lt;BR /&gt;4. Select Use System Clock and press OK&lt;BR /&gt;&lt;BR /&gt;5. Select the menu List -&amp;gt; NTP Broadcasting&lt;BR /&gt;&lt;BR /&gt;6. Select the menu Action -&amp;gt; Add Broadcast Client Network&lt;BR /&gt;&lt;BR /&gt;7. Enter the broadcast address of the subnet where your client is located.  You&lt;BR /&gt;can get this information by running the following command on the client:&lt;BR /&gt;&lt;BR /&gt;  ifconfig lan0 ---&amp;gt; you will get the following listed:&lt;BR /&gt;&lt;BR /&gt;        lan0:     flags=863&lt;BR /&gt;          inet 15.37.113.130 netmask fffff800 broadcast 15.37.119.255&lt;BR /&gt;                          &lt;BR /&gt;&lt;BR /&gt;   Here's the broadcast address&lt;BR /&gt;&lt;BR /&gt;   So add the broadcast address of all your clients if they are not on the same&lt;BR /&gt;   subnet.&lt;BR /&gt;&lt;BR /&gt;8. Select the menu Action -&amp;gt; Start NTP&lt;BR /&gt;   Your server is now set.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Procedure for the client:&lt;BR /&gt;&lt;BR /&gt;Log in as root and run a SAM session, then do the following steps:&lt;BR /&gt;&lt;BR /&gt;1. Click on the Time icon.&lt;BR /&gt;&lt;BR /&gt;2. Click on the NTP Network Time Sources icon.&lt;BR /&gt;&lt;BR /&gt;3. Select the NTP Broadcasting icon.&lt;BR /&gt;&lt;BR /&gt;4. Select the menu Actions -&amp;gt; Enable Receiving Time Broadcasts&lt;BR /&gt;&lt;BR /&gt;5. Select the menu Actions -&amp;gt; Start NTP &lt;BR /&gt;   Your client is now set.  You can repeat this on all your clients.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Ira</description>
    <pubDate>Mon, 14 Mar 2005 03:38:18 GMT</pubDate>
    <dc:creator>Isralyn Manalac_1</dc:creator>
    <dc:date>2005-03-14T03:38:18Z</dc:date>
    <item>
      <title>ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503697#M562662</link>
      <description>I have a test server and its time is around 5 minutes behind the actual time and none cared before. Now we want to make it on the production env. I setup the NTP on this server to sync with the NTP server which has GSP and the time does not change. It still shows the old time.&lt;BR /&gt;&lt;BR /&gt;-I added the NTP server name in the ntp.conf file&lt;BR /&gt;-created the drift file (empty file)&lt;BR /&gt;-started the ntpd daemon&lt;BR /&gt;&lt;BR /&gt;What might be the problem?&lt;BR /&gt;&lt;BR /&gt;Do I have to run, ntpdate or anyother steps missing. Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rasheed.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2005 03:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503697#M562662</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2005-03-14T03:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503698#M562663</link>
      <description>Hi Rasheed,&lt;BR /&gt;&lt;BR /&gt;Here are the steps to configure NTP:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Procedure on the main server:&lt;BR /&gt;&lt;BR /&gt;Log in as root and run a SAM session then do the following steps:&lt;BR /&gt;&lt;BR /&gt;1. Click on the Time icon.&lt;BR /&gt;&lt;BR /&gt;2. Click on the NTP Network Time Sources icon.&lt;BR /&gt;&lt;BR /&gt;3. Select the menu Action -&amp;gt; Configure NTP Local Clock&lt;BR /&gt;&lt;BR /&gt;4. Select Use System Clock and press OK&lt;BR /&gt;&lt;BR /&gt;5. Select the menu List -&amp;gt; NTP Broadcasting&lt;BR /&gt;&lt;BR /&gt;6. Select the menu Action -&amp;gt; Add Broadcast Client Network&lt;BR /&gt;&lt;BR /&gt;7. Enter the broadcast address of the subnet where your client is located.  You&lt;BR /&gt;can get this information by running the following command on the client:&lt;BR /&gt;&lt;BR /&gt;  ifconfig lan0 ---&amp;gt; you will get the following listed:&lt;BR /&gt;&lt;BR /&gt;        lan0:     flags=863&lt;BR /&gt;          inet 15.37.113.130 netmask fffff800 broadcast 15.37.119.255&lt;BR /&gt;                          &lt;BR /&gt;&lt;BR /&gt;   Here's the broadcast address&lt;BR /&gt;&lt;BR /&gt;   So add the broadcast address of all your clients if they are not on the same&lt;BR /&gt;   subnet.&lt;BR /&gt;&lt;BR /&gt;8. Select the menu Action -&amp;gt; Start NTP&lt;BR /&gt;   Your server is now set.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Procedure for the client:&lt;BR /&gt;&lt;BR /&gt;Log in as root and run a SAM session, then do the following steps:&lt;BR /&gt;&lt;BR /&gt;1. Click on the Time icon.&lt;BR /&gt;&lt;BR /&gt;2. Click on the NTP Network Time Sources icon.&lt;BR /&gt;&lt;BR /&gt;3. Select the NTP Broadcasting icon.&lt;BR /&gt;&lt;BR /&gt;4. Select the menu Actions -&amp;gt; Enable Receiving Time Broadcasts&lt;BR /&gt;&lt;BR /&gt;5. Select the menu Actions -&amp;gt; Start NTP &lt;BR /&gt;   Your client is now set.  You can repeat this on all your clients.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Ira</description>
      <pubDate>Mon, 14 Mar 2005 03:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503698#M562663</guid>
      <dc:creator>Isralyn Manalac_1</dc:creator>
      <dc:date>2005-03-14T03:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503699#M562664</link>
      <description>hi Rasheed&lt;BR /&gt;&lt;BR /&gt;what does  &lt;BR /&gt;# ntpq&lt;BR /&gt;ntpq&amp;gt; peers &lt;BR /&gt;&lt;BR /&gt;show ? &lt;BR /&gt;&lt;BR /&gt;a helpfull link here :&lt;BR /&gt;&lt;A href="http://docsrv.sco.com/NET_tcpip/CTOC-ntpN.ntp.html" target="_blank"&gt;http://docsrv.sco.com/NET_tcpip/CTOC-ntpN.ntp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2005 03:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503699#M562664</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-03-14T03:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503700#M562665</link>
      <description>Yes, you should run ntpdate to sync with ntp server.</description>
      <pubDate>Mon, 14 Mar 2005 03:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503700#M562665</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-14T03:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503701#M562666</link>
      <description>Actually, it is not a good idea to run ntpdate to immediately (jump) sync your server. Database systems are often time-dependent and suddently changing the time can create big problems. Although it is a test server, you should get in the habit of first using ntpq to verify functionality as well as looking in syslog.log for NTP errors. Start with the command:&lt;BR /&gt; &lt;BR /&gt;/usr/sbin/ntpq -p&lt;BR /&gt; &lt;BR /&gt;which reports on all the NTP servers you are using. If they are reporting "reach" values of 0 or other errors, you need to fix the NTP communication first. &lt;BR /&gt; &lt;BR /&gt;Once ntpq -p starts showing 'normal' values (reach = 377) then the time will begin to change. 5 minutes will need more than an hour to sync completely. Now if you configured /etc/rc.config.d/netdaemons to specify your default NTP server and set the XNTPD otption =1, then a reboot will set the clock immediately, but only if ntpq -p is working.</description>
      <pubDate>Mon, 14 Mar 2005 08:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503701#M562666</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-14T08:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503702#M562667</link>
      <description>Rasheed,&lt;BR /&gt;Is this still open?  First impresssion is that you have done everything required.  I'd still like to see what your response is to Bill's inquiry.  If you have started xntpd you should be able to get some kind of response.  Also nptq -p is "Print a list of the peers known to the server as well as a summary of their state." so you should be getting something.&lt;BR /&gt;&lt;BR /&gt;You modified your ntp.conf file specifing a server that you have apprently been using. Specified a drift file location, and then ran "/sbin/init.d/xntpd start" you should be getting something after 10-15 minutes. &lt;BR /&gt;&lt;BR /&gt;As Bill said you would have to change the /etc/rc.config.d/netdaemons file so that xntpd starts up at boot time.  After that, it should be working.  NTP will take a few minutes to report anything as it is not "instantaneous".&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 15 Mar 2005 10:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503702#M562667</guid>
      <dc:creator>Charles Holland</dc:creator>
      <dc:date>2005-03-15T10:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503703#M562668</link>
      <description>I was under the impression that IP addresses should be what go into the /etc/ntp.conf file.&lt;BR /&gt;&lt;BR /&gt;In addition to the advice about checking reachability with ntpq, you might also check syslog.  I believe that the maximum delta is &amp;gt; five minutes, but there is a time differnece above which xntpd will not try to sync time on the premis that manual intervention would be best.&lt;BR /&gt;&lt;BR /&gt;Also, don't forget that when it does sync the time, it will do so rather slowly - it will not (generally) alter the time in one swell foop (stepwise adjustment) but will rather change the rate at which the clock advances to gradually bring it into agreement with the time source (slew).&lt;BR /&gt;&lt;BR /&gt;Finally, just as one should have multiple DNS servers, one should configure multiple NTP time sources.</description>
      <pubDate>Tue, 15 Mar 2005 10:50:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503703#M562668</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-03-15T10:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503704#M562669</link>
      <description>Rick &lt;BR /&gt;I have the following entries in my ntp.conf file on one system&lt;BR /&gt;&lt;BR /&gt;server 192.5.41.41                     # Stratum 1: tock.usno.navy.mil&lt;BR /&gt;server time-c.timefreq.bldrdoc.gov&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt; server 192.5.41.40                     # Stratum 1: tick.usno.navy.mil&lt;BR /&gt; server time-a.timefreq.bldrdoc.gov&lt;BR /&gt;&lt;BR /&gt;in another..... both working fine.&lt;BR /&gt;&lt;BR /&gt;A time difference &amp;gt; 5 minutes may be correct, I thought it was 10 minutes, but I may be wrong.  So before xntp might start working a manual adjustment of time may be required.  The idea of checking the syslog may shead some light on what is going on, or not going on as the case may be.&lt;BR /&gt;&lt;BR /&gt;Rasheed&lt;BR /&gt;You might also find something at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ntp.isc.org/bin/view/Support/WebHome" target="_blank"&gt;http://ntp.isc.org/bin/view/Support/WebHome&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rasheed... how about some feed back.  If you have it now working, suggestions can quit being made.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2005 11:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503704#M562669</guid>
      <dc:creator>Charles Holland</dc:creator>
      <dc:date>2005-03-16T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: ntp time diff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503705#M562670</link>
      <description>Rick found this entry...&lt;BR /&gt;&lt;BR /&gt;However, if the difference between the client time and server time is greater than the panic threshold, which defaults to 1000 s, the daemon sends a message to the system log and shuts down without setting the clock. It is necessary to set the local clock to within the panic threshold first, either manually by eyeball and wristwatch and the Unix date command.&lt;BR /&gt;&lt;BR /&gt;at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.eecis.udel.edu/~mills/ntp/html/debug.html" target="_blank"&gt;http://www.eecis.udel.edu/~mills/ntp/html/debug.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2005 11:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-time-diff/m-p/3503705#M562670</guid>
      <dc:creator>Charles Holland</dc:creator>
      <dc:date>2005-03-16T11:16:32Z</dc:date>
    </item>
  </channel>
</rss>

