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

Asset ID: 1-71-1021108.1
Update Date:2012-04-11
Keywords:

Solution Type  Technical Instruction Sure

Solution  1021108.1 :   Verifying and Setting Sun Storage Array System Time  


Related Items
  • Sun Storage 6180 Array
  •  
  • Sun Storage 6580 Array
  •  
  • Sun Storage 6780 Array
  •  
  • Sun Storage 6140 Array
  •  
  • Sun Storage Common Array Manager (CAM)
  •  
  • Sun Storage 6540 Array
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Arrays>SN-DK: 6130
  •  
  • .Old GCS Categories>Sun Microsystems>Storage Software>Modular Disk Device Software
  •  

PreviouslyPublishedAs
270989


Applies to:

Sun Storage 6140 Array - Version: Not Applicable and later   [Release: N/A and later ]
Sun Storage Common Array Manager (CAM) - Version: 5.0 and later ]
Sun Storage 6180 Array - Version: Not Applicable and later    [Release: N/A and later]
Sun Storage 6540 Array - Version: Not Applicable and later    [Release: N/A and later]
Sun Storage 6580 Array - Version: Not Applicable and later    [Release: N/A and later]
All Platforms

Goal

The purpose of this document is to describe how to verify and set your RAID controller system time on a Sun Storage[TM], Sun StorageTek[TM], Sun StorEdge[TM], or StorageTek[TM] RAID array using the management interface of Sun Storage Common Array Manager or Sun StorageTek SANtricity Storage Manager.

Solution

The following section is Internal Only.

State Capture
Both Controllers should be checked for system time to ensure that it is properly set.  This can be reviewed from the output of bidShow (07.xx firmware) or printBatteryAge (06.xx firmware).
The system time can be pulled from the stateCaptureData.dmp file in a standard support collection by reviewing printBatteryAge (06.xx firmware) or bidShow (07.xx firmware):

printBatteryAge
Executing  printBatteryAge(0,0,0,0,0,0,0,0,0,0):
 
Current Time:            1275548748

NOTE:  The time in printBatteryAge is in epoch time which counts the number of seconds since January 1st, 1970.

bidShow

Battery Driver Manager - Age Information
-------------------------------------------
Current Time:           05/26/2011

Sun Storage Common Array Manager
(CAM)


  • Verify Management Connectivity to the Array:
We suggest that you make sure that there is a network connection to each RAID controller in the storage system.  An easy way to check is to use the test communication function in CAM:
  • Using the Browser:
Browser -> Array->Click on Troubleshooting-> Select Array Communication Test and Click Run Test -> Run Test.
  • Using the Command Line (CLI):
# service -d <arrayname> -c contact


Where "service" is located under:

/* Solaris: /opt/SUNWsefms/bin/
/* Linux:  /opt/sun/cam/private/fms/bin/
/* Windows: C:\Program Files\Sun\Common Array Manager\Component\fms\bin\


Example:

Attempting to contact the array using the following address(es):
10.152.224.182
10.152.224.183

Controller A is accessible via:
10.152.224.182 (oob)

Controller B is not accessible

Completion Status: Finished


Note: The above example indicates that the controller B is not accessible, and this needs to be fixed before moving forward.



  • Verifying System Time (Browser):
  1. Click on Storage Systems.
  2. Click on your Array.
  3. Click on Administration (do not just expand the menu!  Actually click on the link.).
  4. Scroll to the bottom. The System time presented in the drop down is the time on the array.
  • Verifying System Time (CLI):
# sscs list -a <arrayname> date

Where "sscs" is located under:

/* Solaris: /opt/SUNWstkcam/bin/
/* Linux: /opt/sun/cam/bin/
/* Windows: C:\Program Files\Sun\Common Array Manager\bin

Example:

# sscs list -a myarray date
  Date: Mon Oct 26 14:59:12 2009
#

  • Setting System Time (Browser):
  1. Click on Storage Systems.
  2. Click on your Array.
  3. Click on Administration(do not just expand the menu!  Actually click on the link.).
  4. Scroll to the bottom. 
  5. Change the time as necessary and click Save OR you can click Synchronize with Server which will set the date to the management host's time.
  • Setting System Time (CLI):

# sscs modify -a <arrayname> date mmddHHMMccyy

Where "sscs" is located under:

/* Solaris: /opt/SUNWstkcam/bin/
/* Linux: /opt/sun/cam/bin/
/* Windows: C:\Program Files\Sun\Common Array Manager\bin

Example:

# sscs modify -a myarray date 013120001977

will set the date/time to 20:00 January 31, 1977

SANtricity

  • Verifying System Time (GUI):
  1. Open the Array Management Window
  2. Click on the Physical Tab
  3. The Right-Most Pane will show the Controller Properties.  At the bottom is the date/time.  For earlier firmware and SANtricity versions, right-click on the array controller icon properties. 
  • Verifying System Time (SMcli):
SMcli -n myarray -c "show storageArray time;"

Example:

#./SMcli -n myarray -c "show storageArray time;"
Performing syntax check... Syntax check complete. Executing script... Controller in Slot A Date/Time: Wed Jan 04 13:14:29 PST 2012 Controller in Slot B Date/Time: Wed Jan 04 13:13:23 PST 2012 Script execution complete. SMcli completed successfully.
  • Setting System Time (GUI):
  1. Open the Array Management Window
  2. Open the Storage Array Menu
  3. Select Synchronize Controller Clocks
  • Setting System Time (SMcli):
SMcli -n -c "set storageArray time;"

Note:  SANtricity doesn't allow you to specify a time. It only allows you to set the time to be the same as the time on the management system.





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