VIOS NPIV configuration
Steps to insll AIX on SAN
1) check the SEA settings
# ifconfig -a
en26: flags=1e080863,180
inet 9.124.62.172 netmask 0xffffff00 broadcast 9.124.62.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,1c0
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
2) check SEA
$ lsmap -all -net
SVEA Physloc
------ --------------------------------------------
ent24 U9117.MMC.06FF076-V1-C2-T1
SEA NO SHARED ETHERNET ADAPTER FOUND
SVEA Physloc
------ --------------------------------------------
ent25 U9117.MMC.06FF076-V1-C4-T1
SEA ent26
Backing device ent12
Status Available
Physloc U78C0.001.DBJU087-P2-C8-T3
3) check all virtual devices
$ lsdev -virtual
name status description
ent24 Available Virtual I/O Ethernet Adapter (l-lan)
ent25 Available Virtual I/O Ethernet Adapter (l-lan)
vasi0 Available Virtual Asynchronous Services Interface (VASI)
vbsd0 Available Virtual Block Storage Device (VBSD)
vfchost0 Available Virtual FC Server Adapter
vhost0 Defined Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
name status description
ent26 Available Shared Ethernet Adapter
ent26 is SEA adapter & configured as IP.
4) check NPIV setting
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U9117.MMC.06FF076-V1-C3 2
Status:NOT_LOGGED_IN
FC name: FC loc code:
Ports logged in:0
Flags:1
VFC client name: VFC client DRC:
Backing device not configured..
5) $ lsnports
name physloc fabric tports aports swwpns awwpns
fcs0 U5802.001.9K8L547-P1-C1-T1 0 64 64 2048 2048
fcs2 U5802.001.9K8L547-P1-C4-T1 0 64 64 2048 2048
fcs4 U5802.001.9K8L547-P1-C2-T1 0 64 64 2048 2048
fcs6 U78C0.001.DBJU087-P2-C2-T1 0 64 64 2048 2048
fcs8 U78C0.001.DBJU087-P2-C5-T1 1 64 64 2048 2048
fcs10 U78C0.001.DBJU087-P2-C6-T1 1 64 64 2048 2048
6) lscfg -vpl fcs8
WWPN no Address.............10000000C9D55346
lscfg -vpl fcs10
Network Address.............10000000C9EF7952
7) Add WWPN in Storage & SAN switchc
login in san switch
#switchshow
36 36 011600 id N8 Online FC F-Port 10:00:00:00:c9:ef:79:52
37 37 011400 id N8 Online FC F-Port 1 N Port + 1 NPIV public --> existing
38 38 011200 id N8 Online FC F-Port 10:00:00:00:c9:d5:53:46
39 39 011000 id N8 Online FC F-Port 1 N Port + 1 NPIV public ---> existing
8) AIX client WWPN no
WWPNs:
c050760515f70004
c050760515f70005
9) Map the vfchost with physical FC
vfcmap -vadapter vfchost0 -fcp fcs8
$ vfcmap -vadapter vfchost0 -fcp fcs8
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U9117.MMC.06FF076-V1-C3 2
Status:NOT_LOGGED_IN
FC name:fcs8 FC loc code:U78C0.001.DBJU087-P2-C5-T1
Ports logged in:0
Flags:4
VFC client name: VFC client DRC:
# lsdev -C -c adapter -F 'name class location physloc' | grep en
ent0 adapter 01-00 U5802.001.9K8P700-P1-C3-T1
ent1 adapter 01-01 U5802.001.9K8P700-P1-C3-T2
ent2 adapter 03-00 U5802.001.9K8P700-P1-C5-T1
ent3 adapter 03-01 U5802.001.9K8P700-P1-C5-T2
ent4 adapter 05-00 U5802.001.9K8P700-P1-C6-T1
ent5 adapter 05-01 U5802.001.9K8P700-P1-C6-T2
ent6 adapter 08-00 U78C0.001.DBJW347-P2-C4-T1
ent7 adapter 08-01 U78C0.001.DBJW347-P2-C4-T2
ent8 adapter 09-00 U78C0.001.DBJW347-P2-C3-T1
ent9 adapter 09-01 U78C0.001.DBJW347-P2-C3-T2
ent10 adapter 0F-00 U78C0.001.DBJW347-P2-C8-T1
ent11 adapter 0F-01 U78C0.001.DBJW347-P2-C8-T2
ent12 adapter 0F-04 U78C0.001.DBJW347-P2-C8-T3
ent13 adapter 0F-05 U78C0.001.DBJW347-P2-C8-T4
ent14 adapter 0K-00 U78C0.001.DBJW344-P2-C4-T1
ent15 adapter 0K-01 U78C0.001.DBJW344-P2-C4-T2
ent16 adapter 0L-00 U78C0.001.DBJW344-P2-C3-T1
ent17 adapter 0L-01 U78C0.001.DBJW344-P2-C3-T2
ent18 adapter 0R-00 U78C0.001.DBJW344-P2-C8-T1
ent19 adapter 0R-01 U78C0.001.DBJW344-P2-C8-T2
ent20 adapter 0R-04 U78C0.001.DBJW344-P2-C8-T3
ent21 adapter 0R-05 U78C0.001.DBJW344-P2-C8-T4
ent22 adapter 0S-00 U78C0.001.DBJW344-P2-C6-T1
ent23 adapter 0S-01 U78C0.001.DBJW344-P2-C6-T2
ent24 adapter U9117.MMC.06FF086-V1-C2-T1
ent25 adapter U9117.MMC.06FF086-V2-C4-T1
ent26 adapter U9117.MMC.06FF086-V1-C3-T1
ent27 adapter
ent28 adapter U9117.MMC.06FF086-V1-C7-T1
ent29 adapter U9117.MMC.06FF086-V1-C8-T1
#
1) check the SEA settings
# ifconfig -a
en26: flags=1e080863,180
inet 9.124.62.172 netmask 0xffffff00 broadcast 9.124.62.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,1c0
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
2) check SEA
$ lsmap -all -net
SVEA Physloc
------ --------------------------------------------
ent24 U9117.MMC.06FF076-V1-C2-T1
SEA NO SHARED ETHERNET ADAPTER FOUND
SVEA Physloc
------ --------------------------------------------
ent25 U9117.MMC.06FF076-V1-C4-T1
SEA ent26
Backing device ent12
Status Available
Physloc U78C0.001.DBJU087-P2-C8-T3
3) check all virtual devices
$ lsdev -virtual
name status description
ent24 Available Virtual I/O Ethernet Adapter (l-lan)
ent25 Available Virtual I/O Ethernet Adapter (l-lan)
vasi0 Available Virtual Asynchronous Services Interface (VASI)
vbsd0 Available Virtual Block Storage Device (VBSD)
vfchost0 Available Virtual FC Server Adapter
vhost0 Defined Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
name status description
ent26 Available Shared Ethernet Adapter
ent26 is SEA adapter & configured as IP.
4) check NPIV setting
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U9117.MMC.06FF076-V1-C3 2
Status:NOT_LOGGED_IN
FC name: FC loc code:
Ports logged in:0
Flags:1
VFC client name: VFC client DRC:
Backing device not configured..
5) $ lsnports
name physloc fabric tports aports swwpns awwpns
fcs0 U5802.001.9K8L547-P1-C1-T1 0 64 64 2048 2048
fcs2 U5802.001.9K8L547-P1-C4-T1 0 64 64 2048 2048
fcs4 U5802.001.9K8L547-P1-C2-T1 0 64 64 2048 2048
fcs6 U78C0.001.DBJU087-P2-C2-T1 0 64 64 2048 2048
fcs8 U78C0.001.DBJU087-P2-C5-T1 1 64 64 2048 2048
fcs10 U78C0.001.DBJU087-P2-C6-T1 1 64 64 2048 2048
6) lscfg -vpl fcs8
WWPN no Address.............10000000C9D55346
lscfg -vpl fcs10
Network Address.............10000000C9EF7952
7) Add WWPN in Storage & SAN switchc
login in san switch
#switchshow
36 36 011600 id N8 Online FC F-Port 10:00:00:00:c9:ef:79:52
37 37 011400 id N8 Online FC F-Port 1 N Port + 1 NPIV public --> existing
38 38 011200 id N8 Online FC F-Port 10:00:00:00:c9:d5:53:46
39 39 011000 id N8 Online FC F-Port 1 N Port + 1 NPIV public ---> existing
8) AIX client WWPN no
WWPNs:
c050760515f70004
c050760515f70005
9) Map the vfchost with physical FC
vfcmap -vadapter vfchost0 -fcp fcs8
$ vfcmap -vadapter vfchost0 -fcp fcs8
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U9117.MMC.06FF076-V1-C3 2
Status:NOT_LOGGED_IN
FC name:fcs8 FC loc code:U78C0.001.DBJU087-P2-C5-T1
Ports logged in:0
Flags:4
VFC client name: VFC client DRC:
# lsdev -C -c adapter -F 'name class location physloc' | grep en
ent0 adapter 01-00 U5802.001.9K8P700-P1-C3-T1
ent1 adapter 01-01 U5802.001.9K8P700-P1-C3-T2
ent2 adapter 03-00 U5802.001.9K8P700-P1-C5-T1
ent3 adapter 03-01 U5802.001.9K8P700-P1-C5-T2
ent4 adapter 05-00 U5802.001.9K8P700-P1-C6-T1
ent5 adapter 05-01 U5802.001.9K8P700-P1-C6-T2
ent6 adapter 08-00 U78C0.001.DBJW347-P2-C4-T1
ent7 adapter 08-01 U78C0.001.DBJW347-P2-C4-T2
ent8 adapter 09-00 U78C0.001.DBJW347-P2-C3-T1
ent9 adapter 09-01 U78C0.001.DBJW347-P2-C3-T2
ent10 adapter 0F-00 U78C0.001.DBJW347-P2-C8-T1
ent11 adapter 0F-01 U78C0.001.DBJW347-P2-C8-T2
ent12 adapter 0F-04 U78C0.001.DBJW347-P2-C8-T3
ent13 adapter 0F-05 U78C0.001.DBJW347-P2-C8-T4
ent14 adapter 0K-00 U78C0.001.DBJW344-P2-C4-T1
ent15 adapter 0K-01 U78C0.001.DBJW344-P2-C4-T2
ent16 adapter 0L-00 U78C0.001.DBJW344-P2-C3-T1
ent17 adapter 0L-01 U78C0.001.DBJW344-P2-C3-T2
ent18 adapter 0R-00 U78C0.001.DBJW344-P2-C8-T1
ent19 adapter 0R-01 U78C0.001.DBJW344-P2-C8-T2
ent20 adapter 0R-04 U78C0.001.DBJW344-P2-C8-T3
ent21 adapter 0R-05 U78C0.001.DBJW344-P2-C8-T4
ent22 adapter 0S-00 U78C0.001.DBJW344-P2-C6-T1
ent23 adapter 0S-01 U78C0.001.DBJW344-P2-C6-T2
ent24 adapter U9117.MMC.06FF086-V1-C2-T1
ent25 adapter U9117.MMC.06FF086-V2-C4-T1
ent26 adapter U9117.MMC.06FF086-V1-C3-T1
ent27 adapter
ent28 adapter U9117.MMC.06FF086-V1-C7-T1
ent29 adapter U9117.MMC.06FF086-V1-C8-T1
#
Comments
Post a Comment