You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/rest-api/pages/rest-set-up-services-existing-nodes.adoc
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
= Assigning Services on an Existing Node
1
+
= Assigning Services to an Existing Node
2
2
3
3
:description: pass:q[Use the REST API to assign or remove services on an existing node in a cluster, and rebalance the cluster.]
4
4
:page-topic-type: reference
@@ -56,11 +56,11 @@ Where,
56
56
57
57
** `<list of nodes>` indicate the nodes on which the `<service>` must reside in after the rebalance operation is complete.
58
58
The node names are separated by commas.
59
-
+
60
-
If a `<service>` is running on any node in the cluster that's not in this list, Couchbase Server removes that `<service>` during the rebalance operation.
61
-
For more information, see xref:rest-api:rest-cluster-rebalance.adoc[Rebalancing the Cluster].
62
59
63
-
** For example, `-d topology[<service>]=otp_node1,otp_node2`.
60
+
** For example, `-d topology[<service>]="otp_node1,otp_node2"`.
61
+
62
+
** To remove or exclude one of the above listed services from the cluster, do not list any nodes for that service.
63
+
For example, `-d topology[<service>]=""`.
64
64
65
65
NOTE: The rebalance occurs even if no `<service>` is changed.
66
66
@@ -121,8 +121,9 @@ You could reconfigure the services on the existing nodes to match the following:
121
121
* 172.23.108.72 – Search, Query
122
122
* 172.23.108.73 – Analytics
123
123
124
-
Because the Backup service is not in the topology list, it will be removed from the cluster.
125
-
After the topology change and rebalance, two nodes (172.23.108.71 and 172.23.108.72) that previously had no services using the index disk storage path will now have services using it.
124
+
After the topology change and rebalance, 2 nodes (172.23.108.71 and 172.23.108.72) that did not have any services using the index disk storage path will now have services using it.
125
+
126
+
Also, using the following command, you remove the Backup Service from the cluster by not listing any nodes in `-d topology[backup]=`.
126
127
127
128
To reconfigure the 5 nodes to the new topology, run the following command:
0 commit comments