• No results found

Use the CLI commands to display and manage tasks. A task is an operation that occurs only on the controller, asynchronous to all other operations. Examples of tasks are clearing a disk and creating a RAID 1. Once a task is running on the controller, the CLI enables you to display, stop, suspend, and resume the task.

task list [/all={boolean}] [{integer}]

Lists the tasks running on the controller. Parameters

{integer}—Task ID. Switches

/all—Specifies whether to list all currently running tasks.

task resume [/all={boolean}] {integer}

Resumes a task that was suspended or all of the tasks that were suspended.

Parameters

{integer}—Task ID for the task to resume. Switches

/all—Specifies whether to resume all suspended tasks.

task stop [/all={boolean}] [{integer}]

Stops one or all tasks on the controller. Parameters

{integer}—Task ID for the task to stop. Switches

/all—Specifies whether to stop all suspended tasks.

task suspend [/all={boolean}] [{integer}]

Suspends one or all tasks running on the controller. Parameters

Command Line Interface (CLI)

Enclosure Commands

The enclosure commands operate on enclosure management devices that support Version 1.0 of the SAF-TE specification. If you are not using an enclosure, the following commands will not be available.

enclosure activate slot {enclosure} {slot}

Activates a device in a slot in the SAF-TE enclosure. Parameters

{enclosure}—ID associated with the enclosure management device on which to activate a device.

{slot}—Unit number associated with the slot.

enclosure identify slot [/stop={boolean}] {enclosure} {slot}

Identifies a device in the enclosure. Parameters

{enclosure}—ID associated with the enclosure management device on which to identify a slot.

{slot}—Unit number associated with the slot. Switches

/stop—Specifies whether to stop identifying the slot.

enclosure list [/all={boolean}] [/full={boolean}] [{enclosure}]

Lists components for one or all enclosure devices. Parameters

{enclosure}—ID associated with the enclosure management device whose associated components to display.

Switches

/all—Lists all enclosures on the system.

enclosure prepare slot {enclosure} {slot}

Prepares a device in a slot for insertion/removal. Parameters

{enclosure}—ID associated with the enclosure management device on which to prepare a slot.

{slot}—Unit number associated with the slot.

enclosure set alarm [/on={boolean}] {enclosure}

Turns the audible alarm on or off. Parameters

{enclosure}—ID associated with the enclosure management device whose audible alarm to set.

Switches

/on—Specifies whether to turn the audible alarm on or off.

enclosure set fan [/off={boolean}] {enclosure} {fan} [{speed}]

Sets the speed of a specific fan. Parameters

{enclosure}—ID associated with the enclosure management device on which to set the speed of a fan.

{fan}—Unit number associated with the fan.

{speed}—Speed at which to set the fan. Switches

/off—Specifies whether to turn off the fan.

enclosure set interval {second}

Sets the monitor reporting interval (in seconds). Parameters

{second}—Number of seconds for the monitor reporting interval.

Command Line Interface (CLI)

enclosure set power [/off{=boolean}] {enclosure} {powersupply}

Turns on or off a specific power supply. Parameters

{enclosure}—ID associated with the enclosure management device.

{powersupply}—Unit number associated with the power supply.

Switches

/off—Specifies whether to turn on or off the power supply associated with the unit number.

enclosure set scsiid {enclosure} {slot} {device_ID}

Sets the ID of the device slot. Parameters

{enclosure}—ID associated with the enclosure management device.

{slot}—Unit number associated with the device slot to assign a channel number.

{device_ID}—ID of the device.

enclosure set temperature {enclosure} {degree}

Sets the temperature threshold. Parameters

{enclosure}—ID associated with the enclosure management device on which to set a temperature threshold.

{degree}—Temperature (in degrees Fahrenheit from 0 to 255).

enclosure show fan [{enclosure}] [{fan}]

Displays the status of a specific fan. Parameters

{enclosure}—ID associated with the enclosure management device for which to display fan status.

enclosure show power [{enclosure}] [{powersupply}]

Displays the status of one or more power supplies. Parameters

{enclosure}—ID associated with the enclosure management device for which to display power supply status.

{powersupply}—Unit number associated with the power supply.

enclosure show slot [{enclosure}] [{slot}]

Displays the status of a specific device slot on a specific enclosure.

Parameters

{enclosure}—ID associated with the enclosure management device for which to display device slot status.

{slot}—Unit number associated with the device slot whose status to display.

enclosure show status [{enclosure}]

Displays general status of a specific enclosure. Parameters

{enclosure}—ID associated with the enclosure management device for which to display status.

enclosure show temperature [{enclosure}] [{sensor}]

Displays temperature status of a specific enclosure. Parameters

{enclosure}—ID associated with the enclosure management device for which to temperature status.

{sensor}—Unit number associated with the temperature sensor whose status to display.

Command Line Interface (CLI)

Using Automated Command Scripts

To execute a CLI command script, type the at sign (@) followed by the file name that contains the CLI commands, for example:

AAC0>@commandscript.txt

In its simplest form, a CLI command script is a text file that contains valid CLI commands. Each line ends with a line feed inserted by pressing Enter. The followingCLI command script: 1 Opens controller AAC0 by invoking the CLI command open. 2 Invokes controller details.

3 Closes controller AAC0 by invoking the CLI command close. 4 Exits the example CLI command script.

open AAC0

controller details close AAC0 exit

D

Related documents