Product data

150 PowerVM Migration from Physical to Virtual Storage
6. Get the list of all available physical Fibre Channel server adapters. As you can
see from the lsdev command output, our NPIV-supported dual-port Fibre
Channel card is at fcs0 and fcs1. Since only the second port is cabled on the
card in this test environment, fcs1 must be selected.
$ lsdev -dev fcs*
name status description
fcs0 Available 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
fcs1 Available 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
fcs2 Defined 4Gb FC PCI Express Adapter (df1000fe)
fcs3 Defined 4Gb FC PCI Express Adapter (df1000fe)
fcs4 Available FC Adapter
fcs5 Available FC Adapter
7. Run the lsnports command to check the Fibre Channel adapter NPIV
readiness of the adapter and the SAN switch. Since the fabric attribute is set
to 1, the configuration is NPIV ready, so the migration can proceed. If you see
a state of 0, check the configuration of your adapter and SAN switch.
$ lsnports
name physloc fabric tports aports swwpns awwpns
fcs1 U78A0.001.DNWGCV7-P1-C1-T2 1 64 64 2048 2048
8. Use the vfcmap command to map the virtual adapter to the physical adapter.
The lsmap command lists the mapping created by the vfcmap command:
$ vfcmap -vadapter vfchost0 -fcp fcs1
$ lsmap -npiv -vadapter vfchost0
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U8204.E8A.10FE411-V2-C17 4 p2_411 AIX
Status:LOGGED_IN
FC name:fcs1 FC loc code:U78A0.001.DNWGCV7-P1-C1-T2
Ports logged in:7
Flags:a<LOGGED_IN,STRIP_MERGE>
VFC client name:fcs0 VFC client DRC:U8204.E8A.10FE411-V4-C9-T1
In your lsmap output, you may not see the Status as LOGGED_IN if you had not
already mapped the SAN LUN to the Virtual I/O Server. You can do the SAN
mapping now if that is the case and proceed with the following steps.
On the destination client partition
You will now boot the client partition using the virtual Fibre Channel drive that
was mapped in the previous steps. Keep in mind that since you are coming from
a standalone server with physical Ethernet interfaces, you may have to
reconfigure the Ethernet on the destination client partition to get network access.
9. Shut down the client partition and reactivate the partition into SMS.
10.Select option number 5 from the menu (Select Boot Options), find the Fibre
Channel drive, and initiate a boot from this device.