beautypg.com

Examples – HP MPX200 Multifunction Router User Manual

Page 21

background image

NOTE:

If you attempt to add as a host, a host that already has active LUN presentations, the

command fails with an error.

add_lunmask

adds a LUN map to the host.

add_port

Adds one or more initiator ports to the host. All LUNs that are already presented to

the host (that is, the other initiator ports of the host) are also automatically presented to the new
initiator ports.

mod

modifies a host.

rm

Removes a host and (optionally) the host’s initiators from the system. If any LUNs were presented

to the host ports that were part of the host, a warning message advises that those LUNs will be
unpresented. If you do not delete the initiators, ports remain available on the system and visible
by issuing the show initiators command.

rm_lunmask

removes LUN mapping from the host.

rm_port

removes one or more initiator ports from a logged out host. If any LUNs were presented

to the initiator when it was a part of the host, the LUNs are unpresented. To remove the initiator
port from the system, issue the initiator rm command.

Examples

The following example shows the host add command:

MPX200 <1> (admin) #> host add

Enter Symbolic Name: Test-Host-Entity

OS Type (0=Windows, 1=Linux, 2=Solaris,
3=OpenVMS, 4=VMWare, 5=Mac OS X,
6=Windows2008, 7=HP-UX, 8=AIX,
9=Windows2012, 10=Other) [Windows ]

Do you want to add initiators to this Host Entity? (yes/no) [Yes]:
1) Add new initiator 2) Add existing initiator : 2

Local Initiators:
Index Type Mapped (WWNN,WWPN/iSCSI Name)
----- ---- ------ ----------------------
0 FC No 50:05:07:68:02:00:13:47,50:05:07:68:02:20:13:47
1 FC No 50:05:07:68:02:00:13:46,50:05:07:68:02:20:13:46
2 FC No 50:05:07:68:02:00:13:05,50:05:07:68:02:40:13:05
3 FC No 50:01:10:a0:00:17:60:65,50:01:10:a0:00:17:60:64
4 FC No 20:00:00:c0:dd:13:17:3f,21:00:00:c0:dd:13:17:3f
5 FC No 20:00:00:c0:dd:13:17:35,21:00:00:c0:dd:13:17:35

Peer Initiators:
Index Type Mapped (WWNN,WWPN/iSCSI Name)
----- ---- ------ ----------------------
6 FC No 50:05:07:68:02:00:13:47,50:05:07:68:02:20:13:47
7 FC No 50:05:07:68:02:00:13:46,50:05:07:68:02:20:13:46
8 FC No 50:05:07:68:02:00:13:05,50:05:07:68:02:40:13:05
9 FC No 50:01:10:a0:00:17:60:65,50:01:10:a0:00:17:60:64
10 FC No 20:00:00:c0:dd:13:17:3f,21:00:00:c0:dd:13:17:3f
11 FC No 20:00:00:c0:dd:13:17:35,21:00:00:c0:dd:13:17:35

Please select an Initiator ('q' to quit): 3

Do you want to add more initiator ports? [yes/no] [Yes]:

1) Add new initiator 2) Add existing initiator : 1

host

21