VxRail:vMotion 失敗,並顯示錯誤「無法準備遷移。網路位址對翻譯無效」

Summary: 如何修正在初始階段因網路驗證錯誤而失敗的 vMotion 問題,即使 vMotion VMkernel 連接埠已正確設定。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

停機時間不涉及執行此問題的因應措施。
必須重新啟動 vpxa 服務,才能在識別的 ESXi 主機上套用已實作的變更。

遷移虛擬機器失敗,並顯示錯誤:
 Unable to prepare migration. Network address is not valid for translation.

可以在vmware.log檔中找到類似的條目。

vmware.log:
2019-04-22T10:31:00.410Z| vmx| I125: VigorTransportProcessClientPayload: opID=ju2ei8q0-213690-auto-4kvv-h5:70071372-69-01-b7-7b41 seq=2144: Receiving Migrate.PrepareSource request.
2019-04-22T10:31:00.410Z| vmx| I125: MigrateVMStrToIpAddr: Invalid IP address vxrail03.xyz.com specified.
2019-04-22T10:31:00.410Z| vmx| I125: MigrateVMXdrToSpec: type: 1 srcIp=<192.168.20.113> dstIp=<192.168.20.115> mid=4b2cdde2919b8679


在註冊虛擬機器的 ESXi 主機檔案hostd.log可以看到下方的項目。

hostd.log:
opID=ju2ei8q0-214059-auto-4l64-h5:70071467-cd-01-9f-7e16 user=vpxuser:VSPHERE.LOCAL\Administrator] VMotionPrepare: srcMgmtIp=192.168.x.x
2019-04-22T10:38:24.616Z info hostd[2100849] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/vsan:52fb3189d1ada8ae-cf21c9911c958035/ede1b75c-a8af-6988-3359-e4434b4db68c/VFM-CRM.vmx opID=ju2ei8q0-214059-auto-4l64-h5:70071467-cd-01-9f-7e16 user=vpxuser:VSPHERE.LOCAL\Administrator] VMotionPrepare: dstMgmtIp=vxrail03.xyz.com
2019-04-22T10:38:24.616Z info hostd[2100849] [Originator@6876

Cause

如果來源管理 IP 參數或目的地管理 IP 參數是使用 ESXi 主機名稱更新,而非 IP 位址,就會發生此問題。

Resolution

因應措施:

透過 ssh 登入 ESXi 主機

依序執行下列命令。

  cd /etc/vmware/vpxa/
  cp vpxa.cfg vpxa_backup.cfg
  vi vpxa.cfg
Locate the <hostIp> YOURHOSTNAME</hostIp> line and modify the hostname to IP address of the host.
Type Esc followed by :wq!
Restart the VPXA service.
Article Properties
Article Number: 000040071
Article Type: Solution
Last Modified: 29 May 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.