beautypg.com

Script examples – HP XP RAID Manager Software User Manual

Page 121

background image

Executed command

Description

Operation overview

Step

raidcom modify external_grp
-external_grp_id {-cache_mode

Modify external volume option (cache
mode, inflow mode, and MP blade setting).

Modifying external
volume option

5

< y|n > | -cache_inflow < y|n > |
-mp_blade_id }

raidcom get external_grp [-external_grp_id
]

Display external volume information and
confirm result of executing command.

Checking external
volume information

6

raidcom add path -path_grp group#> -port -external_wwn strings>

Set external path. Execute the required
number of commands.

Setting external path

7

raidcom get path [-path_grp group#>]

Display external path information for and
confirm the result of executing the
command.

Displaying external
path information

8

raidcom modify 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 of
external storage
system

9

raidcom add host_grp -port
-host_grp_name

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

Creating host group

10

raidcom modify host_grp -port
[] -host_mode < host

Specify port and set host mode for host
group.

Setting host mode

11

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

12

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

Register host to host group of the port.

Adding host to host
group

13

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

14

raidcom add ldev - external_grp_id
-ldev_id {-capacity

Specify external volume group and create
LDEV.

Creating LDEV

15

| -offset_capacity | -cylinder
} [-emulation type>][-location ][-mp_blade_id
]

raidcom modify ldev -ldev_id
-ldev_name

Create nickname of created LDEV.

This operation is arbitrary.

Creating LDEV
nickname (arbitrary)

16

raidcom modify ldev -ldev_id
-mp_blade_id

Set MP blade of created LDEV.

Setting MP blade of
LDEV

17

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

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

Displaying LDEV
information

18

raidcom add lun -port [name>] -ldev_id [-lun_id]

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

Creating LU path

19

raidcom get lun -port [name>]

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

Displaying LU path
information

20

Script Examples

The following shows the script examples of external volume operations.

External volume operations

121

This manual is related to the following products: