This content has been marked as final.
Show 2 replies
-
1. Re: HA and cluster discovery
clebert.suconic Aug 10, 2010 9:03 PM (in response to paul_navteq)Clustering and HA are different things on HornetQ.
Backup nodes are configured as noted on chapter 39 : http://hornetq.sourceforge.net/docs/hornetq-2.1.1.Final/user-manual/en/html/ha.html
Discovery is used on clustering, not on backup nodes.
-
2. Re: HA and cluster discovery
paul_navteq Aug 11, 2010 10:09 AM (in response to paul_navteq)Solved...
I was missing the attribute "backup-connector-name". So to configure the broadcast group with live/backup pair, the broadcast configuration has to look something like this:
<broadcast-groups><broadcast-group name="bg-group1"><group-address>231.7.7.7</group-address><group-port>9876</group-port><broadcast-period>5000</broadcast-period><connector-ref connector-name="netty" backup-connector-name="backup"/></broadcast-group></broadcast-groups>With that change, the live server broadcast it's backup, and automatic client failover works.
-Paul