HP XP P9000 RAID Manager Reference Guide (T1610-96061, January 2014)

Examples
Performing a user authentication by User ID: USER01, Password: PASS01.
# raidcom -login USER01 PASS01
Locking a resource group: rsg001.
# raidcom lock resource -resource_name rsg001
Creating LDEV#100 and #101.
# raidcom add ldev -parity_grp_id 33-16 -ldev_id 100 -capacity 10g
# raidcom add ldev -parity_grp_id 33-16 -ldev_id 101 -capacity 10g
Unlocking resource group: rsg001
# raidcom unlock resource -resource_name rsg001
Resource locking and RAID Manager commands
If you execute a RAID Manager command when the specified resource is locked, the specified
resource groups cannot be used by other users. Commands can be executed when the specified
resources are not locked. However, if another user locks the resource, RAID Manager commands
will result in error. The following table shows the relations between RAID Manager commands and
resources that need to be locked, except for the required options for the commands. In the following
table:
Res. group: resource group
Lock/auth: Resource locking and resource authority are required.
Auth: Only resource authority check is specified.
Relation between commands and resources that need to be locked
OptionCommandLDEVExternal
volume/VDEV
Parity
group
Host
group
PortRes.
group
-raidcom add copy_grpLock/auth-----
-raidcom delete copy_grpLock/auth-----
-raidcom get copy_grpAuth-----
-raidcom add device_grpLock/auth-----
-raidcom delete device_grpLock/auth-----
-raidcom get device_grpAuth-----
-raidcom add external_grp----Lock/auth-
-raidcom check_ext_storage
external_grp
-Lock/auth----
-ldev_id <ldev#>raidcom check_ext_storage
external_grp
AuthLock/auth----
-raidcom delete
external_grp
-Lock/auth----
-raidcom disconnect
external_grp
-Lock/auth----
-ldev_id <ldev#>raidcom disconnect
external_grp
AuthLock/auth----
-raidcom get external_grp-Auth----
Resource locking and RAID Manager commands 135