How to configure multiple connections to a couchbase cluster? #340

Closed
pietervogelaar opened this Issue Feb 12, 2017 · 6 comments

Projects

None yet

2 participants

@pietervogelaar

Do I have to use moxi or is it also possible to configure in msm?

What is recommended?

@pietervogelaar

Any update on this?

@magro
Owner
magro commented Feb 16, 2017

One question would be what you're going to achieve. Failover, Loadbalancing? AFAIK/IIRC the couchbase client already provides failover, but I could be wrong so you should check the current state and exact properties of the client.

@pietervogelaar

To achieve failover when one couchbase server goes down. Can I specify multiple nodes in the memcachedNodes property? Or does the :8091/pools already exposes all the cluster nodes?

@pietervogelaar

Ah I found an example here #291. The property can take multiple hosts I see.

@magro
Owner
magro commented Feb 18, 2017

Correct, great that you found it! :-)
So can we close this issue?

@pietervogelaar

Yes this issue can be closed, thanks!

@magro magro closed this Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment