Avamar:VMware 映像還原失敗「等待產生的還原中繼資料逾時」
Summary: VMware 映像還原失敗,顯示「等待產生還原中繼資料 avtar 程序完成時逾時」
Symptoms
VMware 映像還原至新虛擬機器,或映像還原至新磁碟失敗,並出現下列錯誤:
avvcbimage Error <0000>: [IMG0011] Timeout on wait for spawned restore metadata avtar process to complete
還原至新的 VM 或磁碟時,一般還原工作流程必須從使用者選取的備份中,對 VM 組態檔案執行「小型還原」。這些檔案會標示為 .vmx 和 .vmdk 描述符檔案。
資料還原後,代理會採用還原的 VM 組態,並建立新的 VM 虛擬磁碟。接著可以繼續進行虛擬磁碟的映像還原。稱為「中繼資料還原」的小型還原工作預設逾時為 5 分鐘。由於 vmx 還原很小(通常為 ~15 kb),因此還原只需幾秒鐘。
但是,在還原記錄中會發生此行為的地方,我們會看到:
1. 2017-04-14 12:50:21 avvcbimage Info : Process 4486 (/usr/local/avamarclient/bin/avtar) for workorder MOD-1492174248297#99 started
2. 2017-04-14 12:55:21 avvcbimage Error : [IMG0011] Timeout on wait for spawned restore metadata avtar process to complete
3. 2017-04-14 12:59:51 avvcbimage Info : Process 4486 (/usr/local/avamarclient/bin/avtar) finished (code 0: success)
記錄訊息顯示所花的總時間為 9 分 30 秒,但最終中繼資料還原成功。但是,映像還原工作已失敗,因為已超出預設的子處理時間 5 分鐘或 300 秒。
Cause
Data Domain 設定有介面群組 (ifgroup),可告知 ddboost 用戶端 (avtar) 連線至介面。此介面在用戶端 (代理) 之間遭到封鎖從
Data Domain 命令列或網頁,檢閱 dd 設定。
範例設定:
sysadmin@ddve# Ifgroup Show Config Group-name Status Interfaces ---------- ------- ---------- default enabled 192.168.69.80 ---------- ------- ---------- sysadmin@ddve net show config ethV0 Link encap:Ethernet HWaddr 00:50:56:98:A6:66 inet addr:10.240.196.80 Bcast:10.240.196.255 Mask:255.255.255.0 ethV1 Link encap:Ethernet HWaddr 00:50:56:98:56:8F inet addr:192.168.69.80 Bcast:192.168.69.255 Mask:255.255.255.0 In the example above the default Ifgroup setting will cause the client to initially connect to primary/management interface of 10.240.196.80 but will see the ifgroup settings and try to connect with 192.168.69.80. RPC has a default time-out value of 180 seconds but the client will try multiple times (3 in this case) which would add up to a total of 540 seconds or 9.5 mins. After trying three times the connection will fallback to 10.240.196.80 but by this time the image restore job would have timed out. From the proxy run this series of commands to confirm the issue replacing the IP addresses as appropriate:
rpcinfo -p 192.168.69.80 (command stops responding for 3 min)rpcinfo -p <data domain fully qualified hostname>rpcinfo -p 10.120.24.49
Resolution
解決方案:
開啟用戶端和 Data Domain ifgroup 介面之間的連線。
另一個選項是停用 ifgroup。
替代解決方法:
例如,將子進程的超時值增加到 10 分鐘(600 秒)。這可讓您完成還原。
為此,請添加一個參數 --subprocesstimeoutsecs=600 到 avvcbimageAll.cmd 檔案,位於 /usr/local/avamarclient/var/ 在代理上
有關編輯avvcmimage.cmd檔的詳細資訊,請參閱
Additional Information
相關的文章:Avamar - VMware 映像還原失敗,並出現嚴重錯誤「GetDiskAttributed failed」(可能需要登入 Dell 支援)