5–Performing Data MigrationPresenting LUNs to the Server for Online Data Migration5-8 ISR654608-00 CTo present source array LUNs to the initiator for online data migration:1. Use either the SANsurfer iSCSI/FC Router Manager or the CLI to create apresented target: In SANsurfer iSCSI/FC Router Manager, use the TargetPresentation/LUN Mapping Wizard to automatically detect the portalon which the target is discovered and to create a presented target onthese portals. (See “Mapping Initiators to LUNs” on page 5-11).Because SANsurfer Router Manager performs an array-based LUNpresentation, the LUN is presented to an initiator through all of thediscovered target ports. The visibility of a LUN through a target on theinitiator depends on your zoning configuration. In the CLI, issue the lunmask add command (see “lunmask” onpage 6-24) and select the appropriate target and portal. For example: HBA1 > SA1 > LUN1 > BL1 FC1 VPG1 creates presentedtarget PT1 (SA1 + VPG1) HBA2 > SB2 > LUN1 > BL1 FC2 VPG1 creates presentedtarget 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 SANsurfer iSCSI/FC Router Manager, click theRouter tab.b. Right-click the appropriate blade.c. On the shortcut menu, click Rescan.3. Repeat the preceding steps for the second blade so that the LUN isaccessible to the server through both blades.Step 2: Create Presented TargetsIf the presented target associated with the source array target port and the VPGdoes not exist, you must create one. Use the Target Map Wizard to add apresented target for each source array target port for the VPG from which LUNsare 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.The following procedure shows an example configuration.