<?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: How to set ntp service using scripts or sam？ in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861690#M509079</link>
    <description>IIRC all 127.X.Y.Z addresses are loopback?  I might be wrong there.  Anyhow, that being the case, you would need to have either host1 take time from host2's IP, or host2 from host1's IP.  If indeed 127.127.1.1 is not a loopback IP then consider this another of my "Emily Litella" moments :)&lt;BR /&gt;&lt;BR /&gt;Bill's suggestion to sync to some external time source(s) ( you should have more than one) is quite good.  That or you might consider getting some GPS clocks to connect to your systems.&lt;BR /&gt;&lt;BR /&gt;I would think that the ServiceGuard docs would be all over configuring time synchronization for a cluster.</description>
    <pubDate>Wed, 13 Sep 2006 19:59:12 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2006-09-13T19:59:12Z</dc:date>
    <item>
      <title>How to set ntp service using scripts or sam？</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861687#M509076</link>
      <description>Hello to all!&lt;BR /&gt;There are 2 HP ia64 hosts in a cluster.Now I want to synchronize the two hosts' time.I haved tried to configure the ntp service as follow:&lt;BR /&gt;host1(server):&lt;BR /&gt;1. vi/etc/ntp.conf&lt;BR /&gt;add &lt;BR /&gt;server 127.127.1.1&lt;BR /&gt;2. vi/etc/rc.config.d/netdaemons&lt;BR /&gt;change&lt;BR /&gt;export NTPDATE_SERVER=127.127.1.1&lt;BR /&gt;export XNTPD=1 &lt;BR /&gt;3. start xntpd&lt;BR /&gt;/sbin/init.d/xntpd start&lt;BR /&gt;host2(client):&lt;BR /&gt;1. create file /etc/ntp.drift&lt;BR /&gt;2. vi/etc/ntp.conf&lt;BR /&gt;add &lt;BR /&gt;server 127.127.1.1&lt;BR /&gt;driftfile /etc/ntp.drift&lt;BR /&gt;3. vi/etc/rc.config.d/netdaemons&lt;BR /&gt;change&lt;BR /&gt;export XNTPD=1&lt;BR /&gt;4. start xntpd&lt;BR /&gt;/sbin/init.d/xntpd start&lt;BR /&gt;but when I excuted the command $date at the same time on the two hosts ,the result ware &lt;BR /&gt;Wed Sep 13 14:45:48 EAT 2006&lt;BR /&gt;Wed Sep 13 14:47:16 EAT 2006&lt;BR /&gt;Why the time on the two hosts is not the same?&lt;BR /&gt;The steps are right? What about the right approaches?</description>
      <pubDate>Wed, 13 Sep 2006 01:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861687#M509076</guid>
      <dc:creator>renki</dc:creator>
      <dc:date>2006-09-13T01:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ntp service using scripts or sam？</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861688#M509077</link>
      <description>It will change the time slowly.&lt;BR /&gt;What does "ntpq -p" give you?</description>
      <pubDate>Wed, 13 Sep 2006 02:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861688#M509077</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2006-09-13T02:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ntp service using scripts or sam？</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861689#M509078</link>
      <description>Since these machines are in a cluster, I would expect that accurate time is important, especially if data on this cluster will be shyared with other computers. Using one machine to sync with another will mean both machines be the same but they will drift all over the map as computer clocks are notoriously inaccurate. Any data center should have a central NTP server that is synced to multiple Internet clocks and ensures that all systems are within a few milliseconds of world time. Your network administrator probably setup your firewall and routers to be NTP servers. I would point all your systems to this type of server.</description>
      <pubDate>Wed, 13 Sep 2006 09:00:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861689#M509078</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-13T09:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ntp service using scripts or sam？</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861690#M509079</link>
      <description>IIRC all 127.X.Y.Z addresses are loopback?  I might be wrong there.  Anyhow, that being the case, you would need to have either host1 take time from host2's IP, or host2 from host1's IP.  If indeed 127.127.1.1 is not a loopback IP then consider this another of my "Emily Litella" moments :)&lt;BR /&gt;&lt;BR /&gt;Bill's suggestion to sync to some external time source(s) ( you should have more than one) is quite good.  That or you might consider getting some GPS clocks to connect to your systems.&lt;BR /&gt;&lt;BR /&gt;I would think that the ServiceGuard docs would be all over configuring time synchronization for a cluster.</description>
      <pubDate>Wed, 13 Sep 2006 19:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861690#M509079</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-09-13T19:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ntp service using scripts or sam？</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861691#M509080</link>
      <description>Hi Renki,&lt;BR /&gt;&lt;BR /&gt;Good day to you !&lt;BR /&gt;Perhaps the document below can help you to setup the NTP ('How do I configure a local NTP server?', docID : KBRC00015667) :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000081573208" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000081573208&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;OR this document below ('How can I setup NTP without using SAM?', docID : UOTHKBAN00000796&lt;BR /&gt;) :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686582" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686582&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information can help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2006 20:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861691#M509080</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-09-13T20:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ntp service using scripts or sam？</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861692#M509081</link>
      <description>Hi Renki,&lt;BR /&gt;&lt;BR /&gt;On the client;&lt;BR /&gt;vi /etc/ntp.conf add the &lt;MASTER_CLOCKSERVER_IP&gt;&lt;BR /&gt;vi /etc/rc.config.d/netdaemons add&lt;BR /&gt;NTPDATE_SERVER=&lt;MASTER_CLOCKSERVER_IP&gt;&lt;BR /&gt;XNTPD=1&lt;BR /&gt;XNTPD_ARGS=&lt;BR /&gt;check/create driff file /etc/ntp.drift&lt;BR /&gt;server master_clockserver&lt;BR /&gt;&lt;BR /&gt;On the master_clockserver check if the ntp daemon is running ok; /usr/sbin/ntpq -p&lt;BR /&gt;the /etc/ntp.conf has server=127.127.1.1&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;fl&lt;BR /&gt;&lt;/MASTER_CLOCKSERVER_IP&gt;&lt;/MASTER_CLOCKSERVER_IP&gt;</description>
      <pubDate>Wed, 13 Sep 2006 21:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861692#M509081</guid>
      <dc:creator>florin_10</dc:creator>
      <dc:date>2006-09-13T21:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ntp service using scripts or sam？</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861693#M509082</link>
      <description>And since this question is in the Ignite-UX section, I wonder if you might want to know that an IUX config file can have lines like&lt;BR /&gt;&lt;BR /&gt;ntpdate_server="15.x.y.z"&lt;BR /&gt;&lt;BR /&gt;that, according to instl_adm(4) will set up the configuration for you, assuming that IP address 15.x.y.z is an existing NTP server.&lt;BR /&gt;&lt;BR /&gt;"      [final] ntpdate_server = cplx_string&lt;BR /&gt;           Sets the network time protocol server that the client uses to&lt;BR /&gt;           keep the clock synchronized.  See ntpdate(1M) for details.  This&lt;BR /&gt;           is currently not used during the installation, rather after the&lt;BR /&gt;           client is finished installing.&lt;BR /&gt;"&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2006 16:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-ntp-service-using-scripts-or-sam/m-p/3861693#M509082</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2006-09-14T16:10:32Z</dc:date>
    </item>
  </channel>
</rss>

