從範本複製的 IaaS 節點 (已安裝 MS DTC) 包含 MS DTC 的重複識別碼,這樣會阻止節點之間的通訊。

問題

IaaS Manager Service 失敗,並且在 Manager Service 記錄中顯示以下錯誤。

Communication with the underlying transaction manager has failed. ---> System.Runtime.InteropServices.COMException: The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the two machines cannot find each other by their NetBIOS names, or the support for network transactions is not enabled for one of the two transaction managers.

當您複製已安裝 MS DTC 的 IaaS 節點時,兩個複製品會對 MS DTC 使用相同的唯一識別碼。節點之間的通訊失敗。

程序

  1. 開啟管理員命令提示字元。
  2. 執行下列命令:msdtc -uninstall
  3. 將虛擬機器重新開機。
  4. 開啟獨立的命令提示字元並執行下列命令:msdtc -install <manager-service-host>