NPIV

NPIV

enable npiv:
1) assign FC adapter to VIOS 2) connect LPAR VFC adapter to VIOS VFC adapter skoro podlaczamy kilka lpar do jednego WWPN na HBA, w jaki sposob system wie do jakiego lpara trafia dysk
mmlsnsd -F
mmlsnsd
mmlsnsd -M: Maps the NSD names to its disk device name on all nodes. (slow)
mmlsnsd -m: Maps the NSD name to its disk device name on the local node and, if applicable, on the NSD server nodes.
mmlsfs
mmcrvsd - output
mmcrnsd - tworzenie nsd
New LPAR with NPIV - on HMC
log NPIV into SAN network, then order LUN
lsnportlogin -m --filter lpar_ids=4
(list status; wwpn_status=0 is not activated; wwpn_status=1 is activated; wwpn_status=2 is unknown)
chnportlogin -m --id 4 -o login
(activated WWPN = VFC logs into SAN)

Locations on pSeries
http://www.ibm.com/developerworks/aix/library/au-aix-decoding-location-codes/
$lnsports on VIOS
https://www.ibm.com/support/knowledgecenter/POWER6/iphcg/lsnports.htm
Redbook
IBM PowerVM Virtualization Introduction and Configuration: http://www.redbooks.ibm.com/abstracts/sg247940.html

============================