Hardware RAID at OBP Prompt – Activate Volume

e.g. T4-2 OBP commands
ok select /pci@400/pci@2/pci@0/pci@e/scsi@0      <—- This path can be different on other type of server

ok show-volumes

If Volume shows Inactive

ok [inactive_volume] activate-volume     <—– Where inactive_volume is the volume number!!!!

ok unselect-dev

ok probe-scsi-all

hpssacli

Show configuration:
/opt/hp/hpssacli/bin/hpssacli ctrl all show config

Controller status
/opt/hp/hpssacli/bin/hpssacli ctrl all show status

Show detailed controller information for all controllers
/opt/hp/hpssacli/bin/hpssacli ctrl all show detail

Show detailed controller information for controller in slot 0
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail

Rescan for New Devices
/opt/hp/hpssacli/bin/hpssacli rescan

Physical disk status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show status

Show detailed physical disk information
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show detail

Logical disk status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld all show status

View Detailed Logical Drive Status
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 show

Create New RAID 0 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0

Create New RAID 1 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1

Create New RAID 5 Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5

Delete Logical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 delete

Add New Physical Drive to Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7

Add Spare Disks
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7

Enable Drive Write Cache
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=enable

Disable Drive Write Cache
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=disable

Erase Physical Drive
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd 2I:1:6 modify erase

Turn on Blink Physical Disk LED
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=on

Turn off Blink Physical Disk LED
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=off

Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify cacheratio=100/0

Enable smart array write cache when no battery is present (No-Battery Write Cache option)
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify nbwc=enable

Disable smart array cache for certain Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable

Enable smart array cache for certain Logical Volume
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable

Enable SSD Smart Path
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=enable

Disable SSD Smart Path
/opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=disable

 

Running ADU report without hpacucli

cd /opt/hp/hpssaducli/bin
[test]:/opt/hp/hpssaducli/bin # ls
hpssaducli hpssaduesxi upgrade.txt
[test]:/opt/hp/hpssaducli/bin # ./hpssaducli -f /tmp/adu-report.zip
HP Smart Storage Diagnostics 1.60.17.0

Posted in HP

Brocade DATA Collections

There are 2 types of Data Collection associated with Brocade switches, “supportshow” and “supportsave”.

If the problem is related to basic “port issues”, a “supportshow” is sufficient. However, a more complex problem that involves Zoning, Performance, Reboots, CP Failovers, Fabric wide problems etc, requires a “SupportSave” type of collection. If the problem is multiswitch related (ISL connections, long distance configurations etc.) we need the supportsave from all relevant switches in the fabric.

The amount and type of information displayed in a supportshow output is depending on the type of switch as well as the collection options enabled in the switch configuration. This can be configured with the “supportshowcfgenable [option]” and “supportshowcfgdisable [option]”.

The output from the “supportshowcfgshow” command shows which subscripts will be enabled. The default groups are always enabled. Only on special occasions you will be asked to enable additional groups if necessary.

 

Performance and Intermittent Error Related Issues

If there is no sign of any obvious physical issue there might be link related problems which can identify performance problems and/or protocol related errors. Brocade counters are cumulative and keep doing so until a certain counter wraps, a switch reboots or the statistics are manually cleared.

Storage vendors for example require in these circumstances that a new baseline is created, a certain run-time has been achieved and separate commands are submitted against the suspected switch or switches.

To create a new baseline with cleared counters do the following:

  1. Log in to the switch via Telnet or SSH
  2. Submit the “statsclear” command
  3. Submit the “slotstatsclear” command

After the agreed (mostly around one hour) run-time capture a new supportsave and upload this to the vendor’s service request.

SupportSave Data Collection (CLI Method)

When the problem is more sophisticated a supportsave from the switch is required. The supportsave command is available as of Fabric OS version 4.4 however, Fabric OS versions (> 6.2.x) provide a significant better collection of logs which represent the status overview of the switch and fabric. If you have a director class switch with two CP’s and/or core plus function blades it will also collect information from all the blades.

The supportsave will upload between 25 and 80 files depending on platform, Fabric OS level and enabled features to an FTP or SCP server. These will not be tarred or zipped into one file so it is important you create such an archive with a meaningful name. (ie. switchname-domainid-fabricid.zip)

Example

switch:admin> supportsave -u anonymous -p password -h xxx.xxx.xxx.xxx -d /directory -l ftp

This command collects RASLOG, TRACE, supportShow, core file, FFDC data and then transfer them to a FTP/SCP server or a USB device. You could also simply type the “supportsave” command without any parameters and you will be asked for the extra information before the command is actually executed. The operation will usually take several minutes to complete.
NOTE: supportSave will transfer existing trace dump file first, then automatically generate and transfer latest one. There will be two trace dump files transferred after this command.

OK to proceed? (yes, y, no, n): [no] y
Saving support information for switch:BR4100_IP127, module:RAS…
Saving support information for switch:BR4100_IP127, module:CTRACE_OLD…
Saving support information for switch:BR4100_IP127, module:CTRACE_NEW…
etc……

To upload the files you can specify the FTP parameters inline (as modeled above) or through the supportftp command (see Fabric OS V5.1 command Reference guide) .

  1. Host IP: XXX.XXX.X.X (example 192.168.1.1)
  2. User Name: admin
  3. Password:
  4. Remote Directory: tmp (example: tmp)
  5. Saving support information

SupportShow Data Collection

This is a non disruptive procedure and can be performed by the CE or the customer.

You can use your favorite terminal emulation utility. Refer to the respective documentation how to turn on capturing output to a file.

Telnet or SSH

  1. Telnet or SSH into Brocade switch
  2. Enter username and password
  3. Start logging to file on the Telnet session.
    NOTE: For Windows standard telnet, this is under the terminal pulldown menu.
  4. Enter command: supportShow
  5. Upload the telnet log to TUF.
Posted in EMC

Data collection DS Storage Systems

GUI (depends on firmware version)

a) Advanced -> Troubleshooting -> Support Data -> Collect…
b) Support tab -> Gather Support Information -> Save Support Information
c) Support tab -> Gather Support Information
d) Monitor -> Health -> Collect Support Data…
e) Monitor -> Health -> Collect Support Data Manually…

CLI

SMcli ctrl_a ctrl_b -c ‘save storageSubsystem supportData file=”/<path>/supportdata”;’

Posted in IBM

StorEdge A1000 CLI commands

A1000: Basic checks/commands

/usr/lib/osa/bin/lad                                # Lists all RAID devices connected to the system
c2t0d0 1T04359725 LUNS: 0 1

/usr/lib/osa/bin/healthck <c2t0d0>                  # General check of selected device
Health Check Summary Information

mya1000_001:              Failed Battery                  # <– Failing battery
mya1000_001:              Dead LUN at Drive [2,0]         # <– Disk in bad state

healthck succeeded!

/usr/lib/osa/bin/raidutil -c <c2t0d0>               # Generic information about the device
LUNs found on c2t0d0.
LUN 0    RAID 0    103407 MB
LUN 1    RAID 0    103407 MB

raidutil succeeded!

/usr/lib/osa/bin/raidutil -c <c2t0d0> -i            # Detailed information
LUNs found on c2t0d0.
LUN 0    RAID 0    103407 MB
LUN 1    RAID 0    103407 MB

Vendor ID         Symbios
ProductID         StorEDGE A1000
Product Revision  0301
Boot Level        03.01.02.33
Boot Level Date   06/16/99
Firmware Level    03.01.02.35
Firmware Date     08/12/99
raidutil succeeded!

/usr/lib/osa/bin/raidutil -c <c2t0d0> -B             # Information about battery life
LUNs found on c2t0d0.
LUN 0    RAID 0    103407 MB
LUN 1    RAID 0    103407 MB
Battery age is between 810 days and 900 days.

raidutil succeeded!

# Battery age:
#         Between 630 and 720 days – near expiration
#         More than 720 días – Expired
# In any of two previous cases battery should be replaced

/usr/lib/osa/bin/raidutil -c <c2t0d0> -R             # Reset battery life counter
# RUN ONLY IF BATTERY HAS BEEN REPLACED!!!

/usr/lib/osa/bin/drivutil -I <c2t0d0>                # Information about LUNs

Group Information for mya1000_001

Group         No. of    RAID       No. of       Total       Remaining
LUNs      Level      Drives       Space(MB)   Space(MB)

1              1          0           6         103407             0
2              1          0           6         103407             0

drivutil succeeded!

/usr/lib/osa/bin/drivutil -i <c2t0d0>                # Information about each of the drives

Drive Information for mya1000_001

Location  Capacity   Status         Vendor  Product          Firmware     Serial
(MB)                              ID             Version      Number
[1,0]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1BM1N00
[2,0]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT0ZW4E00
[1,1]     17274      Optimal        SEAGATE ST318305LSUN18G  0340         3JKP6AD900
[2,1]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT19FG200
[1,2]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1BFZP00
[2,2]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1C09X00
[1,3]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1CC6T00
[2,3]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1BSBJ00
[1,4]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1BHY800
[2,4]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1CDN300
[1,5]     17274      Optimal        IBM     DDYST1835SUN18G  S94N         00391G1084
[2,5]     17274      Optimal        SEAGATE ST318404LSUN18G  4207         3BT1C5TT00

drivutil succeeded!

/usr/lib/osa/bin/rm6                                # RAID MANAGER Graphic interface