<?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 timezone change problem with RAC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019804#M762502</link>
    <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I've got two hp-ux ia64 (11.23) nodes running&lt;BR /&gt;Oracle 10.2.0.2 RAC.&lt;BR /&gt;&lt;BR /&gt;At system inst. on one of then i set time zone&lt;BR /&gt;MST by mistake. Should have been MET.&lt;BR /&gt;&lt;BR /&gt;At the time nodes were not configured as NTP clients yes, so I didn't notice that until after RAC was up and running.&lt;BR /&gt;&lt;BR /&gt;I changed it and now I have a big problem.&lt;BR /&gt;&lt;BR /&gt;Oracle instance on that node still shows the&lt;BR /&gt;MST time (TO_CHAR(SYSDATE,...)).&lt;BR /&gt;&lt;BR /&gt;After the system timezone change I rebooted&lt;BR /&gt;the system.&lt;BR /&gt;&lt;BR /&gt;Then I set:&lt;BR /&gt;# srvctl getenv database -d hb0&lt;BR /&gt;TNS_ADMIN=/cfs/sw01/ora/10.2.0/db1/network/admin&lt;BR /&gt;TZ=+01:00&lt;BR /&gt;&lt;BR /&gt;# I set Oracle's TZ variable (listener&lt;BR /&gt;runs under oracle user) to the same &lt;BR /&gt;value, restarted instance + crs on&lt;BR /&gt;that node ...&lt;BR /&gt;&lt;BR /&gt;Nothing seems to help.&lt;BR /&gt;&lt;BR /&gt;Any ideas, please?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 20 Dec 2006 04:22:22 GMT</pubDate>
    <dc:creator>borut kurnik_1</dc:creator>
    <dc:date>2006-12-20T04:22:22Z</dc:date>
    <item>
      <title>system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019804#M762502</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I've got two hp-ux ia64 (11.23) nodes running&lt;BR /&gt;Oracle 10.2.0.2 RAC.&lt;BR /&gt;&lt;BR /&gt;At system inst. on one of then i set time zone&lt;BR /&gt;MST by mistake. Should have been MET.&lt;BR /&gt;&lt;BR /&gt;At the time nodes were not configured as NTP clients yes, so I didn't notice that until after RAC was up and running.&lt;BR /&gt;&lt;BR /&gt;I changed it and now I have a big problem.&lt;BR /&gt;&lt;BR /&gt;Oracle instance on that node still shows the&lt;BR /&gt;MST time (TO_CHAR(SYSDATE,...)).&lt;BR /&gt;&lt;BR /&gt;After the system timezone change I rebooted&lt;BR /&gt;the system.&lt;BR /&gt;&lt;BR /&gt;Then I set:&lt;BR /&gt;# srvctl getenv database -d hb0&lt;BR /&gt;TNS_ADMIN=/cfs/sw01/ora/10.2.0/db1/network/admin&lt;BR /&gt;TZ=+01:00&lt;BR /&gt;&lt;BR /&gt;# I set Oracle's TZ variable (listener&lt;BR /&gt;runs under oracle user) to the same &lt;BR /&gt;value, restarted instance + crs on&lt;BR /&gt;that node ...&lt;BR /&gt;&lt;BR /&gt;Nothing seems to help.&lt;BR /&gt;&lt;BR /&gt;Any ideas, please?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2006 04:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019804#M762502</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-12-20T04:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019805#M762503</link>
      <description>Borut,&lt;BR /&gt;&lt;BR /&gt;You may need to change the time zone at Unix level as well. Try set_parms coomand to change your syste's time zone. This require system reboot so be careful.&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Wed, 20 Dec 2006 04:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019805#M762503</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2006-12-20T04:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019806#M762504</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Thanks, Sunil. &lt;BR /&gt;&lt;BR /&gt;I've already done that.&lt;BR /&gt;&lt;BR /&gt;In fact, that wast the cause of &lt;BR /&gt;it all. I had to change timezone from &lt;BR /&gt;MST to MET at the HP-UX level &lt;BR /&gt;first, so I did it (and of course&lt;BR /&gt;rebooted the system).&lt;BR /&gt;&lt;BR /&gt;Just the Oracle RAC instance on&lt;BR /&gt;that node doesn't seem to&lt;BR /&gt;'understand' that, so the time&lt;BR /&gt;it shows is still MST.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2006 04:50:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019806#M762504</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-12-20T04:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019807#M762505</link>
      <description>Hi borut,&lt;BR /&gt;&lt;BR /&gt;The HP-UX $TZ precedences are (see patch PHCO_34275 special instructions for better understanding):&lt;BR /&gt;&lt;BR /&gt; 1) if the environment variable TZ is present, it takes the&lt;BR /&gt;    precedence.&lt;BR /&gt; 2) if TZ is not present, then the value contained in&lt;BR /&gt;    /etc/default/tz is used for default.&lt;BR /&gt; 3) if /etc/default/tz is not set, then the default value is&lt;BR /&gt;    equivalent to EST5EDT (Eastern Standard Time) of US.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2006 06:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019807#M762505</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-12-20T06:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019808#M762506</link>
      <description>[cont.]&lt;BR /&gt;&lt;BR /&gt;...So how did you set the $TZ variable? &lt;BR /&gt;&lt;BR /&gt;TZ is not an Oracle variable but an HP-UX one and if not set explicitly will default to the value in "/etc/default/tz".&lt;BR /&gt;&lt;BR /&gt;ORA_TZFILE is usally used for Oracle:&lt;BR /&gt;&lt;BR /&gt;export ORA_TZFILE="$ORACLE_HOME/oracore/zoneinfo/timezlrg.dat"&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Wed, 20 Dec 2006 06:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019808#M762506</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-12-20T06:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019809#M762507</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Thanks, Eric.&lt;BR /&gt;&lt;BR /&gt;My HP-UX timezones are ok (MET) now. I have &lt;BR /&gt;no problem there.&lt;BR /&gt;&lt;BR /&gt;The only problem is that Oracle instance on&lt;BR /&gt;the node where timezone was incorrect, still&lt;BR /&gt;shows the wrong time.&lt;BR /&gt;&lt;BR /&gt;system node1:&lt;BR /&gt;=============&lt;BR /&gt;# date&lt;BR /&gt;Wed Dec 20 12:53:17 MET 2006&lt;BR /&gt;&lt;BR /&gt;system node2:&lt;BR /&gt;=============&lt;BR /&gt;# date&lt;BR /&gt;Wed Dec 20 12:53:23 MET 2006&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;oracle instance system 1:&lt;BR /&gt;=========================&lt;BR /&gt;SQL&amp;gt; select dbtimezone from dual;&lt;BR /&gt;DBTIME&lt;BR /&gt;------&lt;BR /&gt;+00:00&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select sessiontimezone from dual;&lt;BR /&gt;SESSIONTIMEZONE&lt;BR /&gt;---------------&lt;BR /&gt;+01:00&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select to_char(sysdate,'YYYYMMDD HH24:MI:SS') from dual;&lt;BR /&gt;&lt;BR /&gt;TO_CHAR(SYSDATE,'&lt;BR /&gt;-----------------&lt;BR /&gt;20061220 12:54:12&lt;BR /&gt;&lt;BR /&gt;oracle instance at system 2:&lt;BR /&gt;============================&lt;BR /&gt;SQL&amp;gt; select dbtimezone from dual;&lt;BR /&gt;DBTIME&lt;BR /&gt;------&lt;BR /&gt;+00:00&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select sessiontimezone from dual;&lt;BR /&gt;SESSIONTIMEZONE&lt;BR /&gt;---------------&lt;BR /&gt;+01:00&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select to_char(sysdate,'YYYYMMDD HH24:MI:SS') from dual;&lt;BR /&gt;&lt;BR /&gt;TO_CHAR(SYSDATE,'&lt;BR /&gt;-----------------&lt;BR /&gt;20061220 06:54:17&lt;BR /&gt;&lt;BR /&gt;As you can see, the both systems&lt;BR /&gt;show the same time and timezone&lt;BR /&gt;settings, but the Oracle instances&lt;BR /&gt;show the same timezone setting but&lt;BR /&gt;different time and&lt;BR /&gt;the difference between the instances is&lt;BR /&gt;6 hrs, which is the difference between&lt;BR /&gt;MET and MST.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2006 07:08:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019809#M762507</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-12-20T07:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019810#M762508</link>
      <description>Thanks, guys!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2006 08:08:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019810#M762508</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2006-12-20T08:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019811#M762509</link>
      <description>Borut, &lt;BR /&gt;&lt;BR /&gt;Did you resolve this issue?    If yes, could you share what you did to fix this problem (ie, how to get Oracle to recognize system timezone)?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;HP</description>
      <pubDate>Fri, 26 Jan 2007 12:05:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019811#M762509</guid>
      <dc:creator>Hung Pham</dc:creator>
      <dc:date>2007-01-26T12:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: system timezone change problem with RAC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019812#M762510</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Oh yes, of course. Sorry.&lt;BR /&gt;&lt;BR /&gt;As Eric wrote ....&lt;BR /&gt;&lt;BR /&gt; 1) if the environment variable TZ is present, it takes the&lt;BR /&gt;precedence.&lt;BR /&gt;2) if TZ is not present, then the value contained in&lt;BR /&gt;/etc/default/tz is used for default.&lt;BR /&gt;3) if /etc/default/tz is not set, then the default value is&lt;BR /&gt;equivalent to EST5EDT (Eastern Standard Time) of US.&lt;BR /&gt;&lt;BR /&gt;I updated /etc/default/tz, but I also had&lt;BR /&gt;TZ set in one of those nested login procedures.&lt;BR /&gt;&lt;BR /&gt;Just wasn't careful enough...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Borut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jan 2007 16:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-timezone-change-problem-with-rac/m-p/5019812#M762510</guid>
      <dc:creator>borut kurnik_1</dc:creator>
      <dc:date>2007-01-26T16:14:05Z</dc:date>
    </item>
  </channel>
</rss>

