<?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 System Time changing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763951#M260002</link>
    <description>Hi All,&lt;BR /&gt;2xrp7420 servers (OS HP-UX) with RAC cluster running 1 hour faster to the correct time. I need to change it to correct system time, I mean the time need to be changed backwardly. But I need to confirm before changing system time whether it needs a reboot or not?&lt;BR /&gt;&lt;BR /&gt;Can anybody confirm me?&lt;BR /&gt;&lt;BR /&gt;Mostafa</description>
    <pubDate>Sun, 02 Apr 2006 06:39:07 GMT</pubDate>
    <dc:creator>rana786</dc:creator>
    <dc:date>2006-04-02T06:39:07Z</dc:date>
    <item>
      <title>System Time changing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763951#M260002</link>
      <description>Hi All,&lt;BR /&gt;2xrp7420 servers (OS HP-UX) with RAC cluster running 1 hour faster to the correct time. I need to change it to correct system time, I mean the time need to be changed backwardly. But I need to confirm before changing system time whether it needs a reboot or not?&lt;BR /&gt;&lt;BR /&gt;Can anybody confirm me?&lt;BR /&gt;&lt;BR /&gt;Mostafa</description>
      <pubDate>Sun, 02 Apr 2006 06:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763951#M260002</guid>
      <dc:creator>rana786</dc:creator>
      <dc:date>2006-04-02T06:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: System Time changing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763952#M260003</link>
      <description>Hi Mostafa,&lt;BR /&gt;&lt;BR /&gt;Do a man on set_parms:&lt;BR /&gt;&lt;BR /&gt;set_parms date_time&lt;BR /&gt;Allows the user to set the system date and time interactively. The change takes effect immediately.&lt;BR /&gt;&lt;BR /&gt;But keep in mind that changing your system date/time has an impact on your database/application. &lt;BR /&gt;&lt;BR /&gt;GL &lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Sun, 02 Apr 2006 09:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763952#M260003</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-04-02T09:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: System Time changing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763953#M260004</link>
      <description>hi mostafa,&lt;BR /&gt;&lt;BR /&gt;set_parms will help you change the time settings.&lt;BR /&gt;&lt;BR /&gt;i would also consider configuring a time server for efficient synchronisation.&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Sun, 02 Apr 2006 10:02:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763953#M260004</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-04-02T10:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: System Time changing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763954#M260005</link>
      <description>Hi Mostafa:&lt;BR /&gt;&lt;BR /&gt;Before you change anything, make sure that both servers have the same TZ (timezone) setting.&lt;BR /&gt;&lt;BR /&gt;# echo ${TZ}&lt;BR /&gt;&lt;BR /&gt;Since one server is 1-hour different than the other, it is conceivable that the difference you see is due to daylight saving time.  Thus, in reality, the underlying time is correct; it's just the localtime that is wrong.  In that case, you should change the TZ value in '/etc/TIMEZONE' to be correct.&lt;BR /&gt;&lt;BR /&gt;If you are not running NTP (Network Time Protocol) you absolutely should set this up.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 02 Apr 2006 11:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763954#M260005</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-04-02T11:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: System Time changing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763955#M260006</link>
      <description>And to make sure that the system time (which is always GMT) is truly incorrect, do this on *BOTH* servers:&lt;BR /&gt; &lt;BR /&gt;TZ=GMT0 date&lt;BR /&gt; &lt;BR /&gt;If the time is identical then DON't change the time on either server. Instead, you need to set the global timezone (for all logins) to the correct timezone for your area. The global timezone is kept in /etc/TIMEZONE. One of your machines is incorrect. However, if the TIMEZONE files are both the same, then the timezone rules for Daylight Saving are mismatched. Compare the two servers this way:&lt;BR /&gt; &lt;BR /&gt;grep $TZ /usr/lib/tztab&lt;BR /&gt; &lt;BR /&gt;If these two line are the same, then the TZ value must be different between the two machines. The most likely culprit is .profile or an extra profile sourced by /etc/profile or $HOME/.profile. If they are different, add this statement throughout /etc/profile and $HOME/.profile for debugging:&lt;BR /&gt; &lt;BR /&gt;echo "at line $LINEO, TZ=$TZ"&lt;BR /&gt; &lt;BR /&gt;It's important to understand that HP-UX does not change it's system time for different timezones. Instead, time is interpreted by using $TZ as an index into the /usr/lib/tztab file. When first setting up (or reinstalling) the system, the TZ value must be set BEFORE changing the date/time. Whatever you type as a new date and time is translated by $TZ into GMT0 and the clock is set to the result.&lt;BR /&gt; &lt;BR /&gt;Note that setting the time forward or backward on an active server, especially a database server, can be detgrimental to the data files that use timestamps. While you can always change the time, it is always better to shutdown all applications and databases, logout all users, fix inconsistencies with $TZ and tztab, then change the time and reboot.</description>
      <pubDate>Sun, 02 Apr 2006 12:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763955#M260006</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-02T12:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: System Time changing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763956#M260007</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; It looks like you have got incorrect timezone setting in one of the server. Before changing the time, check if you have got the correct time zone by &lt;BR /&gt;&lt;BR /&gt;echo $TZ&lt;BR /&gt;&lt;BR /&gt;if you find it's incorrect, then set proper TZ. Then you may find correct time. If still not , the you can change time by set_parms command. See man page for more details. The change will take effect immediately, but you may have some inconsistancies in some of your processes.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Sun, 02 Apr 2006 16:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-time-changing/m-p/3763956#M260007</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-04-02T16:00:19Z</dc:date>
    </item>
  </channel>
</rss>

