{"id":3120,"date":"2024-02-07T14:37:14","date_gmt":"2024-02-07T06:37:14","guid":{"rendered":"https:\/\/www.yaoge123.com\/blog\/?p=3120"},"modified":"2024-03-30T15:52:53","modified_gmt":"2024-03-30T07:52:53","slug":"esxi-%e5%8d%87%e7%ba%a7-mellanox-%e7%bd%91%e5%8d%a1%e5%9b%ba%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/www.yaoge123.com\/blog\/archives\/3120","title":{"rendered":"ESXi \u5347\u7ea7 Mellanox \u7f51\u5361\u56fa\u4ef6"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p>NVMe over RoCE \u5bf9RoCE\u7f51\u5361\u7684\u56fa\u4ef6\u517c\u5bb9\u6027\u6709\u8f83\u9ad8\u8981\u6c42<\/p>\n<ul>\n<li>\u6253\u5f00ESXi\u7684SSH\u5e76\u8fdb\u5165\u7ef4\u62a4\u6a21\u5f0f\uff0c\u8fdc\u7a0b\u767b\u5f55ESXi\u4e3b\u673a<\/li>\n<li>\u7528 esxcfg-nics -l \u67e5\u770b\u7f51\u5361\u5217\u8868\uff0c\u7528 esxcli network nic get -n \u67e5\u770b\u7f51\u5361\u9a71\u52a8\u548c\u56fa\u4ef6\u7248\u672c<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@yaoge123:~] esxcfg-nics -l\nName    PCI          Driver      Link Speed      Duplex MAC Address       MTU    Description                   \nvmnic0  0000:19:00.0 igbn        Up   1000Mbps   Full   **:**:**:**:**:** 1500   Intel Corporation I350 Gigabit Network Connection\nvmnic1  0000:19:00.1 igbn        Up   1000Mbps   Full   **:**:**:**:**:** 1500   Intel Corporation I350 Gigabit Network Connection\nvmnic2  0000:8a:00.0 nmlx5_core  Up   25000Mbps  Full   **:**:**:**:**:** 1500   Mellanox Technologies ConnectX-5 EN NIC; 10\/25GbE; dual-port SFP28; PCIe3.0 x8; (MCX512A-ACU)\nvmnic3  0000:8a:00.1 nmlx5_core  Up   25000Mbps  Full   **:**:**:**:**:** 1500   Mellanox Technologies ConnectX-5 EN NIC; 10\/25GbE; dual-port SFP28; PCIe3.0 x8; (MCX512A-ACU)\nvmnic4  0000:8b:00.0 nmlx5_core  Up   25000Mbps  Full   **:**:**:**:**:** 1500   Mellanox Technologies ConnectX-5 EN NIC; 10\/25GbE; dual-port SFP28; PCIe3.0 x8; (MCX512A-ACU)\nvmnic5  0000:8b:00.1 nmlx5_core  Up   25000Mbps  Full   **:**:**:**:**:** 1500   Mellanox Technologies ConnectX-5 EN NIC; 10\/25GbE; dual-port SFP28; PCIe3.0 x8; (MCX512A-ACU)\n&#91;root@yaoge123:~] esxcli network nic get -n vmnic2\n   Advertised Auto Negotiation: true\n   Advertised Link Modes: Auto, 1000BaseCX-SGMII\/Full, 10000BaseKR\/Full, 25000BaseTwinax\/Full\n   Auto Negotiation: true\n   Backing DPUId: N\/A\n   Cable Type: FIBRE\n   Current Message Level: -1\n   Driver Info: \n         Bus Info: 0000:8a:00:0\n         Driver: nmlx5_core\n         Firmware Version: 16.32.1010\n         Version: 4.23.0.36\n   Link Detected: true\n   Link Status: Up \n   Name: vmnic2\n   PHYAddress: 0\n   Pause Autonegotiate: false\n   Pause RX: true\n   Pause TX: true\n   Supported Ports: FIBRE, DA\n   Supports Auto Negotiation: true\n   Supports Pause: true\n   Supports Wakeon: false\n   Transceiver: internal\n   Virtual Address: **:**:**:**:**:**\n   Wakeon: None\n<\/code><\/pre>\n\n\n\n<ul>\n<li>\u5728 <a href=\"https:\/\/www.vmware.com\/resources\/compatibility\/search.php?deviceCategory=io\">VMware\u517c\u5bb9\u6027<\/a> \u641c\u7d22\u8be5\u7f51\u5361\u578b\u53f7\u67e5\u8be2\u5bf9\u5e94\u7684\u9a71\u52a8\u548c\u56fa\u4ef6\u7248\u672c<\/li>\n<li>\u4e0b\u8f7d <a href=\"https:\/\/network.nvidia.com\/products\/adapter-software\/firmware-tools\/\">MFT<\/a>\uff0c\u9009\u62e9\u548cESXi\u7248\u672c\u5339\u914d\u7684\u5b89\u88c5\u5305<\/li>\n<li>\u4e0b\u8f7d\u7684Mellanox-MFT-Tools_*-package.zip\u89e3\u538b\uff0c\u5c06\u89e3\u538b\u51fa\u7684.zip\u6587\u4ef6\u4f20\u81f3ESXi\u7684\/tmp\uff0c\u786e\u8ba4\u4e0a\u4f20\u7684.zip\u6587\u4ef6\u5185\u6839\u76ee\u5f55\u5c31\u6709index.xml<\/li>\n<li>\u4e0b\u8f7d\u7684Mellanox-NATIVE-NMST_*-package.zip\u89e3\u538b\uff0c\u5c06\u89e3\u538b\u51fa\u7684.zip\u6587\u4ef6\u4f20\u81f3ESXi\u7684\/tmp\uff0c\u786e\u8ba4\u4e0a\u4f20\u7684.zip\u6587\u4ef6\u5185\u6839\u76ee\u5f55\u5c31\u6709index.xml<\/li>\n<li>\u7528 esxcli software component apply -d \u5b89\u88c5\u4e0a\u4f20\u7684\u4e24\u4e2a.zip\uff0c\u6ce8\u610f\u8981\u5199\u5168\u8def\u5f84<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@yaoge123:\/tmp] esxcli software component apply -d \/tmp\/Mellanox-MFT-Tools_4.26.1.101-1OEM.801.0.0.21495797_22944840.zip \nInstallation Result\n   Message: Operation finished successfully.\n   Components Installed: Mellanox-MFT-Tools_4.26.1.101-1OEM.801.0.0.21495797\n   Components Removed: \n   Components Skipped: \n   Reboot Required: false\n   DPU Results: \n&#91;root@yaoge123:\/tmp] esxcli software component apply -d \/tmp\/Mellanox-NATIVE-NMST_4.26.1.101-1OEM.801.0.0.21495797_22944879.zip \nInstallation Result\n   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.\n   Components Installed: Mellanox-NATIVE-NMST_4.26.1.101-1OEM.801.0.0.21495797\n   Components Removed: \n   Components Skipped: \n   Reboot Required: true\n   DPU Results: \n<\/code><\/pre>\n\n\n\n<ul>\n<li>\u91cd\u542fESXi\u518d\u6253\u5f00SSH<\/li>\n<li>\u4e0b\u8f7d <a href=\"https:\/\/network.nvidia.com\/support\/firmware\/firmware-downloads\/\">Firmware<\/a> \uff0c\u67e5\u627e\u5bf9\u5e94\u7f51\u5361\u7684\u517c\u5bb9\u7248\u672c\u56fa\u4ef6\u4e0b\u8f7d<\/li>\n<li>\u4e0b\u8f7d\u7684fw-*.bin.zip\u89e3\u538b\uff0c\u5c06\u89e3\u538b\u51fa\u7684.bin\u6587\u4ef6\u4e0a\u4f20\u81f3ESXi\u7684\/tmp<\/li>\n<li>\u5728\/tmp\u4e0b\u6267\u884c\/opt\/mellanox\/bin\/mlxfwmanager\uff0c\u4f1a\u81ea\u52a8\u53d1\u73b0\u65b0\u56fa\u4ef6\u6587\u4ef6\uff0c\u7136\u540e\u6dfb\u52a0-u\u5347\u7ea7\uff0c\u5982\u679c\u5df2\u6709\u7684\u7248\u672c\u65b0\u8981\u964d\u7ea7\u518d\u52a0-f\u5f3a\u5236\u5237<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@yaoge123:\/tmp] \/opt\/mellanox\/bin\/mlxfwmanager\nQuerying Mellanox devices firmware ...\n\nDevice #1:\n----------\n\n  Device Type:      ConnectX5\n  Part Number:      MCX512A-ACU_Ax_Bx\n  Description:      ConnectX-5 EN network interface card; 10\/25GbE dual-port SFP28; PCIe3.0 x8; UEFI Enabled (x86\/ARM)\n  PSID:             MT_0000000425\n  PCI Device Name:  mt4119_pciconf0\n  Base GUID:        ***\n  Base MAC:         ***\n  Versions:         Current        Available     \n     FW             16.32.1010     16.34.1002    \n     PXE            3.6.0502       3.6.0700      \n     UEFI           14.25.0017     14.27.0014    \n\n  Status:           Update required\n\nDevice #2:\n----------\n\n  Device Type:      ConnectX5\n  Part Number:      MCX512A-ACU_Ax_Bx\n  Description:      ConnectX-5 EN network interface card; 10\/25GbE dual-port SFP28; PCIe3.0 x8; UEFI Enabled (x86\/ARM)\n  PSID:             MT_0000000425\n  PCI Device Name:  mt4119_pciconf1\n  Base GUID:        ***\n  Base MAC:         ***\n  Versions:         Current        Available     \n     FW             16.32.1010     16.34.1002    \n     PXE            3.6.0502       3.6.0700      \n     UEFI           14.25.0017     14.27.0014    \n\n  Status:           Update required\n\n---------\nFound 2 device(s) requiring firmware update. Please use -u flag to perform the update.\n\n&#91;root@yaoge123:\/tmp] \/opt\/mellanox\/bin\/mlxfwmanager -u\nQuerying Mellanox devices firmware ...\n\nDevice #1:\n----------\n\n  Device Type:      ConnectX5\n  Part Number:      MCX512A-ACU_Ax_Bx\n  Description:      ConnectX-5 EN network interface card; 10\/25GbE dual-port SFP28; PCIe3.0 x8; UEFI Enabled (x86\/ARM)\n  PSID:             MT_0000000425\n  PCI Device Name:  mt4119_pciconf0\n  Base GUID:        ***\n  Base MAC:         ***\n  Versions:         Current        Available     \n     FW             16.32.1010     16.34.1002    \n     PXE            3.6.0502       3.6.0700      \n     UEFI           14.25.0017     14.27.0014    \n\n  Status:           Update required\n\nDevice #2:\n----------\n\n  Device Type:      ConnectX5\n  Part Number:      MCX512A-ACU_Ax_Bx\n  Description:      ConnectX-5 EN network interface card; 10\/25GbE dual-port SFP28; PCIe3.0 x8; UEFI Enabled (x86\/ARM)\n  PSID:             MT_0000000425\n  PCI Device Name:  mt4119_pciconf1\n  Base GUID:        ***\n  Base MAC:         ***\n  Versions:         Current        Available     \n     FW             16.32.1010     16.34.1002    \n     PXE            3.6.0502       3.6.0700      \n     UEFI           14.25.0017     14.27.0014    \n\n  Status:           Update required\n\n---------\nFound 2 device(s) requiring firmware update...\n\nPerform FW update? &#91;y\/N]: y\nDevice #1: Updating FW ...     \nFSMST_INITIALIZE -   OK          \nWriting Boot image component -   OK                                                                                                                                                              Done\nDevice #2: Updating FW ...     \nFSMST_INITIALIZE -   OK          \nWriting Boot image component -   OK                                                                                                                                                              Done\n\nRestart needed for updates to take effect.\n<\/code><\/pre>\n\n\n\n<ul>\n<li>\u91cd\u542f\u540e\u518d\u68c0\u67e5\u7f51\u5361\u7684\u56fa\u4ef6\u7248\u672c<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@yaoge123:~] esxcli network nic get -n vmnic2\n   Advertised Auto Negotiation: true\n   Advertised Link Modes: Auto, 1000BaseCX-SGMII\/Full, 10000BaseKR\/Full, 25000BaseTwinax\/Full\n   Auto Negotiation: true\n   Backing DPUId: N\/A\n   Cable Type: FIBRE\n   Current Message Level: -1\n   Driver Info: \n         Bus Info: 0000:8a:00:0\n         Driver: nmlx5_core\n         Firmware Version: 16.34.1002\n         Version: 4.23.0.36\n   Link Detected: true\n   Link Status: Up \n   Name: vmnic2\n   PHYAddress: 0\n   Pause Autonegotiate: false\n   Pause RX: true\n   Pause TX: true\n   Supported Ports: FIBRE, DA\n   Supports Auto Negotiation: true\n   Supports Pause: true\n   Supports Wakeon: false\n   Transceiver: internal\n   Virtual Address: **:**:**:**:**:**\n   Wakeon: None\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>NVMe over RoCE \u5bf9RoCE\u7f51\u5361\u7684\u56fa\u4ef6\u517c\u5bb9\u6027\u6709\u8f83\u9ad8\u8981\u6c42 \u6253\u5f00ESXi\u7684SSH\u5e76\u8fdb\u5165\u7ef4\u62a4\u6a21\u5f0f\uff0c\u8fdc\u7a0b\u767b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[10],"tags":[],"class_list":["post-3120","post","type-post","status-publish","format-standard","hentry","category-vmware-computer-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paOwEq-Ok","_links":{"self":[{"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/posts\/3120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/comments?post=3120"}],"version-history":[{"count":8,"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/posts\/3120\/revisions"}],"predecessor-version":[{"id":3176,"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/posts\/3120\/revisions\/3176"}],"wp:attachment":[{"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/media?parent=3120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/categories?post=3120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yaoge123.com\/blog\/wp-json\/wp\/v2\/tags?post=3120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}