DataStax OpsCenter Documentation

Installing OpsCenter from CentOS, OEL, and RHEL packages

DataStax provides yum repositories for CentOS, Oracle Enterprise Linux (OEL), and RedHat Enterprise Linux (RHEL) distributions. For a complete list of supported platforms, see OpsCenter – Supported Platforms. There are different package repositories for the Community and Enterprise versions of OpsCenter.

The CentOS, OEL, and RHEL OpsCenter packaged releases create an opscenter user. OpsCenter runs as a service and runs as this user. The service initialization script is located in /etc/init.d. If the OpsCenter machine reboots, OpsCenter restarts automatically.


By downloading OpsCenter from DataStax you agree to the terms of the DataStax Enterprise EULA or the DataStax Community EULA (End User License Agreements) posted on the DataStax website.


Before installing OpsCenter make sure you have met the following prerequisites:

  • OpsCenter hardware requirements: computer with 2 cores and 2 GB RAM.
  • Your Cassandra or DataStax Enterprise cluster is up and running.
  • IP address or hostname of the machine where you are installing OpsCenter.
  • IP address or hostnames of two or three of your nodes.
  • Port number used by JMX (default is 7199).
  • YUM package management utility.
  • Root or sudo access on the machine where you are installing OpsCenter.
  • Oracle Java SE Runtime Environment (JRE) 6 - Install the JRE. Versions earlier than 1.6.0_19 should not be used. Java 7 is not recommended.
  • Python 2.6+
  • The correct version of OpenSSL for your operating system.

To check for the software versions:

$ java -version
$ python -V
$ openssl version

Installing the OpsCenter package

To install OpsCenter on CentOS, Oracle Linux, or RHEL:

  1. (CentOS 5.x/RHEL 5.x only) Make sure you have EPEL (Extra Packages for Enterprise Linux) installed. EPEL contains dependent packages, such as Python 2.6+, required by OpsCenter. To install for both 32- and 64-bit systems:

    # rpm -Uvh
  2. Open the yum repository specification /etc/yum.repos.d for editing. For example:

    # vi /etc/yum.repos.d/datastax.repo
  3. In this file, add the repository for the edition you are installing. OpsCenter Enterprise Edition installations require the DataStax <username> and <password> you received in your registration confirmation email.

    • OpsCenter Community (free) Edition:

      name= DataStax Repository
    • OpsCenter Enterprise (paid) Edition:

      name= DataStax Repository
  4. Install the OpsCenter package using yum:

    • OpsCenter Community (free) Edition:

      # yum install opscenter-free
    • OpsCenter Enterprise (paid) Edition:

      # yum install opscenter
  5. Set the [webserver] interface to the hostname or IP address of the OpsCenter machine in the /etc/opscenter/opscenterd.conf file. For example:

    port = 8888
    interface =
  6. Start the OpsCenter:

    sudo service opscenterd start
  7. Install the agents:

  8. To start using OpsCenter, open a browser window and go to the OpsCenter URL at http://<opscenter_host>:8888 where <opscenter_host> is the IP or hostname of the OpsCenter machine.