Avamar:由于未找到 SSL 证书/密钥或无效错误,Hyper-V 备份失败

Summary: 知识库文章详细介绍了由于 SSL 证书或密钥损坏而导致 Hyper-V 备份失败的解决方法。

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

Hyper-V 备份可能会失败,并显示类似于以下错误的错误:
 
avhypervvss Error : The plugin on remote client DELLHYPERV01 (10.x.x.x) terminated with code 10020: completed with errors, client log should be examined
avhypervvss Error : 1 remote client(s) failed to complete operation on the remote file targets
avhypervvss Error : Failed to backup Virtual Machine 'SCVMM Avamar Resources'


从位于辅助节点上 C:\Program Files\avs\ 目录中的日志中,我们看到以下错误:
 
2023-10-25 21:06:21 avhypervvss Error <43488>: Backup stream generator encountered an internal error. PAX api 'beginfile:extents' reported an error 32.
2023-10-25 21:06:21 avhypervvss Error <43490>: Failed in begin file "C:\ClusterStorage\Volume1\vm1\Virtual Hard Disks\vm1.vhdx" , for incremental backup
2023-10-25 21:06:21 avhypervvss Error <43486>: Backup stream generator encountered an internal error. Failed to stream file '00000105\"C:\ClusterStorage\Volume1\vm1\Virtual Hard Disks\vm1.vhdx"<<VM GUID>>'.
2023-10-25 21:06:21 avhypervvss Error <43473>: Processing workorder DAILY_2100-DAILY_2100_40D_DELL300_WIN-1698285600011#601 (pid:3032-Hyper-V VSS) in stream mode failed.
2023-10-25 21:06:21 avhypervvss Info <8701>: Closing pax stream
2023-10-25 21:06:21 avhypervvss Info <43474>: Sub-process spawn for workorder DAILY_2100-DAILY_2100_40D_DELL300_WIN-1698285600011#601 (pid:3032-Hyper-V VSS) returned 0
2023-10-25 21:06:21 avhypervvss Info <43477>: Sub-process spawn for workorder DAILY_2100-DAILY_2100_40D_DELL300_WIN-1698285600011#601 (pid:3032-Hyper-V VSS) finished.
2023-10-25 21:06:21 avhypervvss Error <43499>: Failed to process backup workorder DAILY_2100-DAILY_2100_40D_DELL300_WIN-1698285600011#601. Failed to save backup files.
2023-10-25 21:06:50 avhypervvss Info <6686>: Process 21100 (C:\Program Files\avs\bin\avtar) for workorder DAILY_2100-DAILY_2100_40D_DELL300_WIN-1698285600011#301 started
 
2023/10/26-02:06:21.23699 [avtar] ERROR: sslcontext::loadCert certificate/key not found or invalid cert=C:\Program Files\avs\etc\cert.pem key=C:\Program Files\avs\etc\key.pem
2023-10-25 21:06:21 avtar Error : SSL certificate/key not found or invalid.
2023-10-25 21:06:21 avtar FATAL <19035>: Unable to initialize socket library for CTL.



Cause

启用会话安全性后,可能会由于 SSL 证书错误而出现随机 Hyper-V 备份失败。

从 Avamar Server 收到的私钥无效。客户端 Avagent 服务正在发送 IPv6 localhost (::1) 作为寻呼地址。此 IPv6 地址是环回地址,是主机名列表的一部分,但 MC 服务似乎仅存储 IPV4 地址。

Resolution

有两种解决方法可用于解决此问题:

1) 删除 C:\Program Files\avs\etc目录中的文件,然后重新启动该节点上的备份代理服务。

2) 在辅助节点上的 C:Program Files\avs\var目录中创建 avagent.cmd 文件,并添加以下标记:

--ipupdateinterval=43200
--addr-family=4
-netbind=<<IP address that can access the Avamar server>>

示例:

--ipupdateinterval=43200
--addr-family=4
-netbind=192.168.1.1

保存文件,然后在 services.msc 控制台中重新启动备份代理服务,以使更改生效。

Affected Products

Avamar, Avamar Plug-in for Hyper-V VSS
Article Properties
Article Number: 000219542
Article Type: Solution
Last Modified: 03 Feb 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.