Execution example, Internal volume operations, Creating internal volumes (open volume) – HP XP P9500 Storage User Manual

Page 101

Advertising
background image

Command

Description

Operation

Step

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 a resource group information and
confirms results of command executions.

Displaying a
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

Internal volume operations

Creating internal volumes (open volume)

To create LDEVs of internal volumes (open volume) and make the LDEVs available to the host,
perform the following provisioning operations.

Command

Description

Operation

Step

raidcom modify port -port
<port>-security_switch y

Make enabled the LUN security of port.
Modify setting such as port topology and
data transfer speed as needed.

Setting port

1

raidcom add host_grp -port <port>
-host_grp_name <host group name>

Specify port and create host group.

Creating host group

2

Internal volume operations

101

Advertising
This manual is related to the following products: