how to check servers will adjust for daylight savings?


 
Thread Tools Search this Thread
Operating Systems Solaris how to check servers will adjust for daylight savings?
# 1  
Old 03-25-2009
how to check servers will adjust for daylight savings?

Hi All,

We have a few hundred Sun servers running sol7-10. How can I check that they are configured correctly to adjust for daylight savings?

I have been told they have all adjusted in the past - so should be safe. But I would like to know what package/variable deals with this, and how to check for it. Our /etc/TIMEZONE files lists the following:

Code:
# This file is /etc/default/init.  /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not.  To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, CMASK, or any of the LC_* environment variables.
#
TZ=GB
CMASK=022

Many thanks.
# 2  
Old 03-25-2009
I found the following snippets in my notes & on the web:

DST Patches should be applied as follows:

DST patches:
Solaris 8 109809-08
Solaris 9 113225-10
Solaris 10 125378-03
Solaris 10 x86 125379-03

This is to check forthcoming changes on your host:
Code:
-bash-3.00$ /usr/sbin/zdump -v GB | grep 2009
GB  Wed Mar 25 14:13:49 2009 UTC = Wed Mar 25 14:13:49 2009 GMT isdst=0
GB  Sun Mar 29 00:59:59 2009 UTC = Sun Mar 29 00:59:59 2009 GMT isdst=0
GB  Sun Mar 29 01:00:00 2009 UTC = Sun Mar 29 02:00:00 2009 BST isdst=1
GB  Sun Oct 25 00:59:59 2009 UTC = Sun Oct 25 01:59:59 2009 BST isdst=1
GB  Sun Oct 25 01:00:00 2009 UTC = Sun Oct 25 01:00:00 2009 GMT isdst=0

I'm not sure about the patches & validity - if anyone has a more up-to-date document. It would be much appreciated.

Thanks.
# 3  
Old 03-25-2009
Check if xntpd deamon is running on your system.
Check what time zone is your server configured for, see /etc/TIMEZONE file.
xntpd deamon needs to adjust clock with external servers, you need to define those servers in /etc/inet/inet.conf ,entry in this server looks like the following, since my server is syncing with europe time zone.

server europe.pool.ntp.org

When you run dmesg command it will show you clock is reset
# 4  
Old 03-25-2009
ok I think i've found what i'm looking for. Further hunting on sunsolve found the following:

#234461: Solaris Daylight Saving Time (DST) Update (Aug 2008, Oct 2008, Mar 2009)

The following patches should be installed for DST updates:

SPARC Platform:
* Solaris 8 with patch 109809-11 or later
* Solaris 9 with patch 113225-14 or later
* Solaris 10 with patch 138856-02 or later

x86 Platform:
* Solaris 8 with patch 109810-11 or later
* Solaris 9 with patch 116545-12 or later
* Solaris 10 with patch 138857-02 or later

If you check for the above patches, then use 'zdump -v' I think that should cover things ok.

Thanks to all.
# 5  
Old 03-26-2009
Quote:
Originally Posted by Tirmazi
xntpd deamon needs to adjust clock with external servers, you need to define those servers in /etc/inet/inet.conf ,
/etc/inet/ntp.conf methinks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Daylight savings time

Hello everyone The last sunday I have to check that my servers has change Daylight savings time but only two servers do it and all the rest doesnt. In smitty where I need to change, for my server take automatic the daylight savings time. Thanks for your tips The next its a message for... (0 Replies)
Discussion started by: lo-lp-kl
0 Replies

2. AIX

Daylight savings time

Our aix unix box did not recognize daylight savings time since it was moved up. Could someone please give me the syntax to change the hour? I looked in man and couldn't find anything, or I missed it. I'm in 3rd grade so if you can, please provide specific instructions. Thanks! (2 Replies)
Discussion started by: vbagwell
2 Replies

3. Solaris

Daylight Savings Time Quirk

I am running a SUN E450 on solaris (5.7). I have applied the DST patch and the system time is correct. However when users login the get the time wrong (+4 hours) (I am in EDT Zone). Does anyone know where a system wide variable for this could be set. (Root user gets the right time) Frank (3 Replies)
Discussion started by: frankkahle
3 Replies

4. Linux

Daylight savings patch for Linux?

Is there a patch availible for the upcoming new daylight savings time ordeal? (4 Replies)
Discussion started by: shorty
4 Replies

5. Solaris

Daylight Savings Time Fix

Hello, I've been looking at coming up with a time change on my Sun workstations since daylight savings time comes early this year. Someone at work told me that a sun patch is available if you have a maintenance contract. It was recommended to just set your systems to GMT time zone. How is this... (5 Replies)
Discussion started by: stocksj
5 Replies

6. UNIX for Dummies Questions & Answers

Daylight savings change

Hey guys, How do i check and see if my server will automatically adjust itself for daylight savings? Thanks! (6 Replies)
Discussion started by: kingdbag
6 Replies

7. Solaris

daylight savings change

I have a solaris 8 server - and I need to ensure the daylight savings change properly but I dont think its set up correctly: /usr/sbin/zdump -v -c 2005 $TZ GB-EIRE Wed Oct 26 12:20:02 2005 UTC = Wed Oct 26 12:20:02 2005 GB isdst=0 GB-EIRE Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52... (5 Replies)
Discussion started by: frustrated1
5 Replies

8. UNIX for Dummies Questions & Answers

Daylight savings and cron

I was trying to schedule a job to run on the last Sunday of October. To stop a process that I have running before daylight savings automatically falls back at 2AM then restart it after the hour has been regained. I thought I was smart (my mistake) and scheduled the 2 entries in cron. I figured that... (3 Replies)
Discussion started by: cindylouwho
3 Replies

9. Post Here to Contact Site Administrators and Moderators

Daylight Savings - Timezones etc...

Hey Neo - or other Unix.com staffers - I've selected my Timezone for the forums - however it's wrong for my Country - as we have Daylight Savings for 6 months of the year - so currently were 1 hour ahead of the time that is provided in the personal options pages. Can we add another for this - no... (5 Replies)
Discussion started by: peter.herlihy
5 Replies
Login or Register to Ask a Question