DPE vApp 備份失敗,並顯示錯誤「vmwappimage Error <19591>: httpPost: http_code: 500 sending to url 'https://localhost:8080/vcp-ba-vappplugin-ws/vapp」,因為發生負載平衡器問題
Summary: DPE vApp 備份失敗,並顯示錯誤「vmwappimage Error<19591>: httpPost: http_code: 500 sending to url 'https://localhost:8080/vcp-ba-vappplugin-ws/vapp」,因為發生負載平衡器問題。已知 CloudFlare 負載平衡器等負載平衡器會導致 HTTP 524 來源逾時錯誤,導致備份失敗。 ...
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
備份記錄可能會顯示下列錯誤訊息:
2021-02-08 10:02:50 vmwappimage Info <19594>: httpPost: url https://localhost:8080/vcp-ba-vappplugin-ws/vapp 2021-02-08 10:03:22 vmwappimage Error <19591>: httpPost: http_code: 500 sending to url 'https://localhost:8080/vcp-ba-vappplugin-ws/vapp' 2021-02-08 10:03:22 vmwappimage Info <9772>: Starting graceful (staged) termination, Prep-for-backup message to ADS failed (wrap-up stage) 2021-02-08 10:03:22 vmwappimage Error <0000>: Prep-for-backup message to ADS failed 2021-02-08 10:03:22 vmwappimage Info <19594>: httpPost: url https://localhost:8080/vcp-ba-vappplugin-ws/vapp 2021-02-08 10:03:45 vmwappimage Error <19591>: httpPost: http_code: 500 sending to url 'https://localhost:8080/vcp-ba-vappplugin-ws/vapp' 2021-02-08 10:03:45 vmwappimage Error <17707>: 備份完成後至 ADS 的訊息失敗。 2021-02-08 10:03:45 vmwappimage Info <16038>: 最後摘要,已取消/已中止 0,snapview 0,exitcode 157:其他錯誤 在「/var/log/vcp/srv/vcdsdk.log」的 VPA 上的 vcdsdk.log 顯示下列錯誤:
> 2021-02-12 11:58:37,368 [AMQP listener 9] INFO (RestUtil.java:329) - Response - <html> > <head><title>524 來源逾時</title></head> > <body bgcolor="white"> > <center><h1>524 來源逾時</h1></center> > <hr><center>cloudflare-nginx</center> > </body> > </html> 注意:可能需要新增 VCDSDK Cloud API 偵錯,以確認上述錯誤:
啟用雲端 API 偵錯的步驟:
1.登入 VCP 主要節點 2.編輯檔案 /etc/vcp/srv/vcpsrv-log4j2.xml 3。原始內容: <Logger name="com.vmware" level="info" additivity="true" /> 變更此行以顯示: <Logger name="com.vmware" level="debug" additivity="true" /> 4. 請重新啟動 bg 和 srv 服務,vcp-cli bg update -p <MASTER-PASSWORD> <BG-INSTANCE-NAME> vcp-cli srv update -p <MASTER-PASSWORD> <SRV-CELL-INSTANCE-NAME>
在 VPA 的 vCloud Director FQDN 上執行 nslookup 會顯示多個 IP 位址。
客戶確認他們已設定負載平衡器。
Cause
嘗試連線至 vCloud Director 的備份閘道正在撞擊 CloudFlare 負載平衡器。CloudFlare 負載平衡器上的 API 要求失敗,導致發生問題。
CloudFlare 負載平衡器提供的返回代碼如下:
2021-02-12 11:58:37,368 [AMQP listener 9] INFO (RestUtil.java:329) - Response - <html> > <head><title>524 來源逾時</title></head> > <body bgcolor="white"> > <center><h1>524 來源逾時</h1></center> > <hr><center>cloudflare-nginx</center> > </body> > </html>
CloudFlare 負載平衡器提供的返回代碼如下:
2021-02-12 11:58:37,368 [AMQP listener 9] INFO (RestUtil.java:329) - Response - <html> > <head><title>524 來源逾時</title></head> > <body bgcolor="white"> > <center><h1>524 來源逾時</h1></center> > <hr><center>cloudflare-nginx</center> > </body> > </html>
Resolution
1.向客戶確認他們是否在 VPA 元件 (例如備份閘道等) 和 vCloud Director 之間設定了負載平衡器。
2.為所有 docker 容器 VM 新增本機主機檔案項目,以手動強制 DPE 元件使用私人 IP 位址,連接至 vCloud Director,略過負載平衡器。
3.在低於 19.4 的 DPE 版本上,可在個別 DPE VM 上建立主機檔案項目,例如 SRV-Cell VM、備份閘道虛擬機器等。
4.在 DPE 版本 19.4 及更新版本上,每個 docker 容器都必須進行變更。
2.為所有 docker 容器 VM 新增本機主機檔案項目,以手動強制 DPE 元件使用私人 IP 位址,連接至 vCloud Director,略過負載平衡器。
3.在低於 19.4 的 DPE 版本上,可在個別 DPE VM 上建立主機檔案項目,例如 SRV-Cell VM、備份閘道虛擬機器等。
4.在 DPE 版本 19.4 及更新版本上,每個 docker 容器都必須進行變更。
- 開啟 SSH 至 VPA 虛擬機器
- 執行下列命令以擷取 docker 容器清單:docker ps
- 執行下列命令以進入 docker 容器:docker exec -it <first 2 digits of containerid> /bin/bash
- 執行下列命令以更新本機主機檔案記錄:echo "IP_ADDRESS FQDN SHORTNAME" >> /etc/hosts
重要注意事項:重新啟動 VPA 服務 (Cell-SRV/BG) 服務會銷毀 docker,並重新建立 docker。因此,必須再次更新主機檔案變更。
Affected Products
Avamar, vCloud Director Data Protection ExtensionProducts
PowerProtect Data Protection ApplianceArticle Properties
Article Number: 000183920
Article Type: Solution
Last Modified: 01 Aug 2021
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.