Installing OpsCenter from the RPM package

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

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

For a complete list of supported platforms, see 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.
  • Oracle Java SE Runtime Environment 8 (JRE or JDK) or OpenJDK 8. Earlier or later versions are not supported. See installing the Oracle JDK or OpenJDK.
    Tip: Use OpsCenter Lifecycle Manager to automatically manage Java and JCE installs for DSE clusters.
  • DataStax recommends using a recent version of one of the major web browsers. OpsCenter does not support Internet Explorer or Microsoft Edge.

Procedure

  1. Open the Yum repository specification /etc/yum.repos.d/datastax.repo 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 = https://dsa_email_address:password@rpm.datastax.com/enterprise
    enabled = 1
    gpgcheck = 0

    where DSA_profile_name and downloads_key are your DataStax Academy Profile Name and My Downloads Key. Depending on your environment, you might need to replace @ in your email address with %40 and escape any character in your password that is used in your operating system's command line. Examples: \! and \|.

  3. If you have enabled signature verification (gpgcheck=1), import the repository key:
    sudo rpm --import https://rpm.datastax.com/rpm/repo_key 
  4. 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 in Lifecycle Manager.