Command execution modes, Overview – HP XP P9500 Storage User Manual

Page 56

Advertising
background image

performed, each configuration change command can be performed. However, the competition
with the other application might cause an error.

The commands for performing the exclusive control and exclusive control release (lock and unlock)
of resource groups are as follows.

raidcom lock resource -resource_name <resource group name > [-time <time(sec)>] (Locking
a specified resource group)

raidcom unlock resource -resource_name <resource group name > (Unlocking a specified
resource group)

If multiple users (IDs) operate the same resource, by confirming by the raidcom lock resource
command that no other user is using the resource, the operation competition for the relevant resource
can be prevented.

After the configuration change is completed, release the lock status by the raidcom unlock resource
command.

Command execution modes

Overview

Provisioning operations are performed using a configuration setting command. For details about
the configuration setting command, see

“Overview of the configuration setting command” (page 89)

or HP StorageWorks P9000 RAID Manager Reference Guide.

Two modes can be used for executing the configuration setting command:

Line-by-line mode.

This mode executes commands input from the command line one at a time.

Transaction mode.

Executes a script file specified by the -zt option.

When executing the configuration setting command, the following checks can be done depending
on the above two mode types.

Syntax check

This function checks if there is no syntax error in the specified command. This is executed
every time at the both line-by-line mode and transaction mode.

Context check

This function checks the consistency of one specified line in the script and the preceding lines
in the order from the top. This function is available only at the Transaction mode. For details
about context checking, see

“Context check” (page 57)

.

Configuration check

Acquire the current configuration information to a configuration file, and then this function
checks whether the resources specified in the script (LDEVs, ports, or host groups) are configured
in the storage system or not. This function is available only at the transaction mode. For details
about context checking, see

“Context check” (page 57)

.

The configuration setting command also has a execution option described in the following.

Precheck

Specify the checkmode precheck option. It operates checking only (it does not execute
processing even if no error is detected.) This can be specified at the both line-by-line mode
and transaction mode.

The following table shows the overview of execution modes and options of the configuration setting
command.

56

RAID Manager functions on P9500

Advertising
This manual is related to the following products: