C H A P T E R  1

Overview

This chapter provides an overview of the sscs administration command for the Sun Storage J4000 array family. 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.

Local CLI directory location:

Remote CLI directory location:

Additional management options are available. See the CAM User Guide for the J4000 Array Family for more information.


Understanding Command Syntax

Type the sscs command with its options from a terminal command line. Each subcommand description in this man page includes the options for the subcommand. You can use only the indicated option or options for that subcommand.

The following conventions apply to the subcommands and variables:

To get help with command syntax, use the --help command. To display a list of all subcommands use the sscs --help command.

To display a command list specific to the array type, use the sscs --help -a <array-type> command. For example:

sscs list --help -a j4200

To display the resource types for the commands for a specific array type, use the sscs <subcommand> --help -a <array-type> command. For example:

sscs list --help -a j4200

alarm

array

date

device

devices

event

firmware

fru

log

mgmt-sw

notification

registeredarray

site

storage-system

userrole

To display a detailed option list for a command and its resource type for a specific array type, use the sscs <subcommand> --help -a <array-type> <resource-type> command. For example:

sscs list --help -a j4200 alarm

list [-s|--severity <string>] [-f|--faultdevtype <string>] [-a|--advisor] [-S|--Summary] alarm [string[,string...]]

The sscs command can accept short or long names for each subcommand option. A short name option requires a single hyphen (-). A long name option requires a double hyphen (--). This man page shows the short name option and the long name option separated by a comma.

Option arguments can be separated by a comma. To show information for more than one object name separate the object names with a comma. Do not include a space after the comma. For example:

sscs list -a array01 storage-system system_name1,system_name-name2



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



Logging In to the sscs Environment

If you are using the local CLI, no login is required; however, you must have root or Administrator privileges depending on your OS.

Follow these steps to log into the remote CLI.

1. Log in to the management host where sscs resides.

2. Enter the following commands:

# cd /opt/SUNWsesscs/cli/bin
# ./sscs login -h localhost -u <user-name> 

3. Enter the password for your sscs user account. See the Login command in the man page for your array (for example, sscs-6540) for complete information about logging in to the sscs using the remote CLI.


Exit Status Codes

The following CLI exit status codes are reported upon command completion:

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


Next Steps

You are now ready to execute sscs commands.