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-71-1021108.1
Update Date:2018-04-17
Keywords:

Solution Type  Technical Instruction Sure

Solution  1021108.1 :   Verifying and Setting Sun Storage Array System Time  


Related Items
  • Sun Storage 6580 Array
  •  
  • Sun Storage 6180 Array
  •  
  • Sun Storage Common Array Manager (CAM)
  •  
  • Sun Storage 2540 Array
  •  
  • Sun Storage 2540-M2 Array
  •  
  • Sun Storage 2510 Array
  •  
  • Sun Storage 6780 Array
  •  
  • Sun Storage 6140 Array
  •  
  • Sun Storage Flexline 380 Array
  •  
  • Sun Storage 2530-M2 Array
  •  
  • SANtricity Storage Manager
  •  
  • Sun Storage 2530 Array
  •  
  • Sun Storage 6540 Array
  •  
  • Sun Storage 6130 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 Flexline 380 Array - Version Not Applicable and later
Sun Storage 6540 Array - Version Not Applicable and later
Sun Storage 6580 Array - Version Not Applicable and later
Sun Storage 2540 Array - Version Not Applicable and later
Sun Storage 2530-M2 Array - Version Not Applicable 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 Array using the management interface of Sun Storage Common Array Manager (CAM) or SANtricity Storage Manager.

Solution



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


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):

Syntax :

# sscs modify -a <array-name> [-G <true | false>] [-s]  date <HHMM|mmddHHMM|mmddHHMM.SS|mmddHHMMyy|mmddHHMMccyy|mmddHHMMccyy.SS>

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 -G false date 013120001977

Will set the date/time to local time zone 20:00 January 31, 1977
# sscs modify -a myarray -s date

This will set the array date & time to the management host's date & time.

For CAM version below 6.7.0, you need to provide a dummy HHMM entry to execute this command.

Eg :

# sscs modify -a myarray -s date 1305
  

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;"

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.

 

Do you still have questions?  You can use My Oracle Support Communities.  Communities put you in touch with industry professionals like yourself.  They are monitored by Oracle support engineers, so you can expect reliable and correct answers.  Ask questions and see what others are asking about in the Disk Storage 2000, 3000, 6000 RAID Arrays & JBODs Community.

 


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