C.5 解决主要主服务器上的循环依赖问题

如果有两台或两台以上的服务器,且这些服务器互为彼此的主要主服务器,则会出现循环依赖。

例如,假设管理区域中有两台服务器,服务器 A 和服务器 B。在 ZENworks 控制中心,在管理区域级别将服务器 A 配置为服务器 B 的主要主服务器。在这之后,如果在设备或文件夹级别将服务器 B 配置为服务器 A 的主要主服务器,就会遇到以下循环依赖错误讯息:

Unable to apply the TFTP Replication settings. Remove the circular dependency for the Master Primary Server. For more information, see the Help.

要成功配置 TFTP 复制设置,请确保您在配置 TFTP 复制设置期间选择的主要主服务器上不存在循环依赖。

要想了解 ZENworks 控制中心的不同级别如何发生循环依赖,以及如何解决循环依赖问题,请查看以下几节:

C.5.1 解决管理区域级别的循环依赖问题

假设管理区域有三台服务器,分别是 A、B 和 C。在管理区域级别配置 TFTP 复制设置期间,您将服务器 A 选为其他两台服务器的主要主服务器。此外,您又在设备级别配置服务器 A 的 TFTP 复制设置时将服务器 B 选为主要主服务器。那么,您就会遇到以下循环依赖错误讯息:

Unable to apply the TFTP Replication settings. Remove the circular dependency for the Master Primary Server. For more information, see the Help.

要解决循环依赖问题,请在管理区域级别将服务器 B 加入 TFTP 复制设置的“排除的服务器”列表。这样,服务器 B 上就不会复制服务器 A 的 tftp 目录更改,但服务器 A 上会复制服务器 B 的 tftp 目录更改。

C.5.2 解决文件夹级别的循环依赖问题

假设文件夹 X 中有三台服务器,分别是 A、B 和 C。在文件夹级别配置 TFTP 复制设置期间,您将服务器 A 选为其他两台服务器的主要主服务器。此外,您又在设备级别配置服务器 A 的 TFTP 复制设置时将服务器 C 选为主要主服务器。那么,您就会遇到以下循环依赖错误讯息:

Unable to apply the TFTP Replication settings. Remove the circular dependency for the Master Primary Server. For more information, see the Help.

要解决循环依赖问题,请在文件夹级别将服务器 C 加入 TFTP 复制设置的“排除的服务器”列表。这样,服务器 C 上就不会复制服务器 A 的 tftp 目录更改,但服务器 A 上会复制服务器 C 的 tftp 目录更改。

C.5.3 解决设备级别的循环依赖问题

假设管理区域有三台服务器,分别是 A、B 和 C。在设备级别配置服务器 A 的 TFTP 复制设置期间,您将服务器 B 选为 A 的主要主服务器。在设备级别配置服务器 B 的 TFTP 复制设置期间,您将服务器 A 选为 B 的主要主服务器。那么,您就会遇到以下循环依赖错误讯息:

Unable to apply the TFTP Replication settings. Remove the circular dependency for the Master Primary Server. For more information, see the Help.

要解决服务器 B TFTP 复制设置的循环依赖问题,请不要将服务器 A 选为主要主服务器。