Script examples – HP XP RAID Manager Software User Manual
Page 121
Executed command
Description
Operation overview
Step
raidcom modify external_grp
-external_grp_id
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
Set external path. Execute the required
number of commands.
Setting external path
7
raidcom get path [-path_grp
Display external path information for and
confirm the result of executing the
command.
Displaying external
path information
8
raidcom modify port -port
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
[
Specify port and set host mode for host
group.
Setting host mode
11
mode> [-host_mode_opt
raidcom get host_grp -port
Display host group information and confirm
result of executing command.
Displaying host
group information
12
raidcom add hba_wwn -port
Register host to host group of the port.
Adding host to host
group
13
raidcom get hba_wwn -port
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
Specify external volume group and create
LDEV.
Creating LDEV
15
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
Display information of created LDEV and
confirm the result of executing the
command.
Displaying LDEV
information
18
raidcom add lun -port
Specify port, map LDEV to LUN and create
an LU path.
Creating LU path
19
raidcom get lun -port
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