Script examples – HP XP7 Storage User Manual

Page 133

Advertising
background image

Executed command

Description

Operation overview

Step

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

raidcom get external_grp [-external_grp_id
<gno-sgno>]

Display external volume information and
confirm result of executing command.

Checking external
volume information

6

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

Set external path. Execute the required
number of commands.

Setting external path

7

raidcom get path [-path_grp <path
group#>]

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

Displaying external
path information

8

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

9

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

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

Creating host group

10

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

Specify port and set host mode for host
group.

Setting host mode

11

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

12

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

13

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

14

raidcom add ldev - external_grp_id
<gno-sgno> -ldev_id <ldev#> {-capacity

Specify external volume group and create
LDEV.

Creating LDEV

15

<size> | -offset_capacity <size> | -cylinder
<size>} [-emulation <emulation
type>][-location <lba>] [-mp_blade_id
<mp#>]

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

Create nickname of created LDEV.

This operation is arbitrary.

Creating LDEV
nickname (arbitrary)

16

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

Set MP blade of created LDEV.

Setting MP blade of
LDEV

17

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

18

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

19

raidcom get lun -port <port> [<host group
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

133

Advertising
This manual is related to the following products: