Originally posted by: cggibbo
As long as the NetApp FCP AIX Host Utilities are installed, then multipathing is handled by the AIX Default Path Control Module (PCM). So, all you should need to do is run cfgmgr once the disk has been presented to the AIX hosts.
You can use the AIX command, lspath and the NetApp tool, sanlun to check that multipathing is working as expected. e.g.
-
lspath -l hdisk0
Enabled hdisk0 fscsi0
Enabled hdisk0 fscsi0
Enabled hdisk0 fscsi2
Enabled hdisk0 fscsi2
-
sanlun lun show
filer: lun-pathname device filename adapter protocol lun size lun state
FAS608001X: /vol/UNIX_PRD_VOL006/HVIO/LUN001 hdisk0 fcs2 FCP 50g (53687091200) GOOD
FAS608001X: /vol/UNIX_TST_VOL015/HXAIX/LUN001 hdisk15 fcs0 FCP 500.1g (536952700928) GOOD
FAS608001X: /vol/UNIX_TST_VOL009/HXAIX/LUN001 hdisk9 fcs0 FCP 500.1g (536952700928) GOOD
-
sanlun lun show all -pv | head -30
ONTAP_PATH: FAS608001A:/vol/UNIX_TST_VOL017/HXAIX/LUN001
LUN: 18
LUN Size: 10g (10737418240)
Host Device: hdisk17
LUN State: GOOD
Controller_CF_State: Cluster Enabled
Controller Partner: FAS608001X
Multipath Provider: AIX Native
Multipathing Algorithm: round_robin
-----------
------
----------
MPIO Controller AIX Controller AIX MPIO
path path MPIO host target HBA path
status type path HBA port priority
-----------
------
----------
Enabled primary path0 fcs0 0e 1
Enabled secondary path1 fcs0 0e 1
Enabled primary path2 fcs2 0f 1
Enabled secondary path3 fcs2 0f 1