Skip to main content
SANtricity commands

Synopsis of the script commands

Contributors netapp-driley

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 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
{statement-data}

Performs the pending operation.

activate object
{statement-data}

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
{statement-data}

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

check object
{statement-data}

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

clear object
{statement-data}

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

create object
{statement-data}

Creates an object of the specified type.

deactivate object
{statement-data}

Removes the environment for an operation.

delete object

Deletes a previously created object.

diagnose object
{statement-data}

Runs a test and shows the results.

disable object {statement-data}

Prevents a feature from operating.

download object
{statement-data}

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

enable object
{statement-data}

Sets a feature to operate.

load object
{statement-data}

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
{statement-data}

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

recover object
{statement-data}

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

remove object
{statement-data}

Removes a relationship between objects.

repair object
{statement-data}

Repairs errors found by the check command.

replace object
{statement-data}

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

reset object
{statement-data}

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
{statement-data}

Writes information about the object to a file.

set object
{statement-data}

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

show object
{statement-data}

Shows information about the object.

start object
{statement-data}

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

stop object
{statement-data}

Stops an asynchronous operation.

suspend object
{statement-data}

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

validate object
{statement-data}

Validates a security key.