ネットワークエンジニアのITブログ

長らくネットワークで生活してきましたが、ここ数年クラウドとサーバー系に触れる機会が増えて、日々成長しています。最近のお気に入りはNSXALBとGoogle Cloud。

ESXi7,ESXi8へのバージョンアップに伴い対応している増設ネットワークカードに交換する

ホームラボはvSphere6.7の環境がvExpertライセンスで稼働しているのですが、3/31で期限が切れてしまったので、vExpert更新に伴い新しいライセンスが手に入ったら更新しようと考えていました。ところが、検証ライセンスはvSphere7以降となってしまっため、急遽バージョンアップが必要という状況になり、さあ大変。。。

ここで問題なのが、現在利用している増設NICがESXi7でも動作するのかということです。安易にバージョンアップしてNICが認識されないとESXiのWebコンソールにすら接続できなくなる可能性があるので、事前の確認が重要になってくるわけなのですが、私の環境は、見事にESXi7で動作しませんでした。

さらに、検証している間にライセンスが切れ、vCenterに接続できないのはもちろん、すべての仮想マシンが起動しないという状態に陥ってしまいました。
ということで、ESXi7で認識するネットワークカードの増設と、ESXi7、vCenter7へのアップグレードからのライセンス適用までの流れを紹介します。

ちなみに、この記事を書いている時点ではまだ復旧していないですが、復旧完了まで行けると願ってます。

現在のネットワークカードのメーカーとモデルを調査

まず最初に、ESXi6.7で稼働しているNICを確認します。
ホームラボのESXiホストは3台あるのでesxcliコマンドにより、Driver、NICの種類を見てみました。
基本的な構成はオンボード×1、2ポート増設NIC×2の合計5ポートあるのですが、esxi20,21のオンボードは現在でも認識されておらず利用できません。
I219-LMはオンボードintelNICは2種類搭載していて、1枚は82576、もう1枚はI350のNICであることがわかります。

[root@esxi20:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  -------------------------------------------------
vmnic0  0000:01:00.0  igbn    Up            Up            1000  Full    80:61:5f:17:00:3e  1600  Intel Corporation I350 Gigabit Network Connection
vmnic1  0000:01:00.1  igbn    Up            Up            1000  Full    80:61:5f:17:00:3f  1500  Intel Corporation I350 Gigabit Network Connection
vmnic2  0000:03:00.0  igbn    Up            Up            1000  Full    80:61:5f:17:03:cc  1600  Intel Corporation I350 Gigabit Network Connection
vmnic3  0000:03:00.1  igbn    Up            Up            1000  Full    80:61:5f:17:03:cd  1600  Intel Corporation I350 Gigabit Network Connection
[root@esxi20:~]

[root@esxi21:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  ----------------------------------------------------
vmnic0  0000:01:00.0  igb     Up            Up            1000  Full    00:1b:21:89:3b:a4  1600  Intel Corporation 82576 Gigabit Network Connection
vmnic1  0000:01:00.1  igb     Up            Up            1000  Full    00:1b:21:89:3b:a5  1500  Intel Corporation 82576 Gigabit Network Connection
vmnic2  0000:03:00.0  igb     Up            Up            1000  Full    6c:b3:11:8a:3b:2a  1600  Intel Corporation 82575EB Gigabit Network Connection
vmnic3  0000:03:00.1  igb     Up            Up            1000  Full    6c:b3:11:8a:3b:2b  1600  Intel Corporation 82575EB Gigabit Network Connection
[root@esxi21:~]

[root@esxi22:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  --------------------------------------------------
vmnic0  0000:00:1f.6  ne1000  Up            Up            1000  Full     e8:d8:d1:ba:8c:fb  1500  Intel Corporation Ethernet Connection (7) I219-LM
vmnic1  0000:03:00.0  igb     Up            Up            1000  Full     1c:fd:08:72:7d:86  1600  Intel Corporation 82576 Gigabit Network Connection
vmnic2  0000:03:00.1  igb     Up            Up            1000  Full     1c:fd:08:72:7d:87  1600  Intel Corporation 82576 Gigabit Network Connection
vmnic3  0000:01:00.0  igbn    Up            Up            1000  Full     80:61:5f:17:01:50  1500  Intel Corporation I350 Gigabit Network Connection
vmnic4  0000:01:00.1  igbn    Up            Up            1000  Full     80:61:5f:17:01:51  1500  Intel Corporation I350 Gigabit Network Connection
[root@esxi22:~]

NICのサポート状況を確認

先ほど確認したこれらのNICが、esxi7,esxi8に対応しているか、VMware Compatibility Guideで調べてみます。
https://www.vmware.com/resources/compatibility/search.php?deviceCategory=io
ブランド名を「Intel Corporation」、キーワードに「I350」を入力して検索します。
同様に「82576」「I219」でも確認します。

その結果、「82576」は6.7U3までのサポートで、「I219」「I350」はesxi7,esxi8にも対応していることがわかりました。



テスト用ESXiで起動確認してみる

事前にESXi7、ESXi8で起動した際に本当にサポートしていないのか、現在利用している起動用USBメモリとは別に、新しいUSBメモリを利用して、ESXi7の新規インストールを行い確認してみます。
USBメモリは16GB以上のものを1つ用意します。
事前にESXi7(現時点で7.0U3Lが最新版)のISOイメージをダウンロードしておき、RufusUSBメモリにインストールします。

書き込みが完了したら、「I219」、「82576」、「I350」のNICを搭載しているesxi22で、USBメモリ起動してESXi7のインストールを開始します。

基本的には、画面の案内に従って、「Enter」もしくは「F11」を選択して進んでいきます。


途中は割愛します。



インストールが完了したので、再起動してNICの認識状況を確認します。
ここではわかりやすいように、esxi8.0もインストールして確認したので、それぞれの確認結果を並べて表示しています。
やはり、事前調査した通り、「82576」はESXi6.7U3までしか認識されず、「I219」、「I350」はESXi7.0U3、ESXi8.0でも認識されました。

◆ESXi6.7U3
[root@esxi22:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  --------------------------------------------------
vmnic0  0000:00:1f.6  ne1000  Up            Down             0  Half    e8:d8:d1:ba:8c:fb  1500  Intel Corporation Ethernet Connection (7) I219-LM
vmnic1  0000:03:00.0  igb     Up            Up            1000  Full    1c:fd:08:72:7d:86  1600  Intel Corporation 82576 Gigabit Network Connection
vmnic2  0000:03:00.1  igb     Up            Down             0  Half    1c:fd:08:72:7d:87  1600  Intel Corporation 82576 Gigabit Network Connection
vmnic3  0000:01:00.0  igbn    Up            Down             0  Half    80:61:5f:17:01:50  1500  Intel Corporation I350 Gigabit Network Connection
vmnic4  0000:01:00.1  igbn    Up            Down             0  Half    80:61:5f:17:01:51  1500  Intel Corporation I350 Gigabit Network Connection
[root@esxi22:~]

◆ESXi7.0U3
[root@esxi22:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  -----------
vmnic0  0000:00:1f.6  ne1000  Up            Up            1000  Full    e8:d8:d1:ba:8c:fb  1500  Intel Corporation Ethernet Connection (7) I219-LM
vmnic1  0000:01:00.0  igbn    Up            Down             0  Half    80:61:5f:17:01:50  1500  Intel Corporation I350 Gigabit Network Connection
vmnic2  0000:01:00.1  igbn    Up            Down             0  Half    80:61:5f:17:01:51  1500  Intel Corporation I350 Gigabit Network Connection
[root@esxi22:~]


◆ESXi8.0
[root@esxi22:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  -----------
vmnic0  0000:00:1f.6  ne1000  Up            Up            1000  Full    e8:d8:d1:ba:8c:fb  1500  Intel Corporation Ethernet Connection (7) I219-LM
vmnic1  0000:01:00.0  igbn    Up            Down             0  Half    80:61:5f:17:01:50  1500  Intel Corporation I350 Gigabit Network Connection
vmnic2  0000:01:00.1  igbn    Up            Down             0  Half    80:61:5f:17:01:51  1500  Intel Corporation I350 Gigabit Network Connection
[root@esxi22:~]

Intel I350-T2互換NICを購入

I350のNICがESXi8.0までサポートしていることを確認したので、全てのESXiホストを対応するために「I350」の2ポート増設NICAmazonで購入しました。
https://www.amazon.co.jp/gp/product/B07B4RL9QJ/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&th=1

I350NICに交換し再度テスト用ESXiで起動確認してみる

すでに作成済みのESXi7.0U3とESXi8.0の起動用のUSBメモリを使用して、それぞれの起動時における認識状況を確認したところ、交換したNICも正しく認識されました。

◆ESXi6.7U3
[root@esxi22:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  --------------------------------------------------
vmnic0  0000:00:1f.6  ne1000  Up            Down             0  Half    e8:d8:d1:ba:8c:fb  1500  Intel Corporation Ethernet Connection (7) I219-LM
vmnic1  0000:03:00.0  igb     Up            Up            1000  Full    1c:fd:08:72:7d:86  1600  Intel Corporation 82576 Gigabit Network Connection
vmnic2  0000:03:00.1  igb     Up            Down             0  Half    1c:fd:08:72:7d:87  1600  Intel Corporation 82576 Gigabit Network Connection
vmnic3  0000:01:00.0  igbn    Up            Down             0  Half    80:61:5f:17:01:50  1500  Intel Corporation I350 Gigabit Network Connection
vmnic4  0000:01:00.1  igbn    Up            Down             0  Half    80:61:5f:17:01:51  1500  Intel Corporation I350 Gigabit Network Connection
[root@esxi22:~]

◆ESXi7.0U3
[root@esxi22:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  --------------------------------------------------
vmnic0  0000:00:1f.6  ne1000  Up            Up            1000  Full    e8:d8:d1:ba:8c:fb  1500  Intel Corporation Ethernet Connection (7) I219-LM
vmnic1  0000:01:00.0  igbn    Up            Down             0  Half    80:61:5f:17:01:50  1500  Intel Corporation I350 Gigabit Network Connection
vmnic2  0000:01:00.1  igbn    Up            Down             0  Half    80:61:5f:17:01:51  1500  Intel Corporation I350 Gigabit Network Connection
vmnic3  0000:03:00.0  igbn    Up            Down             0  Half    98:b7:85:00:4e:fe  1500  Intel Corporation I350 Gigabit Network Connection
vmnic4  0000:03:00.1  igbn    Up            Down             0  Half    98:b7:85:00:4e:ff  1500  Intel Corporation I350 Gigabit Network Connection
[root@esxi22:~]

◆ESXi8.0
[root@esxi22:~] esxcli network nic list
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description
------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  --------------------------------------------------
vmnic0  0000:00:1f.6  ne1000  Up            Up            1000  Full    e8:d8:d1:ba:8c:fb  1500  Intel Corporation Ethernet Connection (7) I219-LM
vmnic1  0000:01:00.0  igbn    Up            Down             0  Half    80:61:5f:17:01:50  1500  Intel Corporation I350 Gigabit Network Connection
vmnic2  0000:01:00.1  igbn    Up            Down             0  Half    80:61:5f:17:01:51  1500  Intel Corporation I350 Gigabit Network Connection
vmnic3  0000:03:00.0  igbn    Up            Down             0  Half    98:b7:85:00:4e:fe  1500  Intel Corporation I350 Gigabit Network Connection
vmnic4  0000:03:00.1  igbn    Up            Down             0  Half    98:b7:85:00:4e:ff  1500  Intel Corporation I350 Gigabit Network Connection
[root@esxi22:~]

これで、バージョンアップ後のNICもそのまま利用できるので、NSX-Tで割り当てている物理ポートもそのまま利用できると安心しました。
この後の流れとしては、以下のように進めようと思います。
1.ESXiホストのバージョンアップ
2.vCenterを起動してバージョンアップ
3.NSX-Tのバージョンアップ

これですんなり行けば良かったのですが、いざアップグレードをしようとしたESXiホストの起動用USBメモリが故障したらしく起動しない状態になってしまいました。
しかもvCenterのデータストアがあるホストだったので、復旧しないと再構築になるという状態。。。
ライセンス切れで仮想マシンも起動せず、どうやって復旧させようかという悩み中です。
ということで、この続きは次回紹介します。