Installing OpsCenter from the RPM package

Install the DataStax OpsCenter using Yum repositories on RedHat Enterprise Linux (RHEL), CentOS, and Oracle Linux (OL) distributions.

Install the DataStax OpsCenter using Yum repositories on RedHat Enterprise Linux (RHEL), CentOS, and Oracle Linux (OL) distributions.

For a complete list of supported platforms, see DataStax OpsCenter – Supported Platforms.

The CentOS, RHEL, and OL OpsCenter packaged releases create an opscenter user. OpsCenter runs as a service and runs as the opscenter user. The service initialization script is located in /etc/init.d.

If the OpsCenter machine reboots, OpsCenter restarts automatically. To disable restart upon reboot:
$ sudo update-rc.d opscenterd disable

Prerequisites

Minimum hardware requirements for the machine on which OpsCenter runs:
  • 2 CPU cores
  • 2 GB of RAM available to OpsCenter

Permission and software requirements:

  • Yum package management utility.
  • For CentOS or RHEL 5.x, EPEL.
  • JRE or JDK (recommended) is only required if HTTPS or opscenterd/agent SSL is enabled (off by default). See installing the Oracle JDK or OpenJDK.
  • If you intend to use encryption for configuration values, install the pycrypto library.
  • DataStax recommends using a recent version of one of the major web browsers. OpsCenter does not support Internet Explorer or Microsoft Edge.
  • Python 2.6+.

Procedure

  1. Open the Yum repository specification /etc/yum.repos.d for editing. For example:
    $ sudo vi /etc/yum.repos.d/datastax.repo
  2. In this file, add the repository for OpsCenter.
    [opscenter] 
    name = DataStax Repository
    baseurl = http://rpm.datastax.com/community
    enabled = 1
    gpgcheck = 0
  3. Install the OpsCenter package.
    $ sudo yum install opscenter

For most users, the out-of-box configuration should work just fine. If necessary, you can configure OpsCenter for your environment.

  1. Start OpsCenter:
    $ sudo service opscenterd start
  2. Connect to OpsCenter in a web browser using the following URL:
    http://opscenter-host:8888/

What's next

Add an existing cluster or provision a new cluster.