<?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: Effects of date command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842818#M936662</link>
    <description>I have just checked the NTP clocking configuration of my two HP9000 servers, SDP1 and SDP2. Please refer to the attached file.&lt;BR /&gt;&lt;BR /&gt;Seems like they are referring to each other at the moment but I am not too sure. Please comment on this.&lt;BR /&gt;&lt;BR /&gt;If that is the case, I have to change the timestamp at least on one server then the other server will slowly follow suit. Databases are running on both of these servers all the time. So I am worried about having to deal with broken links and other corruption later.</description>
    <pubDate>Wed, 13 Nov 2002 05:34:43 GMT</pubDate>
    <dc:creator>Serena Kuan_1</dc:creator>
    <dc:date>2002-11-13T05:34:43Z</dc:date>
    <item>
      <title>Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842813#M936657</link>
      <description>I would like some advise on this scenario:&lt;BR /&gt;I need to reconfigure the timestamp(2 minutes behind now) with the 'date' command manually on 2 N-class HP9000 servers so that they are in consistent with the rest of the network (connected to an external atomic clock).&lt;BR /&gt;&lt;BR /&gt;I will be doing this during a time when my cron jobs are not running. Furthermore, I'm setting it forward, so I guess this should not affect my make program. Lastly, my system is not doing any incremental backups.&lt;BR /&gt;&lt;BR /&gt;Currently, xntpd is running on these 2 servers. So after manually resetting the timestamp on both the servers simultaneously (hopefully I can do it fast enough). &lt;BR /&gt;&lt;BR /&gt;After that I hope xntpd will be able resynchronise the time deviations between these 2 servers to provide a better accuracy from microsecond to millisecond range. Thus, do I need to restart the xntpd daemon for this?&lt;BR /&gt; &lt;BR /&gt;However some of the worries I have is:&lt;BR /&gt;1. I cannot reboot the servers since they are live production system. So, it is advisable to use the date command without rebooting the system?&lt;BR /&gt;2. I also will be doing this while system is running in multi-user mode since I cannot reboot the system. Is that advisable too?&lt;BR /&gt;3. Is there any other effect of this 'date' command on the system?  &lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Serena</description>
      <pubDate>Tue, 12 Nov 2002 06:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842813#M936657</guid>
      <dc:creator>Serena Kuan_1</dc:creator>
      <dc:date>2002-11-12T06:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842814#M936658</link>
      <description>Hi, serena&lt;BR /&gt;&lt;BR /&gt;How about using 'ntpdate'.&lt;BR /&gt;&lt;BR /&gt;since you need to synchronize with n/w, i think this is one of the solution&lt;BR /&gt;have a look at ntpdate man pages</description>
      <pubDate>Tue, 12 Nov 2002 06:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842814#M936658</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-11-12T06:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842815#M936659</link>
      <description>Thanks. My focus is more on the system. Rolling forward even 2 minutes might prove to be disasterous to my system since it is used for telecommunication purpose where charging rate, ongoing-calls etc are going on 24 hours. Anyone care to share their experience?</description>
      <pubDate>Tue, 12 Nov 2002 06:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842815#M936659</guid>
      <dc:creator>Serena Kuan_1</dc:creator>
      <dc:date>2002-11-12T06:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842816#M936660</link>
      <description>Note the comments in this post from Bill Hassell in regards to running 'ntpdate' &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x89126049dbb6d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x89126049dbb6d611abdb0090277a778c,00.html&lt;/A&gt;</description>
      <pubDate>Tue, 12 Nov 2002 07:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842816#M936660</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-12T07:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842817#M936661</link>
      <description>Serena,&lt;BR /&gt;&lt;BR /&gt;If you're absolutely sure that you want to do this and no harm will come from it (i.e. no databases running, etc.), try this technique:&lt;BR /&gt;&lt;BR /&gt;LIST=`cat /etc/hosts |grep "#unixhost" |awk -F# '{ print $3 }'`&lt;BR /&gt;for SERVER in $LIST&lt;BR /&gt;do&lt;BR /&gt;       remsh $SERVER /usr/sbin/ntpdate -b yukon&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any method will work for the list but we use the /etc/hosts file to provide this list by adding the #unixhost comment like this:&lt;BR /&gt;130.1.0.251.....yukon...yukon.holstein.com.......#unixhost#yukon&lt;BR /&gt;&lt;BR /&gt;(ignore the periods - they're just for spacing).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 12 Nov 2002 11:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842817#M936661</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-11-12T11:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842818#M936662</link>
      <description>I have just checked the NTP clocking configuration of my two HP9000 servers, SDP1 and SDP2. Please refer to the attached file.&lt;BR /&gt;&lt;BR /&gt;Seems like they are referring to each other at the moment but I am not too sure. Please comment on this.&lt;BR /&gt;&lt;BR /&gt;If that is the case, I have to change the timestamp at least on one server then the other server will slowly follow suit. Databases are running on both of these servers all the time. So I am worried about having to deal with broken links and other corruption later.</description>
      <pubDate>Wed, 13 Nov 2002 05:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842818#M936662</guid>
      <dc:creator>Serena Kuan_1</dc:creator>
      <dc:date>2002-11-13T05:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842819#M936663</link>
      <description>Serena,&lt;BR /&gt;I am no expert in this area but would observe as follows.&lt;BR /&gt;Your 2 machines are just referring to each other. I don't understand what 127.127.0.1 is - perhaps some strange loopback address - but this is shown by the ntpq and netdaemons info.&lt;BR /&gt;You mention an external atomic clock. You'll need some machine (X) referring to that and then refer each of your 2 machines to X. Using the server command in /etc/ntp.conf.&lt;BR /&gt;You'll then have to stop and start xntpd I'd expect.&lt;BR /&gt;If time is VERY important and effects accounting I suggest&lt;BR /&gt;resetting in slow stages by hand. eg 1 second at a time over a few hours!!! Carefull with /sbin/init.d/xntpd as it attempts a single step resetting of the time before running the xntpd daemon. &lt;BR /&gt;Regards, Garry</description>
      <pubDate>Wed, 13 Nov 2002 11:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842819#M936663</guid>
      <dc:creator>Garry Ferguson</dc:creator>
      <dc:date>2002-11-13T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842820#M936664</link>
      <description>Install a newer version of ntp and have it slew the time. There is a new switch which tells ntp to allway slew the time.  This would be appropriate in your case.</description>
      <pubDate>Wed, 13 Nov 2002 14:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842820#M936664</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2002-11-13T14:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842821#M936665</link>
      <description>Install a newer version of ntp and have it slew the time. There is a new switch (-x) which tells ntp to allways slew the time.  This would be appropriate in your case.  It will take a few hours to syncronize but won't significantly alter billings.</description>
      <pubDate>Wed, 13 Nov 2002 14:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842821#M936665</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2002-11-13T14:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Effects of date command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842822#M936666</link>
      <description>You can use 'date -a &lt;OFFSET&gt;' to correct the time on your server. It won't have affect any of your applications.&lt;BR /&gt;&lt;BR /&gt;man date&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/OFFSET&gt;</description>
      <pubDate>Wed, 13 Nov 2002 14:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/effects-of-date-command/m-p/2842822#M936666</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-13T14:57:19Z</dc:date>
    </item>
  </channel>
</rss>

