IBM Cloud Docs
Adding DataStax Nodes

Adding DataStax Nodes

IBM Cloud® Databases for DataStax is deprecated and no longer supported as of 30 June 2024. For more information, see the deprecation details.

It is possible to scale your IBM Cloud® Databases for DataStax deployment horizontally by adding more nodes, or members. If your deployment starts to strain or slow down, adding nodes increases capacity and reliability. When a node is added, Databases for DataStax automatically balances the workload across all the nodes in your deployment.

Horizontal scaling can increase only disk and memory allotments. Nodes cannot be scaled down.

Nodes that you add to your deployment are added with the amount of disk, memory, and CPU as the other nodes currently in your deployment. A visual representation of your data members and their resource allocation is available on the Resources tab of your deployment's Manage page. However, horizontal scaling is only available by using the API.

The Scale Resources Pane in Resources
Figure 1. The Scale Resources Pane

A default Databases for DataStax deployment runs with three data members in a cluster, and resources are allocated to all three members equally. For example, the minimum storage of a Databases for DataStax deployment is 20480 MB per member, which equates to an initial size of 61440 MB. The minimum RAM for a Databases for DataStax deployment is 12288 MB per member, which equates to an initial allocation of 36864 MB. The minimum dedicated cores per deployment are 6 per member, for an initial allocation of 18.

The benefits from horizontal scaling are only seen when scaling up in increments equal to the number of zones (or racks). As such, any horizontal upscaling should be done in increments of 3 (or to a multiple of 3), except in single-campus multizone regions.

Billing is based on the total amount of resources that are allocated to the service.

Adding Nodes through the API

The Foundation Endpoint that is shown on the Overview page of your service provides the base URL to access this deployment through the API.

To view the current and scalable resources on a deployment, use the /deployments/{id}/groups

curl -X GET -H "Authorization: Bearer $APIKEY" `https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups'

To add nodes, use the /deployments/{id}/groups/{group_id} API endpoint, sending a PATCH request with the number of nodes you want in your deployment. The example request increases the number of nodes from the default of 3 to 5.

curl -X PATCH 'https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups/member' \
-H 'Authorization: Bearer <>' \
-H 'Content-Type: application/json' \
-d '{"members": {"allocation_count": 5}}' \