SP Collects using CLI

Using navicli or naviseccli

/opt/Navisphere/bin/naviseccli -h <ipaddress> spcollect

/opt/Navisphere/bin/naviseccli -h <ipaddress> managefiles -list

/opt/Navisphere/bin/naviseccli -h <ipaddress> managefiles -retrieve -file <filename just created>

Posted in EMC

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

Troubleshooting EMC DataDomain Disk problems

Product: ES30 Enclosure

autosupport

or use the following commands:

Log in as a sysadmin user

# alerts show current

# disk show state

 

After replacement run

# disk rescan

# disk show state

 

 

Posted in EMC

EMC SP Collect through CLI

Open a command prompt on the management workstation.
Type cd c:\program files\emc\navisphere cli

Type naviseccli -h <SP_IP_address> spcollect – This starts the SPcollect script.

Type navicli -h <SP_IP_address> managefiles -list This will list the files created by SPcollect.

Type navicli -h <SP_IP_address> managefiles -retrieve This will display the files that can be moved
from the SP to the management station.

Example:
Index Size in KB Last Modified Filename
0 3 06/14/04 11:02:15 DeletedVolume.txt
1 515 05/26/04 10:44:16 ktdump-040526-144415.txt
2 532 05/26/04 11:20:33 ktdump-040526-152033.txt
3 431 05/26/04 12:37:12 ktdump-040526-163711.txt
4 415 05/26/04 16:12:46 ktdump-040526-201246.txt
5 737 06/14/04 17:35:41 ktdump-040614-213541.txt
6 727 06/17/04 14:52:34 ktdump-040617-185234.txt
7 468 06/17/04 17:08:01 ktdump-040617-210801.txt
8 0 06/17/04 17:08:50 ktdump_log.txt
9 0 06/14/04 11:26:41 naviagent_Jun-14-04_15-26-37.log
10 0 06/14/04 17:38:28 naviagent_Jun-14-04_21-38-22.log
11 0 06/17/04 17:08:01 naviagent_Jun-17-04_18-55-16.log
12 0 06/25/04 07:05:16 naviagent_Jun-17-04_21-08-46.log
13 996 05/27/04 15:25:54 SPA__APM00023000437_9c773_05-27-2004_46_data.zip
14 1029 05/27/04 15:39:33 SPA__APM00023000437_9c773_05-27-2004_26_data.zip
15 1489 06/25/04 06:47:00 SPA__APM00023000437_9c773_06-25-2004_33_data.zip
16 1205 07/01/04 14:33:52 SPA__APM00023000437_9c773_07-01-2004_35_data.zip
17 1 06/25/04 07:05:13 em_logs.zip
Enter files to be retrieved with index separated by comma (1,2,3,4,5) OR by a range (1-3)
OR enter ‘all’ to retrieve all file OR ‘quit’ to quit> 13.

This will pull the index number 13 from the corresponding SP and copy it to
the c:\program files\emc\navisphere cli directory with a filename of SPA__APM00023000437_9c773_05-27-2004_46_data.zip.

Posted in EMC

Restart management services

Restart Management Process on SPs
Open the setup page on BOTH Storage Processors

https://IP_address_SPA/setup

https://IP_address_SPB/setup

scroll down to the “Restart Management Server” button and simultaneously click on the box for the Management Server to restart,
Log back into Navisphere/Unisphere and check the status;
note: it can take a several minutes before the array can be managed again.

Posted in EMC