HP XP7 RAID Manager Reference Guide (T1610-96064)

raidcom add resource
Creating resource groups. If you specify only the resource group name, an empty resource group
is created.
When you input a resource group name and a resource group ID, the current name of the resource
group whose ID you specify is changed to the new resource group name.
When you specify resource group name, LDEV number, port number, host group number, parity
group ID or an external group ID, the specified resource is registered to the specified resource
group.If the specified resource group does not exist, an error occurs. When the resource group is
already created, the specified resource is added to the resource group. You can specify a device
group name instead of an LDEV number.
When the relevant LDEVs configure the pool, journal, and LUSE, all LDEVs must be added to the
same resource group.
Syntax
raidcom add resource -resource_name <resource group name>
[-resource_id <resource group_id | -ldev_id <ldev#>
| -port <port#> [<host group name>]
| -parity_grp_id <gno-sgno>
| -external_grp_id <gno-sgno>
| -grp_opt <group option> -device_grp_name <device group name> [<device name>]]
Options and parameters
DescriptionOption
Specifies the resource group name. Up to 32 characters can be specified.-resource_name
<resource group
name>
Specifies the resource group ID (1-1023) (for example, 5).-resource_id <resource
group_id
Specifies the LDEV number (0-65279) (for example, -ldev_id 200).-ldev_id <ldev#>
Specifies the port number, host group ID, and host group name. If the host group name is
more than 64 characters, use the host group ID instead of the host group name (for example,
CL1-A or CL1-A-g, where g is from 0 to 255).
-port <port#> [<host
group name>]
Specifies the parity group number (gno:1-32, sgno:1-16) (for example, 3-1).-parity_grp_id
<gno-sgno>
Specifies the external volume group number (gno:1-16384, sgno:1-4096) (for example,
52-11, "E" is not required).
-external_grp_id
<gno-sgno>
Specifies the device information extracted from the LDEV in the device group. Specify "ldev"
(fixed). The information about the LDEV in the device group is used.
-grp_opt <group
option>
Specifies the name of the device group (maximum 32 characters).-device_grp_name
<device group name>
[<device name>]
To specify an LDEV in the device group, use the device name of the LDEV (maximum 32
characters).
If the device name is omitted, this command is applied to all LDEVs in the specified device
group.
Examples
Creating a resource group of resource group name: sql_srv.
# raidcom add resource -resource_name sql_srv
Changing the resource group name of the resource group ID:5 to sql_srv.
# raidcom add resource -resource_name sql_srv -resource_id 5
Add LDEV: 400 to the resource group: sql_srv.
214 Configuration setting commands