Step 2: create presented targets – HP MPX200 Multifunction Router User Manual

Page 47

Advertising
background image

1.

Use either the HP mpx Manager or the CLI to create a presented target:

In HP mpx Manager, use the Target Presentation/LUN Mapping Wizard to map LUNs
to initiators. The LUNs are presented to the initiators at the ID that is available on the
MPX200. If the LUN needs to be presented to the initiator with a different LUN ID, select
the wizard’s LUN Remap option as the Presentation Type.

Because HP mpx Manager performs an array-based LUN presentation, the LUN is
presented to an initiator through all of the discovered target ports. The visibility of a LUN
through a target on the initiator depends on your zoning configuration.

In the CLI, issue the lunmask add command, see

“lunmask” (page 90)

and select the

appropriate target and portal. For example:

HBA1 > SA1 > LUN1 > BL1 FC1 VPG1

creates presented target PT1 (SA1 +

VPG1)

HBA2 > SB2 > LUN1 > BL1 FC2 VPG1

creates presented target PT4 (SB2 +

VPG1)

2.

(Optional) To discover the newly presented LUNs and form the new arrays, if required, follow
these steps:
a.

In the left pane of HP mpx Manager, click the Router tab.

b.

Right-click the appropriate target or array.

c.

On the shortcut menu, click Rescan.

3.

Repeat the preceding steps for the second blade so that the LUN is accessible to the server
through both blades.

Step 2: Create presented targets

If the presented target associated with the source array target port and the VPG does not exist,
you must create one using HP mpx Manager or the CLI.

Creating a presented target in the GUI

Use the Target Map Wizard to add a presented target for each source array target port for the
VPG from which LUNs are being mapped to the host. Ensure that you create only one presented
target (associated with source array target port and the VPG) across both blades and that you
include the global target presentation details. The Target Map Wizard provides two methods to
create presented targets:

Global presentation. Use this method when the LUN remapping option is used to map LUNs
to initiators. Global presentation creates a single presented target for all VPGs (if VPGs are
enabled).

VPG-based presentation. Use this method when the LUN mapping option is used with Target
Presentation/LUN Mapping Wizard. Select a VPG to create a presented target. LUNs presented
through the specified VPG are presented through this presented target. For more information,
see

“Presented targets” (page 25)

.

You can use the iSCSI Target Global Present Wizard to manually or automatically create a global
presentation for iSCSI targets. With the automatic option, the utility creates the presentation using
the WWPN reserved for the system-generated target map. With the manual option, you enter a
WWPN for the target map per portal to create a single global presentation for all iSCSI targets.

Creating a presented target in the CLI

As another option, follow these steps to create a configuration using the targetmap command
in the CLI, see

“targetmap” (page 137)

.

To create presented targets in the CLI:

Presenting LUNs to the server for online data migration

47

Advertising