<?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: Syncronize time using NTP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481828#M598124</link>
    <description>Thank to all specially Rita your suggestion works very well. To other users, please don't use SAM to setup NTP.</description>
    <pubDate>Fri, 12 Jan 2001 14:16:24 GMT</pubDate>
    <dc:creator>Tan-Phu Lu_1</dc:creator>
    <dc:date>2001-01-12T14:16:24Z</dc:date>
    <item>
      <title>Syncronize time using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481824#M598120</link>
      <description>I'm trying to syncronize my servers (HPUX 10.20 and 11) but it dosn't work. Time is still difference.&lt;BR /&gt;I setup an NTP server (Started NTP, Added my broadcast Clients, Authentication disable, Receiving time broadcasts Disable, NTP local clock with system clock).&lt;BR /&gt;All my six NTP clients setup are: Started NTP, Receiving time broadcasts Enable, NTP local clock with no clock.&lt;BR /&gt;All the setup is done by SAM. &lt;BR /&gt;Have any idea? Do I need a reboot for all my servers? Is there any delay? ....&lt;BR /&gt;Thx.&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jan 2001 16:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481824#M598120</guid>
      <dc:creator>Tan-Phu Lu_1</dc:creator>
      <dc:date>2001-01-11T16:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Syncronize time using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481825#M598121</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;no, you don't need to reboot (since ntp runs as a deamon). Why are you using broadcast ??. do the setup with using one station (the one with the local clock) as the master, and the other stations would be client (in this case, the time egts pushed from the master to the clients.&lt;BR /&gt;&lt;BR /&gt;To your question...what is ntpq saying (can you see the master ??, did they try to sync ??, did you build the ntp or did you use a binary distribution ??). there is alot (of little things) who can go wrong with ntp. Other than that read the stuff on &lt;A href="http://www.eecis.udel.edu/~ntp/." target="_blank"&gt;www.eecis.udel.edu/~ntp/.&lt;/A&gt;</description>
      <pubDate>Thu, 11 Jan 2001 17:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481825#M598121</guid>
      <dc:creator>Michael F. Dick</dc:creator>
      <dc:date>2001-01-11T17:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syncronize time using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481826#M598122</link>
      <description>OK..here's a little method you can use to sync the time on all your servers.  I am using one of my servers as the timekeeper that all the rest sync to...They are a combination of 10.2 and 11.&lt;BR /&gt;&lt;BR /&gt;On the server you want to be the master clock.&lt;BR /&gt;Edit /etc/rc.config.d/netdaemons&lt;BR /&gt;export NTP_SERVER=    &lt;LEAVE this="" blank=""&gt;&lt;BR /&gt;XNTPD=1&lt;BR /&gt;export XNTP_ARGS=     &lt;LEAVE this="" blank=""&gt;&lt;BR /&gt;&lt;BR /&gt;Edit /etc/ntp.conf&lt;BR /&gt;At end of file add the following:&lt;BR /&gt;server 127.127.1.1&lt;BR /&gt;fudge 127.127.1.1 stratum 10     &lt;JUST how="" i="" set="" it=""&gt;&lt;BR /&gt;&lt;BR /&gt;Now on all other servers you want to sync their time:&lt;BR /&gt;Edit /etc/rc.config.d/netdaemons&lt;BR /&gt;export NTP_SERVER=&lt;HOSTNAME_OF_MASTERCLOCK_SVR&gt;&lt;BR /&gt;XNTPD=1&lt;BR /&gt;export XNTP_ARGS=    &lt;LEAVE this="" blank=""&gt;&lt;BR /&gt;&lt;BR /&gt;Edit /etc/ntp.conf&lt;BR /&gt;At the end of file at the following:&lt;BR /&gt;server=&lt;HOSTNAME_OF_MASTERCLOCK_SVR&gt;&lt;BR /&gt;driftfile /etc/ntp.drift&lt;BR /&gt;&lt;BR /&gt;touch /etc/ntp.drift&lt;BR /&gt;&lt;BR /&gt;NOW....go back to your masterclock server and make sure your time is set to what you want it....then:&lt;BR /&gt;/sbin/init.d/xntpd stop    &lt;SINCE yours="" may="" be="" running=""&gt;&lt;BR /&gt;/sbin/init.d/xntpd start&lt;BR /&gt;&lt;BR /&gt;And do this on all your other servers...&lt;BR /&gt;Then check after a few minutes to see if your time sync'ing   ntpq -p&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/SINCE&gt;&lt;/HOSTNAME_OF_MASTERCLOCK_SVR&gt;&lt;/LEAVE&gt;&lt;/HOSTNAME_OF_MASTERCLOCK_SVR&gt;&lt;/JUST&gt;&lt;/LEAVE&gt;&lt;/LEAVE&gt;</description>
      <pubDate>Thu, 11 Jan 2001 18:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481826#M598122</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-01-11T18:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Syncronize time using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481827#M598123</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The suggestion made already to use /usr/sbin/ntpq to help diagnose your problem.  I find this tool extremely helpful.&lt;BR /&gt;&lt;BR /&gt;If the time difference between your servers is 1000 seconds or greater, xntpd will ignore the servers time.  If a client cannot find a server to which to synchronize in about 320 seconds, the xntpd daemon will die.  Therefore, check the time differences when you startup and manually adjust them if necessary, first.  Once ntpq shows an association it will still take some time for the server and client to come to a common time.  Be patient.  Here again, ntpq is invaluable.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 11 Jan 2001 22:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481827#M598123</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-11T22:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Syncronize time using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481828#M598124</link>
      <description>Thank to all specially Rita your suggestion works very well. To other users, please don't use SAM to setup NTP.</description>
      <pubDate>Fri, 12 Jan 2001 14:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481828#M598124</guid>
      <dc:creator>Tan-Phu Lu_1</dc:creator>
      <dc:date>2001-01-12T14:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Syncronize time using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481829#M598125</link>
      <description>I would start by testing your time source with ntpq -p time_server to see if it responds. If all is well, configure ntp.conf and setup xntpd to run automatically.&lt;BR /&gt;&lt;BR /&gt;Just a note about changing the time as a large step: databases won't be very happy. As a result, the ntpdate command has a new option -B which slews the time slowly, about 50ms per second. Run this prior to starting xntpd and wait until the clock is accurate.&lt;BR /&gt;&lt;BR /&gt;ntpdate is called at boot time to make a step change before any user processes are run, so if you can reboot, you won't have to wait for ntpdate -B to slew the clock.</description>
      <pubDate>Sat, 13 Jan 2001 01:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481829#M598125</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-01-13T01:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Syncronize time using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481830#M598126</link>
      <description>Thank you HP for these new features on date mechanisms.  Several years ago, I had a time server reset to zero and start telling all the devices that would ask that it was January 1, 1970!  At the time, all the asking servers just believed it, reset their clocks and went merrily along.&lt;BR /&gt;&lt;BR /&gt;In the post-mortem, we all felt that there should be a reasonableness test on time correction.  Thanks for adding it.&lt;BR /&gt;&lt;BR /&gt;BPF</description>
      <pubDate>Tue, 16 Jan 2001 05:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncronize-time-using-ntp/m-p/2481830#M598126</guid>
      <dc:creator>Bill P. Fanelli</dc:creator>
      <dc:date>2001-01-16T05:45:38Z</dc:date>
    </item>
  </channel>
</rss>

