Manage Server Groups

Manage Server Groups

You can create logical groupings of servers on a cluster where each server group physically belongs to a rack or availability zone.

This section describes how to manage server groups through the Couchbase Web Console. Server and server groups can also be managed through the Couchbase command-line interface (CLI) and REST API.

Note: By default, when a Couchbase cluster is initialized, Group 1 is created.

Adding a Server Group

To add a new group using the Web Console:

  1. From the Couchbase Web Console > Servers > click Groups located on the top right side.
  2. Click Add Group to add a new group.
  3. Enter the group name in the Group Name field and click Create.

Once the information is entered successfully, a new group is added in the Server Groups page.

Editing a Server Group

To edit a server group name using the Web Console:

  1. From the Couchbase Web Console > Servers > Groups page, select the group that you want to edit.
  2. Click edit name to change the group name.
  3. In the Edit Group window, click Rename.

    The selected group name is updated.

Deleting a Server Group

Server groups are deleted by removing all nodes from the server group and then deleting the server group.

To delete a server group using the Web Console:

  1. From the Couchbase Web Console > Servers > Groups page, select the group that you want to delete.
  2. Click delete group to delete the group.
  3. In the Confirm Delete Group window, click Delete Group.

    The selected group is deleted.

Moving Servers Between Server Groups

Servers can be moved between server groups from the Server Groups page.

To move a server from one group to another using the Web Console:

  1. From the Couchbase Web Console > Servers > Groups page, select the server that you want to move to another group.
  2. Select move to pull-down menu to select the new group name. Once you select the new group, the pending move to <Group Name> message appears.
  3. Click Apply Changes to confirm the server move.
  4. Make sure to Rebalance from the Servers page. For more information on how to rebalance, see Rebalancing a Cluster.