<?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 Server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166368#M160375</link>
    <description>Forgot you also need to turn on xntpd by makeing sure you have an exe file in /sbin/init.d linked to a Start script in /sbin/rc2.d and a kill script linked to /sbin/rc1.d...&lt;BR /&gt;&lt;BR /&gt;Just create links in rc2.d for start and a link in rc1.d for kill... and make sure the /sbin/init.d is executable... that should be about it.&lt;BR /&gt;&lt;BR /&gt;You also need a config file in /etc/ntp.conf... should be one there most likely with ips of servers as primary and secondary...Called Stratum...&lt;BR /&gt;&lt;BR /&gt;Hope this helps somewhat...</description>
    <pubDate>Fri, 16 Jan 2004 09:53:13 GMT</pubDate>
    <dc:creator>Todd McDaniel_1</dc:creator>
    <dc:date>2004-01-16T09:53:13Z</dc:date>
    <item>
      <title>NTP Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166364#M160371</link>
      <description>Hi All,&lt;BR /&gt;I want to ask you if there is anyone who knows how we have to do to develop a NTP server on our HP - UX  11.i . We have not any idea on what we have to do !&lt;BR /&gt;So if someone has a procedure to do it I will thank him!&lt;BR /&gt;Thanks&lt;BR /&gt;Fabrizio</description>
      <pubDate>Fri, 16 Jan 2004 09:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166364#M160371</guid>
      <dc:creator>Sirius Black</dc:creator>
      <dc:date>2004-01-16T09:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166365#M160372</link>
      <description>You need to have a source with a reliable time such as is the case with the Navy.&lt;BR /&gt;&lt;BR /&gt;Here is the link you can use to select a host to add to your config for NTP to use as the master reference for time sync.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://tycho.usno.navy.mil/ntp.html" target="_blank"&gt;http://tycho.usno.navy.mil/ntp.html&lt;/A&gt;</description>
      <pubDate>Fri, 16 Jan 2004 09:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166365#M160372</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-01-16T09:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166366#M160373</link>
      <description>Hi Fabrizio,&lt;BR /&gt;&lt;BR /&gt;To set up an NTP server you first have to select an external time source that it will draw it's time from. This can be a recognized time server out on the internet - preferrably somewhere near - or a radio device that receives broadcasts from a satellite.&lt;BR /&gt;Once that is selected &amp;amp; tested with the ntpq command you set the date off that device with the ntpdate command and set up the /etc/ntp.conf file. Then edit the /etc/rc.config.d.netdaemons, set NTPDATE_SERVER &amp;amp; XNTPD = 1 and run /sbin/init.d/xntpd start.&lt;BR /&gt;That's all there is to it.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 16 Jan 2004 09:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166366#M160373</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-16T09:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166367#M160374</link>
      <description>I should point out that you set up the ntp.conf file to point to the selected external device.&lt;BR /&gt;And that netdaemons file location should be &lt;BR /&gt;/etc/rc.config.d/netdaemons - I typod it.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 16 Jan 2004 09:50:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166367#M160374</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-16T09:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166368#M160375</link>
      <description>Forgot you also need to turn on xntpd by makeing sure you have an exe file in /sbin/init.d linked to a Start script in /sbin/rc2.d and a kill script linked to /sbin/rc1.d...&lt;BR /&gt;&lt;BR /&gt;Just create links in rc2.d for start and a link in rc1.d for kill... and make sure the /sbin/init.d is executable... that should be about it.&lt;BR /&gt;&lt;BR /&gt;You also need a config file in /etc/ntp.conf... should be one there most likely with ips of servers as primary and secondary...Called Stratum...&lt;BR /&gt;&lt;BR /&gt;Hope this helps somewhat...</description>
      <pubDate>Fri, 16 Jan 2004 09:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166368#M160375</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-01-16T09:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166369#M160376</link>
      <description>A.      PHILOSOPHY&lt;BR /&gt;1.      Here's the basic process:&lt;BR /&gt;&lt;BR /&gt;                Have two of your machines connect to two different offsite&lt;BR /&gt;                "timeservers".  Connect the rest of your machines to these&lt;BR /&gt;                two.&lt;BR /&gt;&lt;BR /&gt;2.      There is a web page at:&lt;BR /&gt;&lt;BR /&gt;                &lt;A href="http://tycho.usno.navy.mil/time.html" target="_blank"&gt;http://tycho.usno.navy.mil/time.html&lt;/A&gt;&lt;BR /&gt;                &lt;A href="http://www.eecis.udel.edu/~ntp" target="_blank"&gt;http://www.eecis.udel.edu/~ntp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;        that discusses the subject of setting time.&lt;BR /&gt;&lt;BR /&gt;3.      Stratum(s)&lt;BR /&gt;&lt;BR /&gt;        Stratum 1       Gets time from UTC time servers.&lt;BR /&gt;        Stratum 2       Gets time from Stratum 1 servers..&lt;BR /&gt;        Stratum 3       Gets time from Stratum 2 servers..&lt;BR /&gt;&lt;BR /&gt;4.      There are 5 files connected with ntp:&lt;BR /&gt;&lt;BR /&gt;        -r--r--r--  1 bin   bin    2471 Feb 10 14:17 /etc/rc.config.d/netdaemons&lt;BR /&gt;        -rw-r--r--  1 root  sys    5078 Nov 13 21:42 /etc/ntp.conf&lt;BR /&gt;        -rw-r--r--  1 root  sys   17179 Sep 12 19:05 /etc/ntp.conf.example&lt;BR /&gt;        -rw-r--r--  1 root  root      8 Feb 19 14:23 /etc/ntp.drift&lt;BR /&gt;        -r--------  1 bin   bin    1578 Jun  7  1996 /etc/ntp.keys&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;B.      CONFIGURATION&lt;BR /&gt;1.      First you must identify your plan:&lt;BR /&gt;&lt;BR /&gt;a.      Identify two offsite time servers.&lt;BR /&gt;b.      Identify two local machines to be your local servers.&lt;BR /&gt;c.      Set up all other local machines to be clients of the time servers.&lt;BR /&gt;&lt;BR /&gt;2.      In our case:&lt;BR /&gt;&lt;BR /&gt;a.      External time servers:&lt;BR /&gt;&lt;BR /&gt;                10.100.51.211    # antares&lt;BR /&gt;                10.3.65.67       # horus&lt;BR /&gt;&lt;BR /&gt;b.      Local time servers:&lt;BR /&gt;&lt;BR /&gt;                gbo349-d&lt;BR /&gt;                gbo345-d&lt;BR /&gt;&lt;BR /&gt;3.      Set local clients and servers to initiate ntp at boot time:&lt;BR /&gt;&lt;BR /&gt;        vi      /etc/rc.config.d/netdaemons&lt;BR /&gt;&lt;BR /&gt;        export NTPDATE_SERVER=Time server name or IP address&lt;BR /&gt;                                (this parameter is optional...)&lt;BR /&gt;        export XNTPD=1&lt;BR /&gt;        export XNTPD_ARGS=&lt;BR /&gt;&lt;BR /&gt;4.      /etc/ntp.conf for a "client"&lt;BR /&gt;&lt;BR /&gt;                driftfile /etc/ntp.drift&lt;BR /&gt;                restrict default notrust nomodify&lt;BR /&gt;                restrict 151.208.28.49&lt;BR /&gt;                restrict 151.208.28.45&lt;BR /&gt;                server 151.208.28.49 &lt;BR /&gt;                server 151.208.28.45  &lt;BR /&gt;&lt;BR /&gt;5.      /etc/ntp.conf for a "local timeserver", gbo349-d:&lt;BR /&gt;&lt;BR /&gt;                server 10.100.51.211 prefer     # Antares&lt;BR /&gt;                server 10.3.65.67               # horus&lt;BR /&gt;                driftfile /etc/ntp.drift&lt;BR /&gt;                restrict default notrust nomodify&lt;BR /&gt;                restrict 10.100.51.211&lt;BR /&gt;                restrict 10.3.65.67&lt;BR /&gt;                peer 151.208.28.45&lt;BR /&gt;                broadcast 151.208.28.255  &lt;BR /&gt;&lt;BR /&gt;6.      /sbin/init.d/xntpd      start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;U.      USEFUL COMMANDS&lt;BR /&gt;&lt;BR /&gt;        ntpq -p         List peers&lt;BR /&gt;        xntpdc -p       List peers&lt;BR /&gt;        xntpdc &lt;HOSTNAME&gt;&lt;BR /&gt;                sysinfo&lt;BR /&gt;                peers&lt;BR /&gt;                help&lt;BR /&gt;        ntpdate         &lt;NTP server="" name=""&gt;       # Set server time hard&lt;BR /&gt;                        Server must be set up as ntp server&lt;BR /&gt;                        xntpd must NOT be running on client&lt;BR /&gt;&lt;BR /&gt;9.      If you want to change xntpd setup on the fly:&lt;BR /&gt;&lt;BR /&gt;        /sbin/init.d/xntpd stop&lt;BR /&gt;        cp /etc/ntp.conf /etc/ntp.conf.old&lt;BR /&gt;        vi /etc/ntp.conf&lt;BR /&gt;        /sbin/init.d/xntpd start&lt;BR /&gt;&lt;BR /&gt;        I think you can also:&lt;BR /&gt;&lt;BR /&gt;        kill &lt;NTP pid=""&gt;&lt;BR /&gt;        cp /etc/ntp.conf /etc/ntp.conf.old&lt;BR /&gt;        vi /etc/ntp.conf&lt;BR /&gt;        /usr/sbin/xntpd&lt;BR /&gt;&lt;/NTP&gt;&lt;/NTP&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Fri, 16 Jan 2004 09:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166369#M160376</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2004-01-16T09:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166370#M160377</link>
      <description>Ciao Fabrizio,&lt;BR /&gt;&lt;BR /&gt;if you want to configure your HP-UX 11.11 system as NTP server then see the following actions for a simple configuration:&lt;BR /&gt;&lt;BR /&gt;Server side:&lt;BR /&gt;- end of /etc/ntp.conf file and add two lines:&lt;BR /&gt;# vi /etc/ntp.conf&lt;BR /&gt;server 127.127.1.1&lt;BR /&gt;peer &lt;CLIENT_HOSTNAME&gt; version 3&lt;BR /&gt;&lt;BR /&gt;Client side:&lt;BR /&gt;- end of /etc/ntp.conf file and add two lines:&lt;BR /&gt;# vi /etc/ntp.conf&lt;BR /&gt;server &lt;SERVER_HOSTNAME&gt;  version 3&lt;BR /&gt;broadcastclient yes&lt;BR /&gt;&lt;BR /&gt;I hope this helps you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore&lt;/SERVER_HOSTNAME&gt;&lt;/CLIENT_HOSTNAME&gt;</description>
      <pubDate>Fri, 16 Jan 2004 09:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-server/m-p/3166370#M160377</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-01-16T09:56:41Z</dc:date>
    </item>
  </channel>
</rss>

