C H A P T E R  1

Feedback Overview

This chapter provides an overview of the sscs administration command for Oracle’s storage arrays. It contains the following sections:


Overview of the sscs Command

The sscs command-line interface (CLI) enables you to manage and monitor disk arrays. The CLI can be installed on a local data host or a remote management host.

There are two forms of the CLI:

This is the version used in a CLI-only installation of Sun Storage Common Array Manager, and should be used if you are root user on the local host. This version does not pass commands through the web server and provides better performance by eliminating the need to authenticate the user. There is no guest-only version of the local sscs command, and the login and logout commands aren’t supported.

Directory locations for local CLI:

This version is required if you are not on the Sun Storage Common Array Manager management station or if you must authenticate as a non-root user. This version passes all requests through the web server, and is more secure than the Local CLI since all traffic is encrypted.

Directory locations for remote CLI:



Note - When using the remote CLI with Windows, list parameters in commands must be enclosed in double quotes. For example:

sscs list template "F5100-dual-host,J4500-quad-host"


Both CLIs can manage any array that has been registered and added to the Sun Storage Common Array Manager inventory in the same way that the browser interface can manage any array in the inventory. The array type and array management path (in-band, out-of-band, proxy agents) have no limitations with local or remote CLI usage. Both CLIs manage the same arrays with the same command set.


Accessing the CLI Remotely

The local and remote CLIs can be accessed remotely through the full management workstation using:

Navigate to the Local CLI directory to manage the arrays via the proxy agent.

This thin scripting client uses HTTPS to communicate with the management host. Login to the management host and navigate to the Local CLI directory to manage the arrays via the proxy agent.

Log in to the management host and navigate to the Local CLI directory to manage the arrays via the proxy agent.


Understanding Command Syntax

Type the sscs command with its options from a terminal command line. You can use only the indicated option or options for that subcommand.

TABLE 1-1 describes the conventions that apply to the subcommands and variables.


TABLE 1-1 Syntax Conventions for sscs Commands

Convention

Description

Bold

Text in bold should be typed exactly as shown.

Italic

Text in italics is variable and should be replaced with the name or value used at your site. Multiple variables can be separated by a comma, but not with a space.

Example:

sscs list volume TestVOL,fvm13311

[ ] (square brackets)

Text in square brackets is optional.

| (vertical bar)

Text separated by a vertical bar is exclusive. Specify only one of the options.

{ } (braces)

Text inside braces is a required argument.

Numbers in braces, e.g. {0} and {1}, represent variables in some error messages.

Short and long names

The sscs command accepts short or long names for each option. Short name options require a single hyphen (-). Long name options require a double hyphen (--).

Special characters in names

Do not use spaces, commas, colons (:), or the special characters ?,*,!,@,%, or & as a character in any name you specify unless you are prepared to escape them in the shell.

Any characters that you enclose within quotation marks are acceptable for names.


TABLE 1-1, Syntax Conventions for sscs Commands, describes the conventions that apply to the subcommands and variables.

Note - Command syntax can vary based upon the array type (e.g., F5100, 6140, etc.) and specific array names as related to installed firmware versions. See TABLE 1-2 for proper usage of the --help command to obtain the correct syntax for an array type or specific array name.



Getting Help with Commands and Their Syntax

Use the --help or -H command to view all available commands, subcommands, and their syntax. TABLE 1-2 describes how to use the --help command. Further help can be found in the man pages, which contain the same command information as found in this document:

/opt/se6x20/cli/man/man1m

/opt/sun/cam/se6x20/cli/man/man1m

TABLE 1-2, How to Use the --help Command, describes the tasks and syntaxes associated with the --help command.


Logging In to the sscs Environment

If you are using the local CLI, no login is required; however, you must have root access in Solaris and Linux or administrator privileges in Windows.

A login is required when you use the remote CLI. To log into the remote CLI, follow these steps:

1. From a terminal window, log in to the management host where sscs resides.

2. Enter the following commands:

# cd CLI_directory

Refer to Overview of the sscs Command for directory information.

# ./sscs login -h cam-hostname -u username 

where:

3. Enter the password for your sscs user account.

For further details about logging in to the sscs using the remote CLI, see the login command and all of its options, go to login.


Exit Status Codes

Upon command completion, the sscs CLI reports the following exit status codes:

TABLE 1-3 Exit Status Codes

Exit Status Code

Description

0

Successful completion

15

Object not found error

25

Command parsing failure

30

Command validation error

50

Application error

75

System error

100

Nonspecific error

TABLE 1-3, Exit Status Codes, lists the exit status codes and their descriptions.


Using the CLI to Configure Arrays

Once Sun Storage Common Array Manager has been installed, initial configuration can be performed using the CLI. General steps and commands for initial configuration include:

These commands, as well as other commands for configuring storage, are described in detail in this guide.


Command Quick Reference

There are three categories of CLI commands:

Discussed fully in Chapter 3, these commands are supported on all arrays supported by Sun Storage Common Array Manager, with a few noted exceptions.

Discussed fully in Chapter 4, these commands are supported only on those arrays that have one or more RAID controllers.

Discussed fully in Chapter 5, these commands are supported only on JBOD arrays and are specific to Serial Attached SCSI (SAS) domain access configuration.

Monitoring and General Administration Commands

The following table lists the commands used to monitor the array and perform general administration tasks. These commands are for all Oracle arrays, including:

 

TABLE 1-4 Monitoring and General Administration Commands

Command

Description

add notification

Set up email or SNMP trap notification.

add registeredarray

Discovers an array or all arrays on the same subnet as the management host and registers them.

add userrole

Adds a user name to the user access list and defines the user privileges.

list agent

Lists the fault management agent information.

list alarm

Provides detailed information on a specified alarm or summary information on all alarms.

list array

Lists detailed information about specified arrays or all array names.

list date

Lists the current date and time for the array in hours, minutes, and seconds. (Not supported by J4500 and B6000 JBODs.)

list device

List the details of a device or the devices being monitored.

list devices

List an overview of a device or the devices being monitored.

list disk

List the disk information on an array.

 

list erc

Lists the error return code of the immediately preceeding sscs command.

list event

Lists the Fault Management Service (FMS) event log information.

list firmware

Lists the firmware versions of the field-replaceable units (FRU) in this device.

list fru

Lists the field-replaceable units (FRUs) in this device.

list jobs

Lists job IDs and status associated with the specified array and optionally specified job ID.

list log

Lists the user-initiated actions performed for all registered arrays.

list mgmt-sw

Lists the management software application that you are logged into.

list notification

Lists the remote notification provider and its status.

list registeredarray

Lists registered array information.

list site

Lists pertinent information on the site.

list storage-system

Lists detailed information about one or more arrays.

list sun-connection

Lists information for Auto Service Request (ASR) registration with Oracle Support.

list userrole

Lists the user name and role defining the user’s array privileges.

login

Log in to the sscs command-line interface (CLI).

logout

Logs out of the remote sscs command-line interface session.

modify agent

Modify the fault management agent parameters.

modify array

Modifies the name assigned to the array.

modify firmware

Modifies the firmware versions of the specified field-replaceable units (FRUs) of the specified array.

modify mgmt-sw

Stores the specified storage system name for the session. This command is useful for repeated operations with an array.

modify site

Modifies the site properties for this instance of Sun Storage Common Array Manager.

modify storage-system

Modifies the array information.

modify userrole

Change the user role or the IP address from which the user can log in.

register storage-system

Registers a storage system with the host.

register sun-connection

Registers Sun Storage Common Array Manager software and all monitored arrays with Auto Service Request (ASR).

remove alarm

Removes the current alarms.

remove notification

Removes a local or remote notification.

remove registeredarray

Removes one or more arrays from the list of registered arrays.

remove userrole

Removes a user role assigned to a user name.

service contact

Tests connectivity to a specified array (inband communication test).

service disable

Disables a target drive in a specified array.

service enable

Enables a target drive in a specified array.

service locate

Turns on the locator LED for an array, drive, or tray.

service print

Prints physical information available for a specified array.

service set

Changes the name of a specified array.

unregister storage-system

Unregisters an array from the list of registered storage systems.

unregister sun-connection

Stops notifications of system health and performance to Sun using the Auto Service Request (ASR) feature.

version

Shows the version of the Sun Storage Common Array Manager software that you are running on the management host, as well as the version of the sscs client.

TABLE 1-4 lists the monitoring and general administration commands available in the Sun Storage Common Array Manager CLI. These commands are for all arrays.

Array Configuration Commands

This section identifies the commands used to configure an array. These commands are supported only on those arrays that have one or more RAID controllers, including:

TABLE 1-5 lists the array configuration commands available in the Sun Storage Common Array Manager CLI. These commands are supported only on those arrays that have one or more RAID controllers.

SAS Domain Access Configuration Commands

This section identifies commands used in SAS domain access configuration. These commands are supported only on Oracle’s JBOD arrays, including:

TABLE 1-6 lists the SAS domain access configuration commands available in the Sun Storage Common Array Manager CLI. These commands are supported only on JBOD arrays. Feedback