Resource Lock Function - Hitachi VSP F1500 User And Reference Manual

Command control interface guide
Hide thumbs Also See for VSP F1500:
Table of Contents

Advertisement

The following shows the example of the case that the execution results of the
commands change by the case of having or not having the authority of the
operated resources, specifies only the objects or specifies to the parameters.
When user has the authority using CL1-A, CL3-A and CL5-A ports, and CL1-A,
CL2-A, CL3-A, CL4-A and CL5-A ports are implemented in the system,
executes the following command.
When only the objects are specified:
# raidcom get port
The execution results of CL1-A, CL3-A and CL5-A are displayed. The
execution results of CL2-A and CL4-A (the user does not have the authority of
the resource) are not displayed (filtered).
When parameters are also specified:
# raidcom get port -port CL1-A
The execution result of CL1-A is only displayed.
# raidcom get port -port CL2-A
The error is displayed because the user does not have the execution
authority.
The following shows the output example when -cnt that is used in get ldev is
used.
The following command is executed when the user has the authorities of
LDEV number 10 and 12.
# raidcom get ldev -ldev_id 10 -cnt 3
Execution results of LDEV number 10 and 12 are displayed. LDEV number 11
is not displayed because the user does not have the authority of the
resource.

Resource lock function

When configuration changes from multiple user interfaces (CCI, HCS, Device
Manager - Storage Navigator, or maintenance utility) are performed on the
same resource at the same time, unexpected results can occur.
To prevent users from changing the configuration of the same resource at the
same time, the resource lock command is provided. When this command is
used, the resource group can be locked to prevent other users from using the
specified resource group. If the resource is not locked, all configuration
change commands are performed. However, conflicting operations 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)
3-24
CCI functions
Command Control Interface User and Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents