You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ahuhatwork <ah...@protonmail.com.INVALID> on 2020/02/03 20:12:24 UTC
Artemis client failover behind virtual ip?
I've been experimenting with this setup for work.
I have a master/slave HA setup. Let's call them artemis001 and artemis002.
We have a VIP, called artemisvip, that points to artemis001.
I have a client app that connects with the URL
tcp://artemisvip:61616?ha=true
If I take down artemis001, I noticed that the clients cannot failover to
artemis002.
Is this an incorrect strategy for client failover?
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Re: Artemis client failover behind virtual ip?
Posted by brusdev <br...@gmail.com>.
Hi,
Can your client app connect to artemis001 or artemis002 with the same
addresses used by their cluster connections?
If not, a list of servers to be used for the initial connection attempt can
be specified in the connection URI using a syntax with ( ) , e.g.:
(tcp://artemisvip:61616,tcp://artemisvip2:61616)
You can find more details at
https://activemq.apache.org/components/artemis/documentation/latest/clusters.html#configuring-a-client-connection.
Regards,
Domenico
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html