• Glossary
  • Support
  • Downloads
  • DataStax Home
Get Live Help
Expand All
Collapse All

DataStax Project Mission Control

    • Overview
      • Release notes
      • FAQs
      • Getting support
    • Installing DataStax Mission Control
      • Planning your install
      • Server-based Runtime Installer
        • Services setup with DataStax Mission Control Runtime Installer
      • Bring your own Kubernetes
        • Installing Control Plane
        • Installing Data Plane
    • Migrating
      • Migrating DSE Cluster to DataStax Mission Control
    • Managing
      • Managing DSE clusters
        • Configuring DSE
          • Authentication
          • Authorization
          • Securing DSE
          • DSE Unified Authorization
        • Cluster lifecycle
          • Creating a cluster
          • Creating a single-token cluster
          • Creating a multi-token cluster
          • Terminating a DSE cluster
          • Upgrading a DSE cluster
        • Datacenter lifecycle
          • Adding a DSE datacenter
          • Terminating a DSE datacenter
        • Node lifecycle
          • Adding DSE nodes
          • Terminating DSE nodes
          • Using per-node configurations
      • Managing DataStax Mission Control infrastructure
        • Adding a node to DataStax Mission Control clusters
        • Terminating a node from DataStax Mission Control clusters
        • Storage classes defined
      • Managing DataStax Mission Control resources
        • Accessing Admin Console
        • Configuring DataStax Mission Control
        • Generating a support bundle
    • Operating on DSE Clusters
      • Cleanup
      • Rebuilding
      • Replacing a node
      • Rolling restart
      • Upgrading SSTables
    • Reference
      • DSECluster manifest
      • CassandraTask manifest
  • DataStax Project Mission Control
  • Installing DataStax Mission Control
  • Server-based Runtime Installer
  • Services setup with DataStax Mission Control Runtime Installer

Services Setup with DataStax Mission Control Runtime Installer

DataStax Mission Control is current in Private Preview. It is subject to the beta agreement executed between you and DataStax. DataStax Mission Control is not intended for production use, has not been certified for production workloads, and might contain bugs and other functional issues. There is no guarantee that DataStax Mission Control will ever become generally available. DataStax Mission Control is provided on an “AS IS” basis, without warranty or indemnity of any kind.

If you are interested in trying out DataStax Mission Control please contact your DataStax account team.

DataStax Mission Control must be installed on dedicated Virtual Machines (VM) or a bare-metal servers that are running in Control Plane mode. These servers can be cloud-based or on-premises.

Use DataStax Mission Control Runtime Installer to first create and configure Kubernetes where you are installing DataStax Mission Control. With the prerequisite infrastructure and services in place, install DataStax Mission Control and its components.

Cluster structure

The cluster created by DataStax Mission Control Runtime Installer is composed of one or more Control Plane nodes and several worker nodes.

When performing migrations from OpsCenter, the Control Plane servers replace the servers running OpsCenter and its metrics cluster, and worker nodes are to be installed on each node running DSE. The following diagram shows how the original servers from the DSE cluster running OpsCenter overlay (map) onto the DataStax Mission Control topology.

OpsCenter and DSE to DataStax Mission Control Platform

This diagram illustrates an existing server running Opscenter along with a single datacenter (dc) DSE deployment. The DataStax Mission Control Runtime Installer creates and configures a Kubernetes cluster on the DSE and OpsCenter hosts. The resulting Control Plane runs a mixture of operator and DSE resources, making it necessary to map specific DSE instances to certain worker nodes. When the migration is complete, Kubernetes is running on all hosts with DSE nodes. These hosts run on the same hardware prior to and following migration. The data is maintained by the hosts with migration to the container-based processes happening in-place. DataStax Mission Control manages all aspects of the migration with its advanced automation.

Prerequisites

  • The kubectl CLI tool, v1.22 or later.

  • Dedicated server hardware or VMs that will be run in Control Plane mode.

  • A downloaded DataStax Mission Control license file. Check your Welcome email or contact your account team.

Procedure

This procedure details three distinct steps.

  1. Installing the Control Plane instance.

  2. Installing the Worker runtimes on every DSE node.

  3. Installing DataStax Mission Control on the runtime.

  4. Migrating from the existing installation type to nodes scheduled by the Worker runtime.

Install Control Plane on a DSE server

  1. Run the following command on the DSE server that is currently running OpsCenter:

    curl -sSL https://kurl.sh/mission-control-private-preview | sudo bash

    This installs (but does not deploy), an online Private Preview copy of DataStax Mission Control. The command returns a URL and a password that you use to access the KOTS installation interface. This dashboard manages the DataStax Mission Control installation.

    *Sample output:

    Private Preview for Runtime Installer

    The output also issues a command line to run on all of the DSE worker nodes.

    Kots URL in CLI output
  2. Copy the kubeconfig file to your $HOME/.kube/config directory. This simplifies running kubectl commands:

    mkdir -p $HOME/.kube
    sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
    sudo chmod 755 -R /home/ubuntu/.kube
  3. Run the following command to verify that the kubectl command works and that the Control Plane is in Ready state:

    $ kubectl get nodes
    NAME               STATUS   ROLES                  AGE   VERSION
    ip-172-31-28-116   Ready    control-plane,master   13m   v1.24.8
  4. Run the following command on the Control Plane server:

    curl -L https://k8s.kurl.sh/latest/tasks.sh | sudo bash -s taint_primaries

    This taints the Control Plane to prevent any DSE nodes from accidentally scheduling on this hardware.

Install prerequisite packages on all DSE worker nodes

  1. Copy the command line issued from the Install Control Plane on a DSE server output.

    Example with variables:

    curl -fsSL https://kurl.sh/version/<version-number>/<version-label>/join.sh | sudo bash -s kubernetes-master-address=<IP-address>:<port> kubeadm-token=<token-number> kubeadm-token-ca-hash=<token-ca-hash-number> kubernetes-version=1.24.9 docker-registry-ip=<IP-address> primary-host=<IP-address>
  2. Append the following to that copied command on any worker node that runs DataStax Mission Control Control Plane components:

    labels=mission-control.datastax.com/mc-control-plane=true
  3. Run the appropriate version of the command on all DSE worker nodes.

    This installs the required packages, starts the processes, and joins the nodes to the DataStax Mission Control cluster running in Control Plane mode.

    Run the copied version of the command without the appended labels= parameter on all DSE nodes.

    The command can run concurrently on all the worker nodes without risking any conflict.

    Each node should display the following message upon successful completion:

    Kots URL to install K8s on DSE nodes
  4. From the Control Plane server, run the following command to check if all the worker nodes have joined:

    $ kubectl get nodes
    NAME             STATUS ROLES                AGE     VERSION
    ip-172-31-2-195  Ready  <none>               8m14s   v1.24.8
    ip-172-31-28-116 Ready  control-plane,master 30m     v1.24.8
    ip-172-31-31-212 Ready  <none>               8m53s   v1.24.8
    ip-172-31-37-223 Ready  <none>               8m55s   v1.24.8

    All of the worker nodes should appear in the output and eventually reach the Ready state. Contact your account team if any nodes fail to reach the Ready state.

Proceed to the installation of DataStax Mission Control.

Install DataStax Mission Control on the Control Plane nodes

  1. Open a browser and go to the KOTS URL provided by the Control Plane installation output. The following screen should appear:

    DataStax Mission Control Runtime installer
  2. Follow the instructions on the screen, and then click Continue to Setup. On the next screen, click Advanced, and then click Proceed to work toward accessing the Admin Console UI.

  3. The next screen allows you to upload a certificate for https and avoid going through the warning screens. It is not mandatory to do so and you can click Skip and Continue to proceed with the DataStax Mission Control deployment.

  4. A Log-in screen appears. Enter the password provided in the Control Plane installation output.

  5. On the next screen, upload your downloaded customer license file.

    License file upload prompt

    An ensuing window tracks the installation progress.

  6. On the next screen, leave the Control Plane box checked when installing in a single datacenter cluster or when installing the first datacenter. Click Continue.

    Initial configuration options
  7. Kubernetes packages are installed on every DSE worker node. When this task completes, a screen appears with a green badge indicating the Currently deployed version:

    Version badge when installing on DSE nodes
  8. Access the Control Plane node and run the following command:

    kubectl get pods -n mission-control

    Sample output:

    NAME                                            READY STATUS  RESTARTS AGE
    XXX-operator-controller-manager-74b9654d87-55k8t 1/1  Running 0        2m28s
    XXX-operator-65c8f6d9c8-hc7ss                    1/1  Running 0        2m28s
    XXX-manager-59dc98998d-gs25p                     1/1  Running 0        2m28s

    All deployed DataStax Mission Control pods are displayed. This sample output indicates that three (3) pods are in a Running state. These pods contain the DataStax Mission Control operators.

What’s Next?

DataStax Mission Control is now ready to use for DSE cluster installation or migration. See Adding a DSE cluster .

Server-based Runtime Installer Bring your own Kubernetes

General Inquiries: +1 (650) 389-6000 info@datastax.com

© DataStax | Privacy policy | Terms of use

DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.

Kubernetes is the registered trademark of the Linux Foundation.

landing_page landingpage