Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
1.8.1, 2.0, 2.0.1, 2.1.1, 2.2.0, 2.5.0
-
None
-
Security Level: Public
-
PCI Team - Sprint 6
Description
Not necessarily just for Moxi, not necessarily just for the SDK's (the recommendations are the same either way), a recent customer request for instructions on how to configure an ELB to work with Couchbase.
Question:
I've searched the manual for 1.8 and 2.0, and googled quite a bit, but, I still have not been able to find help setting up moxi proxy such that the couchbase instances are behind an ELB, and the ELB hostname is what I put in the moxi-cluster.cfg.
Where I need help is setting up the ELB...
1. What do I use for the health check for 1.8? for 2.0?
2. What ports do I map? http:8091 -> http:8091
From support:
You will want to have the ELB use the 8091 port for the cluster, this will allow the Moxi clients to balance the REST connections between the nodes, but the connections for reads and updates from the Moxis will still go directly to the correct node.
For the health check, you will want to use :8091/pools/default/buckets/<bucket name>/stats
replacing <bucket name> with your bucket name as the HTTP URL to test.
This url will return a 200 OK with the number of items if the node is working, and an error if it is not.
Other than that, the default settings should be good.