Skip to main content
SANtricity commands

Synopsis of the script commands


Because you can use the script commands to define and manage the different aspects of a storage array (such as host topology, drive configuration, controller configuration, volume definitions, and volume group definitions), the actual number of commands is extensive. The commands, however, fall into general categories that are reused when you apply the commands to configure or maintain a storage array. The following table lists the general form of the script commands and a definition of each command.

Syntax Description
accept object

Performs the pending operation.

activate object

Sets up the environment so that an operation can take place or performs the operation if the environment is already set up correctly.

autoConfigure storageArray

Automatically creates a configuration that is based on the parameters that are specified in the command.

check object

Starts an operation to report on errors in the object, which is a synchronous operation.

clear object

Discards the contents of some attributes of an object. This operation is destructive and cannot be reversed.

create object

Creates an object of the specified type.

deactivate object

Removes the environment for an operation.

delete object

Deletes a previously created object.

diagnose object

Runs a test and shows the results.

disable object {statement-data}

Prevents a feature from operating.

download object

Transfers data to the storage array or to the hardware that is associated with the storage array.

enable object

Sets a feature to operate.

load object

Transfers data to the storage array or to the hardware that is associated with the storage array. This command is functionally similar to the download command.

recopy object

Restarts a volume copy operation by using an existing volume copy pair. You can change the parameters before the operation is restarted.

recover object

Re-creates an object from saved configuration data and the statement parameters. (This command is similar to the create command.)

remove object

Removes a relationship between objects.

repair object

Repairs errors found by the check command.

replace object

The specified object replaces an existing object in the storage array.

reset object

Returns the hardware or an object to an initial state.

resume object

Starts a suspended operation. The operation starts where it left off when it was suspended.

revive object

Forces the object from the Failed state to the Optimal state. Use this command only as part of an error recovery procedure.

save object

Writes information about the object to a file.

set object

Changes object attributes. All changes are completed when the command returns.

show object

Shows information about the object.

start object

Starts an asynchronous operation. You can stop some operations after they have started. You can query the progress of some operations.

stop object

Stops an asynchronous operation.

suspend object

Stops an operation. You can then restart the suspended operation, and it continues from the point where it was suspended.

validate object

Validates a security key.