Documentation for Confluence 2.5.4 - 2.5.8.
Documentation for [Confluence Cloud] and the latest Confluence Server is available too.

症状

Below is a list of potential problems with a Confluence cluster, and their likely solutions. The solutions are listed below.

問題

可能性がある解決策

Cluster panic errors at startup

Cluster Troubleshooting, Cluster Troubleshooting

ログのエラー: The interface is not suitable for multicast communication

Cluster Troubleshooting, Cluster Troubleshooting

Multicast being sent, but not received (detectable with tcpdump)

Cluster Troubleshooting, Cluster Troubleshooting, Cluster Troubleshooting

ここに取り上げられていない問題

クラスタのトラブルシューティング

どのマルチキャスト アドレスか

The multicast address and port used by Confluence can be found on the Cluster Administration page, or in confluence.cfg.xml in the Confluence home directory.

デバッグツール

以下は、マルチキャスト トラフィックのステータスの判別に役立つデバッグツールのリストです。

ツール

取得情報

netstat -gn

マルチキャスト グループを一覧表示します。Mac OS X では動作しません。

netstat -rn

システムルーティングテーブルをリストします。

tcpdump -i interface

指定されたインターフェース上のネットワーク トラフィックをキャプチャします。クラスタ トラフィックのみを受信するインターフェースで最も有効です。

マルチキャストルートの追加

Multicast networking requirements vary across operating systems. Some operating systems require little configuration, while some require the multicast address to be explicitly added to a network interface before Confluence can use it.

Usually, adding a route for all multicast traffic to use the correct interface will fix multicast traffic. The example below is for a Ubuntu Linux system:

route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0

To support multiple applications using multicast on different interfaces, you may need to specify a route specific to the Confluence multicast address.

ファイアウォールのチェック

Ensure your firewall allows UDP traffic on the multicast address and port used by Confluence.

マルチキャスト インターフェイスの変更

Confluence might have selected the incorrect interface for multicast traffic, which means it cannot connect to other nodes in the cluster. To override the interface used for multicast traffic after initial setup, edit confluence.cfg.xml in the Confluence home directory and add a property (or change the existing one) to select your desired network interface. For example to tell Confluence to use eth1:

<property name="confluence.cluster.interface">eth1</property>

マルチキャスト TTL を増やす

マルチキャストの存続時間 (TTL) は、マルチキャストパケットがルーターにより破棄される前に到達可能なホップ数を指定します。この値は、クラスター化されたノード間にあるルーター数を設定してください。たとえば、ノードが同一マシン上にある場合は 0、スイッチまたはケーブルで接続された2つの別のマシン上にある場合は 1、 ノードが2つの別のマシン上にあり、マシン間に中間ルーターが 1 台ある場合は 2 とします。

Create a file in the Confluence home directory called tangosol-coherence-override.xml. Add the following to it, setting the TTL value appropriately (1 is the default):

<?xml version='1.0'?>
<coherence>
<cluster-config>
  <multicast-listener>
    <time-to-live system-property='tangosol.coherence.ttl'>1</time-to-live>
  </multicast-listener>
</cluster-config>
</coherence>

Alternatively, simply start Confluence with the system property: -Dtangosol.coherence.ttl=1. Again, 1 is the default value, and you should change it to something appropriate to your network topology.

中間ルータのチェック

高度なスイッチとルータは、マルチキャスト トラフィックを認識し、適切にルーティングすることができます。残念ながら、この機能は Confluence を実行しているオペレーティング システムが発行したマルチキャスト管理情報(IGMP)で正常に動作しないことがあります。

マルチキャスト トラフィックに問題がある場合、クラスタされたノード間のスイッチとルータの高度なマルチキャスト機能を無効化します。これらの機能は特定のオペレーティング システムによってマルチキャスト トラフィックが転送されるのを妨げている可能性があります。

For best results, use the simplest network topology possible for the cluster traffic between the nodes. For two nodes, that means a single network cable. For larger numbers, try using a single high-quality switch.

Advanced Tangosol configuration

If the solution to your problem involves changes to the Tangosol configuration, these changes should not be made to the Confluence configuration in confluence/WEB-INF/classes/. Instead, to ensure your configuration survives upgrades, make your changes via:

  • Tangosol system properties
  • creating a tangosol-coherence-override.xml file in the Confluence home directory.

Examples of making these changes are shown in the increasing the TTL section.

Didn't find a solution? Contact Atlassian support

We have dedicated staff on hand to support your installation of Confluence. Please follow the instructions for raising a support request and mention that you're having trouble setting up your Confluence cluster.