NSX Network Detection and Response 功能啟用精靈報告錯誤。

問題

NSX Network Detection and Response 功能啟用失敗,並且啟用精靈報告類似於以下輸出的錯誤。

功能啟用所用的時間太長。Kubernetes 網繭無法啟動或向 NSX Manager 登錄失敗。

啟用按鈕保持變灰狀態。

原因

NSX Network Detection and Response 功能啟用需要在 NSX Application Platform 叢集上部署多個基於 Kubernetes 的工作負載。如果叢集處於降級或不穩定狀態,NSX Network Detection and Response 啟用可能會失敗。

解決方案

  1. 確保已正確部署 NSX Application Platform,並且在系統 > NSX Application Platform UI 頁面上報告為穩定
  2. 檢查 NSX Cloud Connector 登錄服務的記錄。
    1. 收集 NSX Application Platform 支援服務包,並檢查名稱以 nsx-ndr-enable-idsnsx-ndr-setup-kafka 開頭的任何 Kubernetes 網繭的記錄。
    2. 或者,也可以使用以下步驟在 NSX Manager 應用裝置上以互動方式查詢記錄。
      1. root 身分登入 NSX Manager 應用裝置。
      2. 使用以下命令為任何後續的 helmkubectl 叫用標記 Kubernetes 設定。
        export KUBECONFIG=/config/vmware/napps/.kube/config
      3. 透過使用以下命令,確保已成功部署 NSX Cloud Connector Helm Chart。
        helm --namespace nsxi-platform list --all --filter 'nsx-ndr'
        驗證 STATUS 屬性是否顯示為 deployed
      4. 使用以下命令檢查是否成功部署並完成了設定網繭。
        kubectl --namespace nsxi-platform get pods --selector='job-name in (nsx-ndr-enable-ids, nsx-ndr-setup-kafka)'
        必須具有兩個網繭,並且將 STATUS 顯示為 Completed
      5. 使用以下命令檢查設定網繭的記錄。
        kubectl --namespace nsxi-platform logs --selector='job-name in (nsx-ndr-enable-ids, nsx-ndr-setup-kafka)'
  3. 在解決錯誤後,按一下 功能卡中的動作NSX Network Detection and Response。選擇刪除以啟用刪除部分啟用的 NSX Network Detection and Response 功能的過程。刪除過程完成後,再次重試啟用此功能。