Internal volume operations, Creating internal volumes (open-systems), Script examples (open systems) – HP XP7 Storage User Manual

Page 118

Advertising
background image

Internal volume operations

Creating internal volumes (open-systems)

To create LDEVs of internal open-systems volumes 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

Enable LUN security of the port. Modify
settings 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

raidcom modify host_grp -port <port>
[<host group name>] -host_mode < host

Specify port and set host mode for host
group.

Setting host mode

3

mode> [-host_mode_opt <host mode
option> … ]

raidcom get host_grp -port <port> [<host
group name>]

Display host group information and confirm
result of executing command.

Displaying host
group information

4

raidcom add hba_wwn -port <port> [<host
group name>] -hba_wwn <WWN strings>

Register host to host group of the port.

Adding host to host
group

5

raidcom get hba_wwn -port <port> [<host
group name>]

Display WWN of connection host
registered to the host group and confirm
the result of executing the command.

Displaying WWN
information

6

raidcom add ldev -parity_grp_id
<gno-sgno> -ldev_id <ldev#> -capacity

Specify a parity group and create LDEV.

Creating LDEV

7

<size> [-emulation <emulation type>]
[-location <lba>] [–mp_blade_id <mp#>]

raidcom initialize ldev -ldev_id <ldev#>
-operation <type>

Format created LDEV.

Formatting LDEV

8

raidcom modify ldev -ldev_id <ldev#>
-ldev_name <ldev naming>

Create nickname for created LDEV.

This operation is arbitrary.

Creating LDEV
nickname (arbitrary)

9

raidcom modify ldev -ldev_id <ldev#>
-mp_blade_id <mp#>

Set MP blade of created LDEV.

Setting MP blade of
LDEV

10

raidcom get ldev -ldev_id <ldev#> … [-cnt
<count>] [-key <keyword>]

Display information of created LDEV and
confirm the result of executing the
command.

Displaying LDEV
information

11

raidcom add lun -port <port> [<host group
name>] -ldev_id <ldev#> [-lun_id<lun#>]

Specify port, map LDEV to LUN and create
an LU path.

Creating LU path

12

raidcom get lun -port <port> [<host group
name>]

Display LU path information and confirm
the result of executing the command.

Displaying LU path
information

13

Script examples (open systems)

The following shows script examples of virtual volume (Thin Provisioning) operation.

118

Provisioning operations with RAID Manager

Advertising
This manual is related to the following products: