AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Automatic Change to Summer Saving time on my AIX 5.3

    Posted Tue March 13, 2007 01:12 PM

    Originally posted by: SystemAdmin


    my new AIX 5.3L (p550), olevel 5300-005, changed its date to summer saving time automatcally this morning (Mar 13, 2007). we are in country Mexico, which will not switch until Apr 1. This machine was purchased and put online last December. However, my other AIX 5.3 (p550, olevel 5300-003) did not change, which was purchased a year ago. Does Anyone know why? How do I switch it back so when the Apr 1 comes? it will switch to real Summer Saving time.
    #AIX-Forum


  • 2.  Re: Automatic Change to Summer Saving time on my AIX 5.3

    Posted Tue March 13, 2007 05:06 PM

    Originally posted by: SystemAdmin


    > my new AIX 5.3L (p550), olevel 5300-005, changed its
    > date to summer saving time automatcally this morning
    > (Mar 13, 2007). we are in country Mexico, which will
    > not switch until Apr 1. This machine was purchased
    > and put online last December. However, my other AIX
    > 5.3 (p550, olevel 5300-003) did not change, which was
    > purchased a year ago. Does Anyone know why? How do I
    > switch it back so when the Apr 1 comes? it will
    > switch to real Summer Saving time.

    See "How to verify DST 2007 readiness" in this same forum (http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=747&thread=153441&cat=72).

    The United States of America begins daylight savings time 3 weeks earlier
    beginning in 2007. Consequently, IBM made available an instfix, IY75211,
    (http://www-03.ibm.com/servers/eserver/support/unixservers/news/2006/10/DSTupdate.html)
    its United States customers.

    Apparently, the instfix was applied to one and not the other machine.

    <UNTESTED>
    I suggest that you try removing the instfix IY75211(?). I think you can
    verify the correct number from instfix -iak IY75211 IY75212 IY75213.
    </UNTESTED>

    #AIX-Forum


  • 3.  Re: Automatic Change to Summer Saving time on my AIX 5.3

    Posted Tue March 13, 2007 05:22 PM

    Originally posted by: SystemAdmin


    I use the instfix -iak to check this system and found the IY75211 .. but not on other AIX machine. Do you know when that fix file was included? I just do not know where it came from. Unless the US congress already decided this long before and IBM included it in thier latest installation package (before Dec 2006). How to remove the IY75211? Besides we are in Mexico, is the OS supposed to reconignize this and not applied the fix? (we do not have real time online support contract with IBM).
    #AIX-Forum


  • 4.  Re: Automatic Change to Summer Saving time on my AIX 5.3

    Posted Thu March 15, 2007 05:23 PM

    Originally posted by: SystemAdmin


    > I use the instfix -iak to check this system and found > the IY75211
    >.. but not on other AIX machine.

    This explains why the timezone update was performed on the system with IY75211
    and not performed on the system without IY75211.

    >Do you know when that fix file was included?

    I have no way of knowing when someone installed IY75211 on your host.
    Your system administrator should be able to answer that from his records.

    > Unless the US congress already decided this long before and IBM included it
    > in thier latest installation package (before Dec 2006).

    The US congress decided in 2005 to update the timezone and mandate its use
    in the United States beginning in 2007.
    If IBM support knows your system is in Mexico, they should not have provided
    IY75211, but it is appears someone did so in error.

    > How to remove the IY75211?

    <HINT>
    I suggest you read installp(8) and if necessary ask others on this forum, by
    starting a new topic.
    </HINT>

    Please post instructions to this forum when you learn how to remove a patch.

    > Besides we are in Mexico, is the OS supposed to reconignize this and
    > not applied the fix?

    The OS only knows what your or system administrator tells it (by
    editting config files and installing patches like IY75211). Someone
    incorrectly told your OS that it was in the US by installing
    IY75211. Your OS believes what it is told.

    You may find it worthwhile to hire IBM (via real-time support contract) or
    another system administrator to prevent (and where necessary correct) such
    problems and worse.
    #AIX-Forum


  • 5.  Re: Automatic Change to Summer Saving time on my AIX 5.3

    Posted Thu March 15, 2007 08:48 PM

    Originally posted by: dukessd


    I don't think removing the APAR is a good idea, in fact it is probably not possible.
    You need to look at your time zone and locale settings, it seems like the system has been configured for US time or location not Mexico time or location so it has switched when the US did and not when it should.
    #AIX-Forum


  • 6.  Re: Automatic Change to Summer Saving time on my AIX 5.3

    Posted Fri March 16, 2007 12:16 PM

    Originally posted by: SystemAdmin


    Most unfortuntely, we do not have "IBM" SA here and I do not think the place I work has budget for. That is not the "priority". That´s why I am here as a volunteer from US government. Worse, I have no IBM background, I work on the Oracle part of the system. I have to learn AIX stuffs when I need to know what is going with the system to help my Oracle running smoothly. Because the system was set up by a mexico IBM contractor, he probably did not realize that there is patch for earlier change of time zone of the setup CD.

    I tried to read the installp(8). Where can I find it?

    Since the patch is already on and the Mexico does have Summer Saving policy, just not following the US policy. They still obligate to change on Apr 1. So I think it is ok at this moment. Hope it will not change again when Apr 1 comes.

    I also value the opinion of dukessd too.
    #AIX-Forum


  • 7.  Re: Automatic Change to Summer Saving time on my AIX 5.3

    Posted Mon March 19, 2007 10:54 AM

    Originally posted by: SystemAdmin


    In hindsight, I agree with dukessd:
    > I don't think removing the APAR is a good idea, ...
    > You need to look at your time zone and locale settings ...

    You can read your locale setting summary with locale(1).

    ksh> locale
    ...
    LC_TIME="en_US"
    ...

    POSIX.2 (8.2, tzset()) dictates that processes can select timezone with
    $TZ, but AFAIK does not dictate a system default nor mechanism for setting.

    <UNTESTED>
    I suspect /etc/environment contains the default "TZ" setting for an AIX box.
    </UNTESTED>

    > I tried to read the installp(8).
    > Where can I find it?

    installp(8) is a citation for POSIX-style documentation.
    If you have the "man pages" installed, you can read the "installp"
    entry in section "8" from a ksh command prompt.
    You can read the list of sections in man(1).

    ksh> man 8 installp
    ksh> man 1 man

    If you do not have the man pages installed,
    I strongly suggest that the system administrator (you?) install the man pages.
    If you need help installing man pages,
    I suggest you search this forum and/or start another topic.

    > Hope it will not change again when Apr 1 comes.

    It should not change again.
    AIX like any good OS (e.g. other unixes, PalmOS, ...)
    uses a model-view-contoller for time services.
    The model (real-time clock) should reflect the continuous nature of time
    (and should be set to UTC, a.k.a. "internet time" by convention).
    The view is the set of POSIX commands configurable by timezone to reflect
    political and individual mappings.

    You shouldn't have a problem Apr 1 unless you are synced (e.g. with ntp) to a
    misconfigured time server.
    #AIX-Forum


  • 8.  Re: Automatic Change to Summer Saving time on my AIX 5.3

    Posted Sat March 31, 2007 01:06 PM

    Originally posted by: eddieboo


    The timezone APAR IY75211 is part of AIX since 5.3 TL4, so it is normal that you have that APAR.

    Don't try to uninstalled, it will create your system very uninstable.

    SOLUTION
    here is what you should do. Below from the list select the time zone you are in and run the chtz command. YOU MUST REBOTT THE SYSTEM....
    I know it is not necessary but I have seen many problem as i work for IBM Technical support.

    Eastern Time Zone:
    1. chtz EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    Central Time Zone:
    1. chtz CST6CDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    Mountain Time Zone:
    1. chtz MST7MDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    Pacific Time Zone:
    1. chtz PST8PDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    have fun

    #AIX-Forum


  • 9.  Re: Automatic Change to Summer Saving time on my AIX 5.3- CORRUCT SOLUTION

    Posted Sat March 31, 2007 01:16 PM

    Originally posted by: eddieboo


    MY MISTAKE.
    I should have change the command accordingle, since you want to go back to old DST

    CORRUCT SOLUTION

    Changing the effective date to switch to DST

    If you wish to change the date or time at which the system switches to DST and back to Standard Time from the defaults for your zone, edit the TZ line in /etc/environment. Change the line to read something like the following:

    TZ=CST6CDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    The above example would effect a change to Daylight Savings Time at 2:00 AM on the second Sunday in March and change back at 2:00 AM on the first Sunday in November, and keep the US Central Time Zone time offset from GMT. The breakdown of the string is:

    * CST6CDT is the time zone you are in;
    * M3 is the third month;
    * .2 is the second occurrence of the day in the month;
    * .0 is Sunday;
    * /1:00:00 is the time.

    In more detail, the format is TZ = local_timezone,date/time,date/time. Here date is in the form of Mm.n.d, day d(0-6) of week n (1-5, where week 5 means "the last d day in month m" and which may occur in either the fourth or the fifth week) of month m of the year. Week 1 is the first week in which the day d occurs. Day zero is Sunday. This format is compliant with POSIX 1003.1 standards for Extensions to Time Functions.

    NOW as per the above method, if you are changing time in april then you will use M4 and so on......use the above methode select one of the below command according to your timezone and edit that commmand accordingly and run it...
    *****YOU MUST REBOOT THE BOX****
    I have seen many problem If you don't reboot since i work for IBM technical support

    Eastern Time Zone:
    1. chtz EST5EDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    Central Time Zone:
    1. chtz CST6CDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    Mountain Time Zone:
    1. chtz MST7MDT,M3.2.0/2:00:00,M11.1.0/2:00:00

    Pacific Time Zone:
    1. chtz PST8PDT,M3.2.0/2:00:00,M11.1.0/2:00:00
    have fun

    #AIX-Forum