Avamar:Exchange VSS 附掛程式 - DAG 備份因 PowerShell 錯誤而失敗

Summary: 知識庫 (KB),提供因 PowerShell 錯誤所導致之 Exchange DAG 備份失敗的因應措施。

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 資訊服務 (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. 再次執行 Exchange DAG 測試備份 (在資料集輸入「AvamarBackupUser」登入資料),並建立名為「ps_exec.log」的新記錄檔。  此記錄有助於識別「AvamarBackupUser」帳戶可能需要的任何其他安全性權限。

以「AvamarBackupUser」帳戶登入每個 Exchange 用戶端,開啟 Exchange 命令程式,並使用下列命令確認 Powershell 功能:
 
get-mailboxdatabase

或者,請重新設定 Avamar 叢集代理程式服務 (同盟 Exchange DAG),如下所示:

1.啟動容錯移轉叢集管理員工具。
2.停止「適用於 DAG_NAME> 的 DELL Avamar 備份叢集用戶端<」。
3.開啟「服務」,並找到 「適用於 <DAG_NAME> 的 DELL Avamar 備份代理程式」。
4.如果此服務已啟動,請將其停止。
5.在「內容」下,選取 「登入」 標籤。在此標籤中選取「此帳戶」選項並輸入「AvamarBackupUser」 帳戶的登入資料
6.選取 套用 確定
7.在每個 DAG 節點上重複步驟 3 - 6。
8.開啟容錯移轉叢集管理員並啟動「適用於 <DAG_NAME> 的 DELL Avamar 備份叢集用戶端」。
 
如此一來,所有 DAG 節點都會使用「Backup Agent」和「Dell Avamar Backup Agent for <dagname> services」的相同「AvamarBackupUser」帳戶啟動。  
 
在 DAG 用戶端的資料集中,將「AvamarBackupUser」認證欄位保留空白,因為上述程序不需要輸入這些認證。如果

上述所有因應措施皆失敗,則 Exchange Management PowerShell 或 IIS 設定錯誤或不完整。應聯絡Microsoft支援,以進行故障診斷、重新設定或重新安裝必要的元件。

額外的故障診斷步驟:

如果無法初始化 PowerShell 並連線至伺服器,則屬於Microsoft設定問題。此問題有多種原因

從Microsoft文件:「PowerShell 遠端處理在 Windows Server 平台上預設為啟用。您可以使用 Enable-PSRemoting 在 *其他支援的 Windows 版本上啟用 PowerShell 遠端處理,並在遠端處理被禁用時重新啟用遠端處理。在接收命令的每個伺服器上僅運行一次此命令。
*組策略可以覆蓋此設置。

另外,來自Microsoft文章:「預設情況下,所有使用者都可以使用遠端 PowerShell 功能。即便如此,用戶必須是AD中管理角色的成員。
*它已被禁用或受組策略限制。

如果您有工作中的 Exchange 伺服器和有問題的伺服器,請使用 PowerShell 中的「systeminfo」命令來比較修補程式級別。


1.在 IIS 管理器中檢查是否為「預設網站」和「Exchange 後端」分配了正確或有效的 SSL 證書。這兩個網站都可以在「綁定」下找到 -> HTTPS。在 Powershell 網站的「Exchange 後端」下,從「SSL 設定」的「需要 SSL」中移除核取記號。這會忽略 SSL 憑證,並測試 Powershell 連線是否正常運作。 2.使用管理員權限執行「sin 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 用戶端指南來建立「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.