Execution example – HP XP7 Storage User Manual

Page 117

Advertising
background image

Command

Description

Operation

Step

want to delete. At that time, allocation
of resources to the resource group:
meta_resource must be finished.

raidcom add resource -resource_name
<resource group name> [-ldev_id <ldev#> |

Specifies resources that are allocated
to meta_resource (resource group), and
allocates resources to resource groups.

Allocating resources
to resource groups

3

-port <port#> | -port <port#> <host group
name> | -parity_grp_id <gno-sgno> |
-external_grp_id <gno-sgno>]

raidcom get resource

Displays resource group information
and confirms results of command
executions.

Displaying resource
group information

4

LDEVs that are allocated to journals or pools must be migrated by users. We recommend that you
register LDEVs that are allocated to journals or pools as device groups, and then operate after
specifying them by the device groups.

Execution example

The following shows the execution example of registering LDEVs to the pool as device groups,
creating resource groups in the device group unit and migrating created resource groups.

C:\HORCM\etc>raidcom add device_grp -device_grp_name dg_jnl1 data1 -ldev_id 512 513 514 515

C:\HORCM\etc>raidcom get device_grp

LDEV_GROUP Serial#
dg_jnl1 64539

C:\HORCM\etc>raidcom get device_grp -device_grp_name dg_jnl1

LDEV_GROUP LDEV_NAME LDEV# Serial#
dg_jnl1 data1 512 64539
dg_jnl1 data1 513 64539
dg_jnl1 data1 514 64539
dg_jnl1 data1 515 64539

C:\HORCM\etc>raidcom add resource -resource_name rsg002 -grp_opt ldev -device_grp_name dg_jnl1

GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 512(0x0200)[1] ,
PORT = none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 513(0x0201)[1] , PORT
= none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 514(0x0202)[1] , PORT
= none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 515(0x0203)[1] , PORT
= none , LUN = none :done

C:\HORCM\etc>raidcom delete resource -resource_name rsg002 -grp_opt ldev -device_grp_name dg_jnl1

GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 512(0x0200)[1] ,
PORT = none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 513(0x0201)[1] , PORT
= none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 514(0x0202)[1] , PORT
= none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 515(0x0203)[1] , PORT
= none , LUN = none :done

Resource group operations

117

Advertising
This manual is related to the following products: