Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-12351

Add documentation for Rebalance::topology new param for dynamically update services

    XMLWordPrintable

Details

    • 0

    Description

      Ref: MB-60349

      From Morpheus,
      The rebalance API "/controller/rebalance" now has a new parameter to specify a desired service topology for all services except kv (Data Service):
      topology[<service>] = <list of nodes>
      Example: -d topology[<service>]=otp_node1,otp_node2

      <service> here is a name of the service – fts, index, n1ql, backup, cbas – kv is not supported
      <list of nodes> list of nodes the service should reside in after the rebalance completion

      fts: Search
      index: GSI index
      n1ql: Query
      backup: Backup Service
      cbas: Analytics

      Example:

      curl -u Administrator:password -X POST 172.23.108.69:8091/controller/rebalance \
      -d "knownNodes=ns_1@172.23.108.69,ns_1@172.23.108.70,ns_1@172.23.108.71"  \
      -d "topology[index]=ns_1@172.23.108.70,ns_1@172.23.108.71"  \
      -d "topology[n1ql]=ns_1@172.23.108.69"
      

      See comments for additional examples.

      CC Artem Stemkovski 
      Same applies for the changes in UI (MB-62693) and couchbase-cli (MB-62694)

      Attachments

        Issue Links

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

          Activity

            People

              gary.gray Gary Gray
              ashwin.govindarajulu Ashwin Govindarajulu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty