Script examples – HP XP7 Storage User Manual
Page 133
![background image](/manuals/398716/133/background.png)
Executed command
Description
Operation overview
Step
< 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
-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 Specify port and set host mode for host Setting host mode 11 mode> [-host_mode_opt raidcom get host_grp -port Display host group information and confirm Displaying host 12 raidcom add hba_wwn -port Register host to host group of the port. Adding host to host 13 raidcom get hba_wwn -port Display WWN of connection host Displaying WWN 14 raidcom add ldev - external_grp_id Specify external volume group and create Creating LDEV 15 raidcom modify ldev -ldev_id Create nickname of created LDEV. This operation is arbitrary. Creating LDEV 16 raidcom modify ldev -ldev_id Set MP blade of created LDEV. Setting MP blade of 17 raidcom get ldev -ldev_id Display information of created LDEV and Displaying LDEV 18 raidcom add lun -port Specify port, map LDEV to LUN and create Creating LU path 19 raidcom get lun -port Display LU path information and confirm Displaying LU path 20 Script Examples The following shows the script examples of external volume operations. External volume operations 133
[
group.
result of executing command.
group information
group
registered to the host group and confirm
the result of executing the command.
information
LDEV.
-ldev_name
nickname (arbitrary)
-mp_blade_id
LDEV
confirm the result of executing the
command.
information
an LU path.
the result of executing the command.
information