Avamar:VMware 映像还原失败“等待生成的还原元数据超时”
Summary: VMware 映像还原失败,并显示“等待生成的还原元数据 avtar 进程完成超时”
Symptoms
VMware 映像还原到新虚拟机或映像还原到新磁盘失败,并显示以下错误:
avvcbimage Error <0000>: [IMG0011] Timeout on wait for spawned restore metadata avtar process to complete
还原到新的虚拟机或磁盘时,正常还原工作流必须从用户选择的备份中执行虚拟机配置文件的“小型还原”。这些文件标记为 .vmx 和 .vmdk 描述符文件。
还原数据后,代理将采用还原的虚拟机配置并构建新的虚拟机虚拟磁盘。然后,它可以继续执行虚拟磁盘的映像还原。称为“元数据还原”的小型还原作业的默认超时为 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 接口之间的连接。
另一个选项是禁用接口组。
备选解决方法:
例如,将子进程的超时值增加到 10 分钟(600 秒)。这允许还原完成。
为此,请添加一个参数 --subprocesstimeoutsecs=600 到 avvcbimageAll.cmd 文件,位于 /usr/local/avamarclient/var/ 在代理上
有关编辑 avvcmimage.cmd 文件的更多信息,请参阅
Additional Information
相关文章:Avamar - VMware 映像还原失败,并显示致命错误“GetDiskAttributed Failed”(可能需要登录戴尔支持)