This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Preface

This page discusses cluster- and clustering-related questions. Please make sure to read the Clustering HowTo page in the main Tomcat documentation bundle as well.

Questions

  1. Can I configure a cluster at the Engine level?
  2. Show me a simple cluster configuration example.
  3. How do I turn on transport logging?
  4. How do I use JMX to monitor the cluster?
  5. Can I pause the message sending?
  6. Can I add more senders (pooled mode)?
  7. What happens when I pull the network cable?
  8. On my windows laptop without network my cluster doesn't work.
  9. The cluster doesn't work under Linux with two nodes on two boxes.
  10. I get "localhost" rather than "eth0" or another interface when using tcpListenAddress="auto".

Answers

Anchor
Q1
Q1
Can I configure a cluster at the Engine level?

...

  • Is your network interface enabled for multicast? ifconfig eth0 MULTICAST
  • Exists a multicast route to your network interface? route add -host 228.0.0.4 dev eth0
  • Is your firewall active? Then check that multicast port is on your UDP open list and the receiver TCP port is also for both machines open!

Anchor
Q10
Q10
I get "localhost" rather than "eth0" or another interface when using tcpListenAddress="auto".

Change /etc/hosts so that the localhost domain resolves to the actual IP address of the NIC, eth0. Please see Bugzilla for more.

CategoryFAQ