Script examples – HP XP P9500 Storage User Manual
Page 102

Command
Description
Operation
Step
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#>
Set MP blade of created LDEV.
Setting MP blade of
LDEV
10
-mp_blade_id <mp#>
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 get ldev -ldev_id <ldev#> … [-cnt
<count>] [-key <keyword>]
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
The following shows the script examples of internal volume (open volume) operations.
102 Provisioning operations with RAID Manager