AIX

 View Only
  • 1.  Modifying TZ variable for Daylight Savings

    Posted Sun February 05, 2006 10:02 PM

    Originally posted by: Rowan


    Due to Australia hosting the Commonwealth Games Daylight Savings has been extended
    from the Sunday 26th March to Sunday 2nd April this year.
    This off course means I need to update the TZ variable. I'd appreciate feedback as to if the below is correct to ensure the changes occurs on the new date.
    Current TZ = EET-10EETDT,M10.5.0,M3.5.0
    Proposed TZ = EET-10EETDT,M10.5.0,M4.1.0
    I assume I then need to change it back after the date to be correct for the following year, I know HP-UX has a file where you can specify changes to be for a specific year only..


  • 2.  Re: Modifying TZ variable for Daylight Savings

    Posted Mon February 06, 2006 01:06 PM

    Originally posted by: KentPerrier


    IBM should produce a patch to deal with this.


  • 3.  Re: Modifying TZ variable for Daylight Savings

    Posted Tue February 07, 2006 10:01 AM

    Originally posted by: SystemAdmin


    I know that AIX 5.2 and AIX 5.3 have support for doing just this. Go to smitty - system environments - change/show date, time, timezone. There is an option for entering user specified values. You can set which timezone you are in and when the system enters/exits Daylight Saving Time. Set the values you want and boot.

    I had to look into the same thing as Indiana is now going to support DST for the first time this fall.

    -Aaron


  • 4.  Re: Modifying TZ variable for Daylight Savings

    Posted Wed February 08, 2006 07:45 PM

    Originally posted by: Rowan


    With impeccable timing I recieved the answer by way of a AIX support bulletin -

    Australian DST change for 2006

    For systems using the Time Zone (TZ) variable to adjust for Daylight
    Savings (DST), a manual adjustment may be needed to cover the changes made
    by Australian Governments to Australian DST in 2006 to take account of the
    Commonwealth Games. You should check whether your system is utilising
    Daylight Savings Time (DST) and how this will affect your systems and
    applications. If you do change the Time Zone (TZ) variable any changes made
    to the time zone will NOT fully take effect until the next system boot.

    Please review the TechNote "Managing the Time Zone Variable" which
    discusses the implications of making changes available from
    http://techsupport.services.ibm.com/server/aix.srchBroker

    For example
    For ACT, NSW, and VIC the TZ environment variable needs to change from
    TZ=EET-10EETDT,M10.5.0,M3.5.0 - to - TZ=EET-10EETDT,M10.5.0,M4.1.0
    Customers should contact their local Government office to verify the
    start and stop rules for DST in their locality
    Australia http://www.australia.gov.au/
    New Zealand http://www.dia.govt.nz/
    This change can be made with the chtz command, through smit 'smit
    chtz_user' or by editing the /etc/environment file.
    After making this change kill/stop/restart " cron " so that it will pick
    up the new TZ when it is automatically restarted by init.
    Other applications that rely on TZ would also need to be restarted.eg
    users should log out and back in to pick up the change.
    A reboot, while probably not essential, would ensure that all processes
    pickup the change.