mosquitto bridge address use VIP doesn't work

41 views
Skip to first unread message

yanc...@gmail.com

unread,
Nov 15, 2018, 10:40:26 PM11/15/18
to MQTT
Hi,
   I use mosquitto as as my broker.  I config the bridge to make multi brokers can work together.
you know ,in the bridges , we could set multiple addresses. if the first is down ,the second one can be used as bridge.
I have several nodes  connect the bridge ,so for me ,there is a problem,.
if Connection A connects the first address ,and the Connection B connect B connects the second address ,the  cluster can not work.
because of this ,I use lvs set a VIP bind the two address and the Connection A and Connection B connect the VIP.
However it does not work. It print "Error creating bridge:Connection refused".
I can visit the two address through the VIP. 

   this is my configuration.



                                                                                                                         Yours sincerely,
                                                                                                                            YAN

yanc...@gmail.com

unread,
Nov 16, 2018, 5:01:45 AM11/16/18
to MQTT
I try it again and it has worked.
maybe have something wrong in the keepalived config.


Reply all
Reply to author
Forward
0 new messages