SANtricity 11.8 Commands ( CA08871-194 ~ 196 )

Capture or view an AutoSupport log

The SMcli -autoSupportLog command allows you to view an AutoSupport log file. This file provides information about status, history of transmission activity, and any errors encountered during delivery of the AutoSupport messages. The log is available for all AutoSupport-capable and AutoSupport-enabled storage systems.

Supported Series

It does not apply to HB2100/HB2200/HB2300 or HB5100/HB5200 storage systems.

Context

This command allows you to view two types of logs:

  • Current log- View the log captured at this point in time.

  • Archive log- View the log from an archived file.

This command is an SMcli command, not a script command. You must run this command from a command line. You cannot run this command from the script editor in the storage management software.

Syntax

SMcli -autoSupportLog (all|-n "storageArrayName" | -w "wwID")
inputArchive=n outputLog=filename

Parameters

The following table lists the command parameters.

Parameter Description

all

Use this parameter if you want to create a transmission log for all of the storage systems in the management domain with AutoSupport capability that have been AutoSupport enabled.

n

The name for the storage system for which you want to view an AutoSupport log.

w

The World Wide Identifier (WWID) of the storage system for which you want to view an AutoSupport log.

inputArchive

Allows you to specify the archived AutoSupport log, where the archive file is n, an integer from 0 to 5.

Omitting this parameter means you select the current AutoSupport log (captured at this point in time).

outputLog

Allows you to specify the output AutoSupport log filename.

This parameter is required.

Example

SMcli -autosupportLog -n StorageArrayName inputArchive=0 outputLog=ASUPTransmissionLog

Verification

View the AutoSupport log you requested, which is in the client directory where the storage management software was installed.

Top of Page