Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
Morpheus
-
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
- is triggered by
-
MB-60349 Dynamically adding/removing service, without need for new node in cluster
-
- Resolved
-
- relates to
-
MB-62693 [UI] Dynamically adding/removing service, without need for new node in cluster
-
- Open
-
-
MB-62694 [CLI] Dynamically adding/removing service, without need for new node in cluster
-
- Open
-
- links to