Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-5814

Provide documentation on configuring Moxi and Couchbase clients behind an ELB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 3.0
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            akurtzman Amy Kurtzman (Inactive)
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty