從已安裝 DTC 的範本複製的 IaaS 伺服器包含 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.

當您複製已安裝 DTC 的 IaaS 伺服器時,複本會包含與父系相同的 DTC 唯一識別碼。兩台機器之間的通訊會失敗。

程序

  1. 在複本上以管理員身分開啟命令提示字元。
  2. 執行下列命令。

    msdtc -uninstall

  3. 重新啟動複本。
  4. 開啟另一個命令提示字元,並執行下列命令。

    msdtc -install manager-service-host-FQDN