如何设置具有不同IP段的融合数据中心集群?

时间:2020-01-30 23:53:18

标签: jira confluence

我有两个不同的IP段服务器:

区域1:

  • 10.2.100.1
  • 10.2.100.2

区域2:

  • 10.2.200.1
  • 10.2.200.2

它们用于4台服务器。

我想使用融合数据中心产品将它们整合到一个集群中。所以我在每台服务器上设置了这些项目:

    <property name="confluence.cluster">true</property>
    <property name="confluence.cluster.home">/home/confluence/sharedhome</property>
    <property name="confluence.cluster.interface">bond0</property>
    <property name="confluence.cluster.join.type">tcp_ip</property>
    <property name="confluence.cluster.name">confluence</property>
    <property name="confluence.cluster.peers">10.2.100.1,10.2.100.2,10.2.200.1,10.2.200.2</property>

但是我只能在区域1的融合IP仪表板中看到两台服务器,其IP为10.2.100。如果我切换到区域2服务器群集,则可以看到两个IP地址为10.2.200的节点。

他们没有在一起。

作为官方指南,如果使用multicast IP可能会导致其他结果:

https://confluence.atlassian.com/doc/change-node-discovery-from-multicast-to-tcp-ip-or-aws-792297728.html

但是在这种情况下如何设置多播IP?

顺便说一句,在node3和node4加入群集之后,我在node1上收到了此错误:

[Origin node: d62bd1bf listening on /10.2.100.1:5801] Clustered Confluence: Database is being updated by an instance which is not part of the current cluster. You should check network connections between cluster nodes, especially multicast traffic. 

1 个答案:

答案 0 :(得分:1)

我们避免使用多播,而是在每个主机的配置文件中对主机名进行硬编码。我们的网络人员并不热衷于启用多播