beautypg.com

Script examples – HP XP P9500 Storage User Manual

Page 102

background image

Command

Description

Operation

Step

raidcom modify host_grp -port
[] -host_mode < host

Specify port and set host mode for host
group.

Setting host mode

3

mode> [-host_mode_opt option> … ]

raidcom get host_grp -port [group name>]

Display host group information and confirm
result of executing command.

Displaying host
group information

4

raidcom add hba_wwn -port [group name>] -hba_wwn

Register host to host group of the port.

Adding host to host
group

5

raidcom get hba_wwn -port [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
-ldev_id -capacity

Specify a parity group and create LDEV.

Creating LDEV

7

[-emulation type>][-location ][-mp_blade_id
]

raidcom initialize ldev -ldev_id
-operation

Format created LDEV.

Formatting LDEV

8

raidcom modify ldev -ldev_id
-ldev_name

Create nickname for created LDEV.

This operation is arbitrary.

Creating LDEV
nickname (arbitrary)

9

raidcom modify ldev -ldev_id

Set MP blade of created LDEV.

Setting MP blade of
LDEV

10

-mp_blade_id

raidcom get ldev -ldev_id … [-cnt
] [-key ]

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

Displaying LDEV
information

11

raidcom get ldev -ldev_id … [-cnt
] [-key ]

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

Creating LU path

12

raidcom get lun -port [name>]

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

Displaying LU path
information

13

Script examples

The following shows the script examples of internal volume (open volume) operations.

102 Provisioning operations with RAID Manager

This manual is related to the following products: