OpsCenter 4.0 User Guide

Installing the OpsCenter RPM package

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.

Prerequisites

  • Yum package management utility.
  • For CentOS or RHEL 5.x, EPEL.
  • Python 2.6+

The CentOS, RHEL, and OL 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.

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
  4. Set the [webserver] interface to the hostname or IP address of the OpsCenter machine in the /etc/opscenter/opscenterd.conf file. For example:
    [webserver] 
    port = 8888 
    interface = 10.183.170.161

For most users, the out-of-box configuration should work just fine, but if you need to you can configure OpsCenter differently.

  1. Start OpsCenter:
    $ sudo service opscenterd start
  2. Connect to OpsCenter in a web browser using the following URL:
    http://opscenter-host:8888/
  3. Next you can add an existing cluster or provision a new one.