Product data

Chapter 5. Logical partition migrations 131
Create the mapping between the resources:
a. Use the lsmap command to view the newly added virtual Fibre Channel
server adapter. Note that the physical location code of the virtual Fibre
Channel server adapter will display the slot number:
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U8204.E8A.10FE411-V2-C17 4
Status:NOT_LOGGED_IN
FC name: FC loc code:
Ports logged in:0
Flags:1<NOT_MAPPED,NOT_CONNECTED>
VFC client name: VFC client DRC:
$
b. Now use the Virtual I/O Server vfcmap command to establish the
relationship between your virtual Fibre Channel server adapter and the
physical fcs Fibre Channel card:
$ vfcmap -vadapter vfchost0 -fcp fcs1
c. The lsmap command should now show the correct mapping from physical
Fibre Channel card fcs1 to virtual Fibre Channel server adapter vfchost0:
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U8204.E8A.10FE411-V2-C17 4
Status:NOT_LOGGED_IN
FC name:fcs1 FC loc code:U78A0.001.DNWGCV7-P1-C1-T2
Ports logged in:0
Flags:4<NOT_LOGGED>
VFC client name: VFC client DRC:
$
The above output from the lsmap command is correct for this stage of the
migration. For further details see 2.4, “Virtual Fibre Channel and N_Port ID
virtualization” on page 26.
On the client partition: part 1
If you did not shut down the client partition cleanly, you may have a SCSI 2
reservation on the disks. This can be removed using the SAN GUI or CLI
appropriate to the storage platform. Now force the client logical partition to
present the WWPNs to the SAN fabric. This is required because the WWPNs are
not presented until the client logical partition is activated (so the SAN fabric