2 Replies Latest reply on Aug 11, 2010 10:09 AM by Paul Cowan

    HA and cluster discovery

    Paul Cowan Newbie

      I'm having trouble getting HA to work, and would like some more info regarding live/backup pairs with regard to broadcast groups and cluster discovery.

       

      We have a live/backup pair, configured according to the HA examples.  The live appears to see the backup, because it throws errors if the backup isn't started first, or the backup data is different.

       

      We also have clustering enabled, and the clients and servers are using discovery groups.  (With only 1 live/backup pair in the cluster to start with.)

       

      Discovery works fine for the live server, the clients find and connect and use the live server.

       

      However the backup is never broadcast, and the live server doesn't seem to publish the information about the backup in the cluster discovery messages...

       

      I set a breakpoint in ClientSessionFactoryImpl connectorsChanged(), so I could see the DiscoveryEntry/Pair values being received.  There is never a backup/b server listed in the pair.

       

      So the question is... does the live server know about it's backup, and broadcast that information in the discovery group? 

       

      There's no example that I can find for HA and clustering together.  Could someone maybe post some example configs that use both features at the same time?

       

      Maybe there's something needs to be configured in the discovery-groups or cluster-connections sections in the XML?  I can post my configs files if necessary.

       

      Thanks

      Paul