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

Method for specifying LDEVs by device group
When you configure multiple LDEVs for pools or journals (for example, changing the resource
group), you must issue the command to each LDEV. However, if you define LDEVs that configure
pools or journals, you can issue the command to all LDEVs defined as a device group by specifying
each device group at a time.
If you issue the command to LDEVs by specifying a device group, the command is executed in
each LDEV registered in the device group. If an error occurs in an LDEV while the command is
being executed, the execution of command stops at the LDEV where the error occurred. The
command is not executed in the remaining LDEVs. If an error occurs, solve the error. Then restore
the LDEV, and issue the command to all remaining LDEVs.
Creating a pool by specifying a device group:
# raidcom add device_grp -device_grp_name dg_pool1 data1
-ldev_id 512 513 514 515
# raidcom add dp_pool -pool_id 2 -grp_opt ldev -device_grp_name dg_pool1
Creating a journal by specifying a device group:
# raidcom add device_grp -device_grp_name dg_jnl1 data1
-ldev_id 512 513 514 515
# raidcom add journal -journal_id 2 -grp_opt ldev
-device_grp_name dg_jnl1
Operations where multiple LDEVs can be specified
You can use "-ldev_id <ldev#>" to specify multiple LDEVs at the same time in the following
operations only:
(a) Displaying LDEV information
# raidcom get ldev -ldev_id 100-103
# raidcom get ldev -ldev_id 100 -cnt 4
Note:
Specifying multiple LDEV as follows cannot be performed: #raidcom get ldev -ldev_id
100 101 103
(b) Creating a journal
# raidcom add journal -journal_id 1 -ldev_id 265 266 267 268
# raidcom add journal -journal_id 1 -ldev_id 265-268
# raidcom add journal -journal_id 1 -ldev_id 265 -cnt 4
(c) Creating a pool
Creating a pool for Snapshot:
# raidcom add snap_pool -pool 1 -ldev_id 365 366 367
# raidcom add snap_pool -pool 1 -ldev_id 365-367
# raidcom add snap_pool -pool 1 -ldev_id 365 -cnt 3
Creating a pool for Thin Provisioning/Thin Provisioning Z:
# raidcom add thp_pool -pool 1 -ldev_id 465 466 467
# raidcom add thp_pool -pool 1 -ldev_id 465-470
# raidcom add thp_pool -pool 1 -ldev_id 465 -cnt 5
(d) Creating a device group
# raidcom add device_grp -device_grp_name DevG2 dev101 -ldev_id 101 105 201
# raidcom add device_grp -device_grp_name DevG2 dev101 -ldev_id 101-105
raidcom 133