Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.1, 2.0, 2.0.1
-
Fix Version/s: 2.0.2
-
Component/s: documentation
-
Security Level: Public
-
Labels:
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.
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.
Activity
Peter Wansch
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | MC Brown [ mccouch ] |
Farshid Ghods
made changes -
| Fix Version/s | 2.0 [ 10114 ] |
Farshid Ghods
made changes -
| Fix Version/s | 2.0.1 [ 10399 ] | |
| Fix Version/s | 2.0 [ 10114 ] |
Farshid Ghods
made changes -
| Component/s | moxi [ 10020 ] |
Mike Wiederhold
made changes -
| Component/s | moxi [ 10020 ] |
MC Brown
made changes -
| Assignee | MC Brown [ mccouch ] | Karen Zeller [ kzeller ] |
MC Brown
made changes -
| Planned End | (re-schedule end date based on new assignee) |
Karen Zeller
made changes -
| Assignee | Karen Zeller [ kzeller ] | Jin Lim [ jin ] |
Karen Zeller
made changes -
| Planned End | (re-schedule end date based on new assignee) |
Jin Lim
made changes -
| Assignee | Jin Lim [ jin ] | Steve Yen [ steve ] |
Jin Lim
made changes -
| Planned End | (re-schedule end date based on new assignee) |
Steve Yen
made changes -
| Rank | Ranked lower |
Karen Zeller
made changes -
| Labels | customer | customer info-request |
| Assignee | Steve Yen [ steve ] | Ronnie Sun [ ronnie ] |
Anil Kumar
made changes -
| Fix Version/s | 2.0.2 [ 10418 ] | |
| Fix Version/s | 2.0.1 [ 10399 ] | |
| Affects Version/s | 2.0.1 [ 10399 ] | |
| Affects Version/s | 2.0 [ 10114 ] |
Anil Kumar
made changes -
| Sprint | PCI Team - Sprint 5 [ 9 ] |
Anil Kumar
made changes -
| Rank | Ranked higher |
Anil Kumar
made changes -
| Rank | Ranked higher |
Ronnie Sun
made changes -
| Sprint | PCI Team - Sprint 5 [ 9 ] |
Pavel Paulau
made changes -
| Sprint | PCI Team - Sprint 6 [ 11 ] |
Karen Zeller
made changes -
| Assignee | Ronnie Sun [ ronnie ] | Frank Weigel [ frank ] |
Perry Krug
made changes -
| Assignee | Frank Weigel [ frank ] | Karen Zeller [ kzeller ] |
Can you get this to Steve or the appropriate engineer to provide this information, then assign back to me to add to doc as instructions?
Thanks!