Product data

164 PowerVM Migration from Physical to Virtual Storage
12.Run the lsnports command to check the Fibre Channel adapter NPIV
readiness of the adapter and the SAN switch. In the example below, the fabric
attribute is set to a value of 1, which confirms that the adapter and the SAN
switch are NPIV enabled. If the fabric attribute is equal to 0, then the adapter
or the SAN switch (or both) are not NPIV ready and you must check the
configuration:
$ lsnports
name physloc fabric tports aports
swwpns awwpns
fcs1 U78A0.001.DNWGCV7-P1-C1-T2 1 64 64
2048 2048
13.To map the virtual adapter’s vfchost to the physical Fibre Channel Adapter,
the vfcmap command is used as shown:
$ vfcmap -vadapter vfchost0 -fcp fcs1
vfchost0 changed
14.It is then a good idea to list the mappings using the lsmap command. In the
example below you will see that FC name is set to fcs1, which is the desired
result:
$ lsmap -npiv -vadapter vfchost0
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U8204.E8A.10FE411-V2-C17 3
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: