Creating an OpsCenter container

Install OpsCenter using a DataStax provided image.

Create a DSE OpsCenter container and a connected DSE server container on the same Docker host. For a list of the most commonly used options, see Docker run options.

Note: DSE 6.8 requires OpsCenter 6.8.

See the docker run command reference for a full list of options to run a command in a new container.

Setting the DS_LICENSE environment variable signals your acceptance of the DataStax terms of service and is required for the software to start.

Procedure

  1. Create an OpsCenter container.
    docker run \
    -e DS_LICENSE=accept \
    -p 8888:8888 \
    --name my-opscenter \
    -d datastax/dse-opscenter
  2. Create a DSE server container that is linked to the OpsCenter container.
    docker run \
    -e DS_LICENSE=accept \
    --link my-opscenter:opscenter \
    --name my-dse \
    -d datastax/dse-server
  3. Get the DSE container IP address.
    docker exec -it my-dse nodetool status 
  4. Open a browser and navigate to http://dse_container_ip:8888, where dse_container_ip is the IP address of the OpsCenter container.
    1. Click Manage existing cluster.
    2. Enter the DSE container IP address in the host name field.
    3. Click Install agents manually. The agent is already installed on the DSE image, so no installation is required.

Results

OpsCenter is ready to use with DSE.

What's next

See the DSE OpsCenter User Guide for detailed usage and configuration instructions.