Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1008672.1
Update Date:2010-07-06
Keywords:

Solution Type  Problem Resolution Sure

Solution  1008672.1 :   Sun Fire[TM] (3800-6800/E2900-E6900/v1280) Server: System Controller Setdate to Daylight Savings Time  


Related Items
  • Sun Fire E6900 Server
  •  
  • Sun Fire 3800 Server
  •  
  • Sun Fire 6800 Server
  •  
  • Sun Netra 1280 Server
  •  
  • Sun Fire E4900 Server
  •  
  • Sun Fire 4800 Server
  •  
  • Sun Fire V1280 Server
  •  
  • Sun Fire E2900 Server
  •  
  • Sun Fire 4810 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>Midrange V and Netra Servers
  •  
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  
  • GCS>Sun Microsystems>Servers>Midrange Servers
  •  

PreviouslyPublishedAs
211889


Symptoms
Can not change the time zone to daylight savings time on the SC.

For example, PDT (Pacific), MDT (Mountain), CDT (Central), EDT (Eastern) or British Summer Time (BST) daylight time zones.



Resolution
This is a feature of the Java[TM] Virtual Machine (JVM).

Although the setdate command does not allow "Daylight" options, such as PDT, MDT, CDT, or EDT, the Daylight/Standard is automatically determined when the timezone (-t option in the setdate command) is entered.

For example:

sc0:SC> setdate -t EST

Wed Jul 07 10:20:06 EDT 2004 <-- note EDT

sc0:SC>

Note that although "EST" was specified in the setdate command, the results are displayed in "EDT".

To disable daylight savings time completely, specify the timezone as an explicit offset from GMT.

For example:

sc0:SC> setdate -t gmt-5

Wed Jul 07 09:20:42 GMT-05:00 2004

sc0:SC>

Platforms operating within the United Kingdom (UK)

The timezone within the UK is GMT, and this means daylight saving does not occur.

A further problem is that daylight saving within the UK is known as British Summer time (BST). This conflicts with the Bangladesh timezone on the system controller.

toot-sc0:SC> setdate -t BST

Fri Jul 02 14:23:42 BDT 2004

toot-sc0:SC> showdate -v

Fri Jul 02 14:23:46 BDT 2004

BST GMT+06:00 Bangladesh Time

toot-sc0:SC>

Setting the correct timezone for UK platforms

Set the timezone to Europe/London

toot-sc0:SC> setdate -v -t Europe/London 032800592004

Sun Mar 28 00:59:00 GMT 2004 Europe/London GMT+00:00 Greenwich Mean Time

toot-sc0:SC> showdate -v

Sun Mar 28 00:59:49 GMT 2004 Europe/London GMT+00:00 Greenwich Mean Time

toot-sc0:SC> showdate -v

Sun Mar 28 02:00:02 BST 2004 Europe/London GMT+00:00 Greenwich Mean Time toot-sc0:SC>

Daylight saving has now kicked in as expected.

Generic advice on setting timezones

Do not use the three letter abbreviation for the timezone. Confusion may arise as above with BST (British Summer time, Bangladesh time)

Or as in Sydney, Australia. The SC reports a timezone of EST which could be confused with American Eastern Standard Time.

Use the full name for the timezone you are in. You can obtain full timezone information by typing setdate -tv

Example output from an Australian platform

toot-sc0:SC> setdate -v -t Australia/Sydney

Sun Oct 31 01:28:37 EST 2004

Australia/Sydney              GMT+10:00 Eastern Standard Time (New South Wales)

toot-sc0:SC> showdate

Sun Oct 31 01:59:58 EST 2004

toot-sc0:SC> showdate

Sun Oct 31 03:00:02 EST 2004

toot-sc0:SC> showdate -v

Sun Oct 31 03:00:15 EST 2004

Australia/Sydney              GMT+10:00 Eastern Standard Time (New South Wales)

toot-sc0:SC>



Product
Sun Fire 6800 Server
Sun Fire 3800 Server
Netra 1280 Server
Sun Fire V1280 Server
Sun Fire E6900 Server
Sun Fire E4900 Server
Sun Fire E2900 Server
Sun Fire 4810 Server
Sun Fire 4800 Server

Internal Comments
For the internal use of Sun Employee's.

Author: Rick Holmes/John Cecere


timezone
Previously Published As
26851

Change History
Date: 2005-08-29
User Name: 111868
Action: Approved
Comment: Verified Metadata
Verified audience as per FvF http://kmo.central/howto/FvF.html
Checked review date
Checked for TM
Publishing
Version: 3
Date: 2005-08-29
User Name: 111868
Action: Accept
Comment:
Version: 0

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback