RGID=0 is used for meta resource group.
stat
This displays the locking status of the resource group name on P9500.
Lock_owner
This displays a owner (authorized user) who locks the resource group name.
Lock_host
This displays a host name of a user who locks the resource group name.
Serial#
Product serial number.
raidcom lock resource
Locks the specified resource group name.
If the specified resource group name does not exist, it will be rejected with EX_ENOOBJ.
In authentication mode, the user executing this command must have permission for the resource
group name.
Syntax
raidcom lock resource -resource_name <resource group name > [-time <time(sec)>]
Options and parameters
Option
- resource_name <resource
group name>
[ -time <time(sec)> ]
Examples
Acquiring the exclusive lock of a resource group: meta_resource.
raidcom lock resource -resource_name meta_resource
raidcom unlock resource
Unlocks the specified resource group name.
If the specified resource group name does not exist, it will be rejected with EX_ENOOBJ.
In authentication mode, a user executing this command must have permission for the resource
group name.
Syntax
raidcom unlock resource -resource_name <resource group name>
Description
Specifies a name of resource group (max. 32 characters).
Only the "meta_resource" group is defined (which cannot be changed).
Specify "meta_resource".
This parameter is used for specifying the latency until the specified resource is locked.
The TOV time of the lock instruction is specified.
When <time> is specified as "0", it is executed as "nowait (no waiting time)" mode.
If this parameter is not specified, the default waiting time (7200 seconds) is used.
raidcom lock resource 185