...
如何確認 LUN 已經啟用 multipath
透過 Web UI 或以下指令,查出 LUN 的裝置名稱 nna.XXXXX
$> esxcli storage nmp device list naa.600a0b8000670e660000036a5a8e0ace Device Display Name: IBM Fibre Channel Disk (naa.600a0b8000670e660000036a5a8e0ace) Storage Array Type: VMW_SATP_LSI Storage Array Type Device Config: {action_OnRetryErrors=off} Path Selection Policy: VMW_PSP_MRU Path Selection Policy Device Config: Current Path=vmhba3:C0:T0:L0 Path Selection Policy Device Custom Config: Working Paths: vmhba3:C0:T0:L0 Is USB: false
LUN name: 600a0b8000670e660000036a5a8e0ace
繼續下面指令
$> excli storage core path list -d naa.600a0b8000670e660000036a5a8e0ace fc.500143803310fc51:500143803310fc50-fc.200400a0b8670e71:202400a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace UID: fc.500143803310fc51:500143803310fc50-fc.200400a0b8670e71:202400a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace Runtime Name: vmhba3:C0:T0:L0 Device: naa.600a0b8000670e660000036a5a8e0ace Device Display Name: IBM Fibre Channel Disk (naa.600a0b8000670e660000036a5a8e0ace) Adapter: vmhba3 <=== HBA Card Channel: 0 Target: 0 LUN: 0 Plugin: NMP <=== Native Multipathing Plugin State: active <=== Primary Adapter Transport: fc Adapter Identifier: fc.500143803310fc51:500143803310fc50 Target Identifier: fc.200400a0b8670e71:202400a0b8670e71 Adapter Transport Details: WWNN: 50:01:43:80:33:10:fc:51 WWPN: 50:01:43:80:33:10:fc:50 Target Transport Details: WWNN: 20:04:00:a0:b8:67:0e:71 WWPN: 20:24:00:a0:b8:67:0e:71 Maximum IO Size: 33553920 fc.500143803310b715:500143803310b714-fc.200400a0b8670e71:202500a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace UID: fc.500143803310b715:500143803310b714-fc.200400a0b8670e71:202500a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace Runtime Name: vmhba2:C0:T0:L0 Device: naa.600a0b8000670e660000036a5a8e0ace Device Display Name: IBM Fibre Channel Disk (naa.600a0b8000670e660000036a5a8e0ace) Adapter: vmhba2 Channel: 0 Target: 0 LUN: 0 Plugin: NMP State: standby Transport: fc Adapter Identifier: fc.500143803310b715:500143803310b714 Target Identifier: fc.200400a0b8670e71:202500a0b8670e71 Adapter Transport Details: WWNN: 50:01:43:80:33:10:b7:15 WWPN: 50:01:43:80:33:10:b7:14 Target Transport Details: WWNN: 20:04:00:a0:b8:67:0e:71 WWPN: 20:25:00:a0:b8:67:0e:71 Maximum IO Size: 33553920
...
...
如何確認 LUN 已經啟用 multipath
透過 Web UI 或以下指令,查出 LUN 的裝置名稱 nna.XXXXX
$> esxcli storage nmp device list naa.600a0b8000670e660000036a5a8e0ace Device Display Name: IBM Fibre Channel Disk (naa.600a0b8000670e660000036a5a8e0ace) Storage Array Type: VMW_SATP_LSI Storage Array Type Device Config: {action_OnRetryErrors=off} Path Selection Policy: VMW_PSP_MRU Path Selection Policy Device Config: Current Path=vmhba3:C0:T0:L0 Path Selection Policy Device Custom Config: Working Paths: vmhba3:C0:T0:L0 Is USB: false
LUN name: 600a0b8000670e660000036a5a8e0ace
繼續下面指令
$> excli storage core path list -d naa.600a0b8000670e660000036a5a8e0ace fc.500143803310fc51:500143803310fc50-fc.200400a0b8670e71:202400a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace UID: fc.500143803310fc51:500143803310fc50-fc.200400a0b8670e71:202400a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace Runtime Name: vmhba3:C0:T0:L0 Device: naa.600a0b8000670e660000036a5a8e0ace Device Display Name: IBM Fibre Channel Disk (naa.600a0b8000670e660000036a5a8e0ace) Adapter: vmhba3 <=== HBA Card Channel: 0 Target: 0 LUN: 0 Plugin: NMP <=== Native Multipathing Plugin State: active <=== Primary Adapter Transport: fc Adapter Identifier: fc.500143803310fc51:500143803310fc50 Target Identifier: fc.200400a0b8670e71:202400a0b8670e71 Adapter Transport Details: WWNN: 50:01:43:80:33:10:fc:51 WWPN: 50:01:43:80:33:10:fc:50 Target Transport Details: WWNN: 20:04:00:a0:b8:67:0e:71 WWPN: 20:24:00:a0:b8:67:0e:71 Maximum IO Size: 33553920 fc.500143803310b715:500143803310b714-fc.200400a0b8670e71:202500a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace UID: fc.500143803310b715:500143803310b714-fc.200400a0b8670e71:202500a0b8670e71-naa.600a0b8000670e660000036a5a8e0ace Runtime Name: vmhba2:C0:T0:L0 Device: naa.600a0b8000670e660000036a5a8e0ace Device Display Name: IBM Fibre Channel Disk (naa.600a0b8000670e660000036a5a8e0ace) Adapter: vmhba2 Channel: 0 Target: 0 LUN: 0 Plugin: NMP State: standby Transport: fc Adapter Identifier: fc.500143803310b715:500143803310b714 Target Identifier: fc.200400a0b8670e71:202500a0b8670e71 Adapter Transport Details: WWNN: 50:01:43:80:33:10:b7:15 WWPN: 50:01:43:80:33:10:b7:14 Target Transport Details: WWNN: 20:04:00:a0:b8:67:0e:71 WWPN: 20:25:00:a0:b8:67:0e:71 Maximum IO Size: 33553920