NVP vProxy:註冊失敗「無法登入 vCenter..不正確的使用者名稱或密碼」
Summary: NetWorker VMware Protection (NVP) vProxy 註冊失敗。傳回的錯誤為「HTTP 500 無法登入 vCenter『vcsa.amer.lan』:ServerFaultCode:由於使用者名稱或密碼錯誤,無法完成登入。」
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
NetWorker VMware Protection (NVP) vProxy 註冊失敗。
NetWorker Management Console (NMC) 監控標籤的「記錄」區段中會記錄下列錯誤:
VM proxy Warning: Unable to register NSR VMware proxy 'VPROXY_NAME': Received an HTTP code: 500, libcurl message: "", vProxy message: "Error received from vProxy ="500: Unable to log in to vCenter 'VCENTER_NAME': ServerFaultCode: Cannot complete login due to an incorrect user name or password.".
NetWorker 伺服器呈現的daemon.raw回報相同的錯誤:
Linux:/nsr/logs/daemon.raw
Windows:C:\Program Files\EMC NetWorker\nsr\logs\daemon.raw
Windows:C:\Program Files\EMC NetWorker\nsr\logs\daemon.raw
範例:
71193 02/05/2025 10:50:45 AM nsrd NSR info VM proxy Info: Initiating registration of NSR VMware proxy 'nsr-vproxy01.amer.lan' 71193 02/05/2025 10:50:50 AM nsrd NSR info VM proxy Warning: Unable to register NSR VMware proxy 'nsr-vproxy01.amer.lan': Received an HTTP code: 500, vProxy ="500: Unable to log in to vCenter 'vcsa.amer.lan': ServerFaultCode: Cannot complete login due to an incorrect user name or password.".
NMC VMware View 重新整理正在運作。這會驗證 NetWorker 伺服器是否具有正確的 vCenter 登入資料。
注意:如果 VMware View 重新整理失敗,無法載入 vCenter 清查。確定 vCenter 認證正確無誤。如需故障診斷指示,請參閱 「其他資訊 」一節。
Cause
vProxy 未正確解析 vCenter 伺服器。
範例方案。
vProxy 裝置的 /etc/hosts 檔案中的 IP 位址不正確。vProxy 可以 ping 此 IP 位址。此 IP 位址用於其他 VMware vCenter,因此連接埠 443 的連線也會成功;但是,這不是正確的 vCenter,因此驗證失敗:
範例方案。
vProxy 裝置的 /etc/hosts 檔案中的 IP 位址不正確。vProxy 可以 ping 此 IP 位址。此 IP 位址用於其他 VMware vCenter,因此連接埠 443 的連線也會成功;但是,這不是正確的 vCenter,因此驗證失敗:
nsr-vproxy01:~ # ping -c 4 vcsa.amer.lan PING vcsa.amer.lan (192.168.9.114) 56(84) bytes of data. 64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=1 ttl=64 time=0.455 ms 64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=2 ttl=64 time=0.399 ms 64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=3 ttl=64 time=0.698 ms 64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=4 ttl=64 time=0.361 ms --- vcsa.amer.lan ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3049ms rtt min/avg/max/mdev = 0.361/0.478/0.698/0.131 ms nsr-vproxy01:~ # nsr-vproxy01:~ # curl -v vcsa.amer.lan:443 * Trying 192.168.9.114:443... * Connected to vcsa.amer.lan (192.168.9.114) port 443 (#0) > GET / HTTP/1.1 > Host: vcsa.amer.lan:443 > User-Agent: curl/8.0.1 > Accept: */* > * Empty reply from server * Closing connection 0 curl: (52) Empty reply from server我們可以從 NetWorker 伺服器看到 vCenter 解析為不同的 IP 位址:
[root@nsr ~]# nslookup vcsa.amer.lan
Server: 192.168.9.100
Address: 192.168.9.100#53
Name: vcsa.amer.lan
Address: 192.168.9.111
注意:此情況為範例,問題的根本原因是 vProxy 將 vCenter 解析至不正確的 IP 位址。根據部位和情況,可能會觀察到其他癥狀。
Resolution
這是名稱解析問題。
- 如果 vCenter IP 位址是在 vProxy 的 /etc/hosts 檔案中設定,請確定這是 vCenter 的正確 IP 位址。此外,請確定 /etc/hosts 檔案不包含 vCenter 主機名稱或 IP 位址的多個項目。
- 如果 vProxy 的 /etc/hosts 檔案中未設定 vCenter IP 位址,請確定其解析至正確的 DNS 伺服器。DNS 伺服器位址定義於 vProxy 的 /etc/resolv.conf 中。
- vProxy DNS 伺服器設定可透過下列方式修正:NVP vProxy:如何手動變更 vProxy 裝置網路介面設定
- 或者,您可以在 vProxy 的 /etc/host 檔案中定義正確的 IP 位址,以符合主機檔案格式:
IP_ADDRESS VCENTER_FQDN VCENTER_SHORTNAME_ALIAS
當 vProxy 解析成正確的 vCenter IP 位址後,註冊程序便會成功:
Additional Information
如果 NMC VMware View 重新整理失敗,則可能會發生從 NetWorker 伺服器解決或驗證 vCenter 的問題。
1.確定 NetWorker 伺服器會將 vCenter 主機名稱解析為正確的 IP 位址。檢查 NetWorker 伺服器的主機檔案,以瞭解 vCenter 伺服器是否有任何衝突的 IP 位址。
Linux:/etc/hosts
Windows:C:\Windows\System32\drivers\etc\hosts
Windows:C:\Windows\System32\drivers\etc\hosts
2.確認您可以使用將 vCenter 新增至 NetWorker 時所用的相同認證來登入 vCenter vSphere Web 介面。
一個。從 NMC Protection-VMware> View 中,在 vCenter 上按一下滑鼠右鍵,然後選取修改 vCenter。
B.如果您可以使用相同的帳戶登入 vSphere,請在 NetWorker 中更新密碼,以確保密碼正確無誤。
C.如果您無法登入 vSphere,請聯絡您的 VMware 系統管理員,檢查帳戶是否正確、未鎖定,以及密碼是否正確。
C.如果您無法登入 vSphere,請聯絡您的 VMware 系統管理員,檢查帳戶是否正確、未鎖定,以及密碼是否正確。
3.VMware View 成功重新整理後,請監控 vProxy 註冊,查看其是否完成。
ProxyHC 公用程式也可用來驗證 vCenter 連線能力和權限,請參閱:NVP-vProxy:如何在 vProxy 裝置上使用執行狀況檢查工具 ProxyHC
ProxyHC 公用程式也可用來驗證 vCenter 連線能力和權限,請參閱:NVP-vProxy:如何在 vProxy 裝置上使用執行狀況檢查工具 ProxyHC
Affected Products
NetWorkerProducts
NetWorker FamilyArticle Properties
Article Number: 000281396
Article Type: Solution
Last Modified: 05 Feb 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.