當您將信箱伺服器新增至現有的 DAG 時發生錯誤:WinRM 用戶端無法在指定的時間內完成作業

原始 KB 編號: 2294243

徵狀

當您嘗試將新的 Microsoft Exchange Server 2010 信箱伺服器新增至現有的資料庫可用性群組 (DAG) 時,此作業會在嘗試安裝故障轉移叢集元件時逾時。 此外,您會收到下列狀態消息:

此工作正在伺服器 <SERVERNAME> 上安裝 Windows 故障轉移叢集元件。

發生逾時時時,您會收到下列錯誤訊息:

Processing data for a remote command 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.

+ CategoryInfo : OperationStopped: (System.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRemotingTransportException

+ FullyQualifiedErrorId : JobFailure

不過,故障轉移叢集元件的安裝會繼續,並在幾分鐘后成功。 如果您再次執行工作 Add-DatabaseAvailabilityGroupServer ,工作會順利完成。

原因

當工作 Add-DatabaseAvailabilityGroupServer 執行時,Exchange 會檢查目標伺服器是否已安裝故障轉移叢集元件。 如果未安裝故障轉移叢集元件,Exchange 會開始安裝此元件。 在此程式期間,也會安裝 Microsoft 故障轉移叢集虛擬驅動程式 (netft.sys) 。

如果 Symantec Endpoint Protection 正在這部電腦上執行,也會安裝名為 Teefer2 Miniport (teefer2.sys) 的驅動程式。 安裝此第三方驅動程式會導致網路連線中斷幾分鐘。 此中斷會導致因特網資訊服務中 PowerShell.exe 與 PowerShell 應用程式集區之間的連線中斷。 當 PowerShell 應用程式集區完成故障轉移叢集安裝時,無法通知 PowerShell.exe 安裝成功。 最後,PowerShell.exe 達到 WinRM 逾時值並失敗。

解決方案

若要解決此問題,請先使用下列其中一種方法,再將伺服器新增至 DAG:

  • 手動安裝故障轉移叢集元件。
  • 要求第三方廠商協助移除並重新安裝 Symantec Endpoint Protection。

協力廠商資訊免責聲明

本文提及的協力廠商產品是由與 Microsoft 無關的獨立廠商所製造。 Microsoft 不以默示或其他方式,提供與這些產品的效能或可靠性有關的擔保。