Client side configuration when connecting to broker in HA setup

rdesoju
rdesoju Member Posts: 66

Hi,
Is there any additional configuration that we need to use besides configuring below in the Producer/Consumer code in order to make sure it fails over to other when one fails or releases activity to other.
properties.setProperty(JCSMPProperties.HOST, "HOST1,HOST2");

Thanks,
Raghu

Tagged:

Best Answer

Answers

  • Abhikesh
    Abhikesh Member Posts: 34 ✭✭

    @rdesoju That's specific to environment, In Some case people use DNS Name instead of IP and Data IP of Both Solace appliance point to one single name (Host) Also whenever fail-over occurred you don't need to change anything on Consumer/Publisher side.
    Solace use feature of VRRP for internal fail-over.

  • rdesoju
    rdesoju Member Posts: 66

    Thank you @marc for the detailed information. Yes, it is definitely helpful.
    Regards,
    Raghu