HP XP7 RAID Manager Reference Guide (T1610-96064)
# raidcom add resource -resource_name sql_srv -ldev_id 400
Adding a port of CL1-A to a resource group: sql_srv.
# raidcom add resource -resource_name sql_srv -port CL1-A
Adding a host group of CL1-A-0 to a resource group: sql_srv.
# raidcom add resource -resource_name sql_srv -port CL1-A-0
Adding a parity group:5-2 to a resource group: sql_srv.
# raidcom add resource -resource_name sql_srv -parity_grp_id 5-2
Adding an external volume group:01-02 to a resource group: sql_srv.
# raidcom add resource -resource_name sql_srv -external_grp_id 01-02
raidcom delete resource
Deletes resource groups. You can delete a resource group only after all resources that are registered
to that resource group have been deleted.
LDEV number, port number, host group number, parity group, and external group are deleted from
the specified resource groups. The deleted resources are moved to resource group 0. You can
specify a device group name instead of a LDEV number.
If an LDEV is a volume that configures a pool, journal, or LUSE, all LDEVs of the pool, journal, or
LUSE must be assigned to the same resource group.
Syntax
raidcom delete resource -resource_name <resource group name>
[-ldev_id <ldev#> | -port <port#> [<host group name>] | -parity_grp <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 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 (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 about 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 device group (maximum 32 characters) to be deleted.-device_grp_name
<device group name>
[<device name>]
To specify the specific LDEV in the device group, specify the device name of the LDEV
(maximum 32 characters) in the device group.
If the device name is omitted, the command is applied to all LDEVs in the device group.
Examples
Deleting the LDEV: 400 from the resource group: sql_srv.
raidcom delete resource 215