This documentation corresponds to an earlier product version. Make sure this document corresponds to your version.

Latest OpsCenter documentation | Earlier OpsCenter documentation

Installing OpsCenter on RHEL, CentOS, or Oracle Linux

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

Note: If OpenSSL is version 1.0.0 is installed on RHEL 5.x, CentOS 5.x, OEL 5.5, Debian , or Ubuntu systems, you must install OpenSSL 0.9.8. See Error exceptions.ImportError:libssl.so.0.9.8.

After installing OpenSSL 0.9.8, Ubuntu 11.10 will still show 1.0.0.

To check for the software versions:

$ java -version
$ python -V
$ openssl version
Note: There are different package repositories for the Community and Enterprise versions of OpsCenter.

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. Ensure that a DSE or Cassandra cluster is installed, configured, and running. You can determine this by using the nodetool status command.
  2. (CentOS 5.x/RHEL 5.x only) On the OpsCenter machine, make sure you have EPEL (Extra Packages for Enterprise Linux) installed. EPEL contains dependent packages, such as Python 2.6+. To install for both 32- and 64-bit systems:
    # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

    You do not have to install EPEL other machines.

  3. Open the Yum repository specification /etc/yum.repos.d for editing. For example:
    # vi /etc/yum.repos.d/datastax.repo
  4. 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:
      [opscenter ] 
      name = DataStax Repository
      baseurl = http://rpm.datastax.com/community
      enabled = 1
      gpgcheck = 0
    • OpsCenter Enterprise (paid) Edition:
      [opscenter ] 
      name = DataStax Repository
      baseurl = http://<username>:<password>@rpm.datastax.com/enterprise
      enabled = 1
      gpgcheck = 0
  5. Install the OpsCenter package:
    • OpsCenter Community (free) Edition:
      # yum install opscenter-free
    • OpsCenter Enterprise (paid) Edition:
      # yum install opscenter
  6. Install the OpsCenter package:
    • OpsCenter Community (free) Edition:
      sudo yum install opscenter-free
    • OpsCenter Enterprise (paid) Edition:
      sudo yum install opscenter
  7. 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
  8. Start the OpsCenter:
    sudo service opscenterd start
    
  9. Connect to OpsCenter as described in Automatically deploying agents - Packaged installations.
    Note: You can also manually deploy agents. This is useful if an SSH connection does not exist between the agents and the OpsCenter machine, or as part of your node deployment process.