VMware ESXi 從 6.5 以後版本,不再使用 vSphere Client 軟體做管理,改用全 Web 介面。
有些管理方法與以前使用 vSphere Client 必須做改變。
改用 Web 介面後,要得知 HBA卡的 WWN,必須使用 ESX CLI 指令,先啟用 SSH 服務,然後使用 putty 登入 ESX,執行以下指令:
$> esxcli storage core adapter list vmhba2 qlnativefc link-up fc.500143803310b715:500143803310b714 Second Level Lun ID (0000:05:00.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA vmhba3 qlnativefc link-up fc.500143803310fc51:500143803310fc50 Second Level Lun ID (0000:0b:00.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA
TIP:
fc.5001...fc51:5001...fc50,後面那組就是 WWN。
如何確認 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
Images 0 | ||
---|---|---|
No images to display in the gallery. |