Creating a DataStax service
IBM DataStax is a NoSQL and vector database that is built on Apache Cassandra.
To create a DataStax service in watsonx.data, complete the following steps:
Procedure
-
Log in to the watsonx.data console.
-
From the navigation menu, select Infrastructure Manager.
-
To define and connect to a service, click Add component.
-
From the Services category, select IBM DataStax and click Next. The Add component - IBM DataStax page displays.
-
Specify a Name for the DataStax service.
-
Select an option for Storage class.
-
Specify the Storage size.
-
Select the size of the service based on your data needs:
- Small (per node) - Heap: 8Gi CPU: 8 Memory: 24Gi
- Medium (per node) - Heap: 16Gi CPU: 8 Memory: 60Gi
- Large (per node) - Heap: 31Gi CPU: 16 Memory: 120Gi
-
Specify the Rack name to represent a logical grouping of nodes or pods.
-
Specify the Node affinity name and Node affinity value to define the Kubernetes node labels of the rack configuration.
-
Define the number of nodes that are allocated per rack.
-
Click Create.
-
Wait for the new service to come up and check the health of the service in OpenShift environment. Run the following command:
oc get mccluster,k8ssandracluster,cassandradatacenters.cassandra.datastax.comExample output
NAME AGE missioncontrolcluster.missioncontrol.datastax.com/lakehouse-datastax987 43m NAME ERROR k8ssandracluster.k8ssandra.io/lakehouse-datastax987 None NAME AGE cassandradatacenter.cassandra.datastax.com/test-dc1 42m -
List all pods to verify the status of DataStax service. Run the following command:
oc get pod -n $PROJECT_CPD_INST_OPERANDS | grep datastaxExample output
lakehouse-datastax987-dc1-reaper-58dbc7cc78-7pdmq 1/1 Running 0 38m lakehouse-datastax987-test-dc1-cqlsh-cc6ccb6df-9dn44 1/1 Running 0 38m lakehouse-datastax987-test-dc1-rack1-sts-0 2/2 Running 0 42m