Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2341655.1
Update Date:2018-01-08
Keywords:

Solution Type  Problem Resolution Sure

Solution  2341655.1 :   IB switch ILOM timezone setting does not match the OS symlink /conf/localtime  


Related Items
  • Sun Datacenter InfiniBand Switch 36
  •  
  • Sun Network QDR InfiniBand Gateway Switch
  •  
Related Categories
  • PLA-Support>Sun Systems>SAND>Network>SN-SND: Sun Network Infiniband
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-16268045987>

Applies to:

Sun Datacenter InfiniBand Switch 36 - Version All Versions and later
Sun Network QDR InfiniBand Gateway Switch - Version All Versions and later
Information in this document applies to any platform.

Symptoms

In the NM2 IB switch, /conf/localtime is a symlink to the actual timezone file:

 


Example:

ILOM TZ set to EST (EST5EDT), symlink to EST5EDT

[root@lab-switch ~]# date
Wed Dec 20 12:32:56 EST 2017
[root@lab-switch ~]# ls -l /conf/localtime
lrwxrwxrwx 1 root root 27 2017-12-13 19:56 /conf/localtime -> /usr/share/zoneinfo/EST5EDT
[root@lab-switch ~]# spsh

-> ls /SP/clock

Properties:
datetime = Wed Dec 20 12:33:19 2017
timezone = EST (EST5EDT)
uptime = 11 days, 21:50:14
usentpserver = disabled

 

In some cases, this expected association between the TZ set in the ILOM and the symbolic link to TZ file in the OS is broken (dissociated).

 

EXAMPLE:

ILOM TZ set to EST (America/New_York), symlink to UTC

[root@prod-switch ~]# date
Mon Dec 18 15:46:15 EST 2017
[root@prod-switch ~]# ls -al /conf/localtime
lrwxrwxrwx 1 root root 23 2017-03-13 04:59 /conf/localtime -> /usr/share/zoneinfo/UTC
[root@prod-switch ~]# spsh

-> ls /SP/clock

Properties:
datetime = Mon Dec 18 15:46:36 2017
timezone = EST (America/New_York)
uptime = 74 days, 19:58:30
usentpserver = enabled

 

Impact: Some scripts (e.g., Exachk) would report inconsistency between the md5sum values returned from affected vs. unaffected switches

 

EXAMPLE:

# md5sum /usr/share/zoneinfo/America/New_York
e4ca381035a34b7a852184cc0dd89baa /usr/share/zoneinfo/America/New_York

# md5sum /usr/share/zoneinfo/UTC
c79354b8dbee09e62bbc3fb544853283 /usr/share/zoneinfo/UTC

(all switches ILOM TZ set to EST (America/New_York))

[root@node_adm ~]# dcli -g ibswitch_group -l root md5sum /conf/localtime
prod-switch: e4ca381035a34b7a852184cc0dd89baa /conf/localtime
prod-switch1: c79354b8dbee09e62bbc3fb544853283 /conf/localtime
prod-switch2: c79354b8dbee09e62bbc3fb544853283 /conf/localtime
prod-switch3: c79354b8dbee09e62bbc3fb544853283 /conf/localtime
prod-switch4: c79354b8dbee09e62bbc3fb544853283 /conf/localtime
prod-switch01: c79354b8dbee09e62bbc3fb544853283 /conf/localtime
prod-switchl01: c79354b8dbee09e62bbc3fb544853283 /conf/localtime
prod-switchl02: c79354b8dbee09e62bbc3fb544853283 /conf/localtime

 

Cluster Wide

FAIL Cluster Wide Check Localtime configuration does not match on all Infiniband switches Cluster Wide

 

 

Cause

Cause of the dissociation is unknown at this time.
 

Solution

Solution: set the ILOM TZ to some arbitrary setting/value, then set the preferred TZ...this action will re-establish the association

EXAMPLE:
[root@prod-switch ~]# date
Mon Dec 18 15:46:15 EST 2017
[root@prod-switch ~]# ls -al /conf/localtime
lrwxrwxrwx 1 root root 23 2017-03-13 04:59 /conf/localtime -> /usr/share/zoneinfo/UTC
[root@prod-switch ~]# spsh

Oracle(R) Integrated Lights Out Manager

Version 2.2.6-2 ILOM 3.2.6 r118629

Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.

Warning: HTTPS certificate is set to factory default.

Hostname: prod-switch.customer.com

-> cd /SP/clock
/SP/clock

-> ls

/SP/clock
Targets:

Properties:
datetime = Mon Dec 18 15:46:36 2017
timezone = EST (America/New_York)
uptime = 74 days, 19:58:30
usentpserver = enabled

Commands:
cd
set
show

-> set timezone=PST8PDT
Set 'timezone' to 'PST8PDT' [PST (PST8PDT)]

-> ls

/SP/clock
Targets:

Properties:
datetime = Mon Dec 18 12:46:57 2017
timezone = PST (PST8PDT)
uptime = 74 days, 19:58:51
usentpserver = enabled

Commands:
cd
set
show

-> exit
[root@prod-switch ~]# date
Mon Dec 18 12:47:07 PST 2017
[root@prod-switch ~]# ls -al /conf/localtime
lrwxrwxrwx 1 root root 27 2017-12-18 12:46 /conf/localtime -> /usr/share/zoneinfo/PST8PDT
[root@prod-switch ~]# spsh

Oracle(R) Integrated Lights Out Manager

Version 2.2.6-2 ILOM 3.2.6 r118629

Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.

Warning: HTTPS certificate is set to factory default.

Hostname: prod-switch.customer.com

-> cd /SP/clock
/SP/clock

-> ls

/SP/clock
Targets:

Properties:
datetime = Mon Dec 18 12:47:23 2017
timezone = PST (PST8PDT)
uptime = 74 days, 19:59:16
usentpserver = enabled

Commands:
cd
set
show

-> set timezone=America/New_York
Set 'timezone' to 'America/New_York' [EST (America/New_York)]

-> ls

/SP/clock
Targets:

Properties:
datetime = Mon Dec 18 15:47:39 2017
timezone = EST (America/New_York)
uptime = 74 days, 19:59:33
usentpserver = enabled

Commands:
cd
set
show

-> exit
[root@prod-switch ~]# date
Mon Dec 18 15:47:46 EST 2017
[root@prod-switch ~]# ls -l /conf/localtime
lrwxrwxrwx 1 root root 36 2017-12-18 15:47 /conf/localtime -> /usr/share/zoneinfo/America/New_York
[root@prod-switch ~]#

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback