Avamar:Exchange VSS 插件 — 由于 PowerShell 错误,DAG 备份失败

Summary: 为由于 PowerShell 错误导致的 Exchange DAG 备份失败提供解决方法的知识库 (KB)。

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

Exchange 备份可能会失败并显示以下错误:

2014-01-15 11:39:59 avexvss Info <18202>: The Powershell interface already has required permissions.  Will not impersonate with provided credentials.
2014-01-15 11:43:10 avexvss Error <0000>: Error [EXMB1.EMC.com] Connecting to remote server failed with the following error message : The WinRM client cannot complete the operation within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled. For more information, see the about_Remote_Troubleshooting Help topic.
2014-01-15 11:43:10 avexvss Error <16954>: Unable to initialize Powershell interface process -- cannot continue.
2014-01-15 11:43:10 avexvss Error <13077>: Unable to complete backup.
 
2014/01/28-23:55:22.12100 [avexvss_snapup_assist]  Failed to initialize PowerShell interface using method 1; unable to launch process- return code: 1314
2014/01/28-23:55:22.12100 [avexvss_snapup_assist]  Attempting impersonation using CreateProcessWithLogonW
2014/01/28-23:55:22.12100 [avexvss_snapup_assist]  Failed to initialize PowerShell interface using method 2; unable to launch process as new user - return code: 1058
2014-01-28 15:55:22 avexvss Error <0000>: Unable to initialize PowerShell interface, verify the user name and password.
2014-01-28 15:55:22 avexvss Error <16957>: Powershell interface unable to logon as new user -- cannot continue.
其他变体可能包括以下内容:
avexvss Error <0000>: Error [emcmbx01.avamar.com] Connecting to remote server failed with the following error message : The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic. 
avexvss Error <16954>: Unable to initialize Powershell interface process -- cannot continue.  
...
avexvss Error <0000>: Error [emcmbx01.avamar.com]  Connecting to remote server failed with the following error message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The  content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help topic.

Cause

如果 Exchange 客户端在很长一段时间内未重新启动,则 Internet Information Services (IIS) 可能处于不良状态。

对于联合 Exchange DAG 备份,防火墙可能会阻止 DAG 成员之间的 PowerShell 远程访问。

 

Resolution

请按照以下解决方案解决此问题:
1.重新启动 IIS。
2.验证在 Exchange 数据集中指定的用户名和密码是否正确。
3.检查 PowerShell 远程访问是否已禁用,并尝试使用以下 PowerShell 命令启用它:
Enable-PSremoting -force 

4.通过键入以下 PowerShell 命令启用 Windows 远程管理服务:
winrm quickconfig  
5.如果备份仍然失败,或收到错误消息 "Powershell interface unable to logon as new user," 执行以下作以启用其他调试:
一个。在ps_exec.exe所在的 bin 目录中,创建一个名为“ps_exec.cmd”的文本文件。   确认它被创建为“.cmd”而不是“.txt”文件扩展名。
b. 编辑ps_exec.cmd;添加以下行:
--debug 
c.c. 再次运行 Exchange DAG 测试备份(使用输入到数据集中的“AvamarBackupUser”凭据),并创建名为“ps_exec.log”的新日志文件。  此日志有助于识别“AvamarBackupUser”帐户可能需要的任何其他安全权限。

以“AvamarBackupUser”帐户登录每个 Exchange 客户端,打开 Exchange 命令行管理程序并使用以下命令验证 Powershell 功能:
 
get-mailboxdatabase

或者,按如下所示重新配置 Avamar 群集代理服务(联合 Exchange DAG):

1.启动故障转移群集管理器工具。
2.停止“适用于 <DAG_NAME> 的 DELL Avamar 备份群集客户端”。
3.打开“服务”并找到 “DELL Avamar Backup Agent for <DAG_NAME>”。
4.如果此服务已启动,请将其停止。
5.在属性下,选择 “登录” 选项卡。在此选项卡中,选择“此帐户”选项,然后输入“AvamarBackupUser” 帐户的凭据。
6.依次选择 ApplyOK。
7.在每个 DAG 节点上重复步骤 3 - 6。
8.打开 Failover Cluster Manager 并启动“DELL Avamar backup cluster client for <DAG_NAME>”。
 
这样,所有 DAG 节点都使用“Backup Agent”和“DELL Avamar Backup Agent for <dagname> services”的相同“AvamarBackupUser”帐户启动。  
 
在 DAG 客户端的数据集中,将“AvamarBackupUser”凭据字段留空,因为上述过程不需要输入这些凭据。**

* 如果上述所有解决方法都失败,则 Exchange 管理 PowerShell 或 IIS 配置错误或不完整。应联系 Microsoft 支持人员,以便排除故障、重新配置或重新安装必要的组件。

额外的故障处理步骤:

如果无法初始化 PowerShell 并连接到服务器,则这是 Microsoft 设置问题。此问题有多种原因

来自 Microsoft 文档:“默认情况下,PowerShell 远程处理在 Windows Server 平台上处于启用状态。可以使用 Enable-PSRemoting 在*其他受支持的 Windows 版本上启用 PowerShell 远程处理,并在远程处理被禁用时重新启用远程处理。在接收命令的每台服务器上仅运行此命令一次。
*组策略可以覆盖这一点。

此外,来自 Microsoft 文章:“默认情况下,所有用户都可以使用远程 PowerShell 功能。即便如此,用户也必须是 AD 中管理角色的成员。”
*它已被组策略禁用或限制。

如果您有一台正常工作的 Exchange 服务器和一台有问题的服务器,请使用 PowerShell 中的“systeminfo”命令比较修补程序级别。


1.在 IIS 管理器中检查是否为“默认网站”和“Exchange 后端”分配了正确或有效的 SSL 证书。这两个站点都可以在“Bindings”-> HTTPS下找到。在 Powershell 网站的“Exchange Back End”下的“SSL settings”中删除“SSL required”的复选标记。这将忽略 SSL 证书,并测试 Powershell 连接是否正常工作。 2.使用管理员权限在 Powershell 中运行命令并共享结果:
 
IISRESET
winrm quickconfig

3.卸载 Windows 更新KB3134758 - 4.检查并安装 Windows 功能“Windows PowerShell 2.0 引擎”— 5.使用以下命令测试 PowerShell 连接。
 
new-pssession -Authentication "kerberos" -ConfigurationName "Microsoft.Exchange" -Credential "domain\avamarbackupuser"  -ConnectionURI http://ex21.example.com/PowerShell
如需帮助,请参阅以下链接。
应联系 Microsoft 支持人员,以便排除故障、重新配置或重新安装必要的组件。

Additional Information

对于使用 Avamar Exchange DAG 客户端的联合备份,数据集中的“AvamarBackupUser”凭据字段可以留空。只有在以下情况下,才必须在数据集中指定这些凭据:
 
  1. 尚未为客户端上的“Backup Agent”服务帐户创建或配置“AvamarBackupUser”帐户。
  2. 使用 Exchange DAG 客户端名称的联合备份

必须使用“AvamarBackupUser”配置工具或遵循《Avamar Exchange Client 指南》创建“AvamarBackupUser”帐户。
 

Affected Products

Avamar, Avamar Plug-in for Exchange VSS
Article Properties
Article Number: 000051325
Article Type: Solution
Last Modified: 25 Sept 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.