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

  1. Log in to the watsonx.data console.

  2. From the navigation menu, select Infrastructure Manager.

  3. To define and connect to a service, click Add component.

  4. From the Services category, select IBM DataStax and click Next. The Add component - IBM DataStax page displays.

  5. Specify a Name for the DataStax service.

  6. Select an option for Storage class.

  7. Specify the Storage size.

  8. 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
  9. Specify the Rack name to represent a logical grouping of nodes or pods.

  10. Specify the Node affinity name and Node affinity value to define the Kubernetes node labels of the rack configuration.

  11. Define the number of nodes that are allocated per rack.

  12. Click Create.

  13. 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.com
    

    Example 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
    
  14. List all pods to verify the status of DataStax service. Run the following command:

    oc get pod -n $PROJECT_CPD_INST_OPERANDS | grep datastax
    

    Example 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