DataStax provides OpsCenter packages for Debian and Ubuntu distributions. For a complete list of supported platforms, see OpsCenter – Supported Platforms. There are different package repositories for OpsCenter Community Edition and OpsCenter Enterprise Edition.
The OpsCenter Debian and Ubuntu packaged releases runs as a service from root. The service initialization script is located in /etc/init.d. If the machine reboots, OpsCenter restarts automatically.
Note
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 meet the following prerequisites:
To check for the software versions:
$ java -version $ python -V $ openssl version
Use the exact version listed in Prerequisites. For example, the default OpenSSL on Ubuntu 11.10 1.0.0. If running openssl version shows that 1.0.0 is installed, you must install OpenSSL 0.9.8:
$ sudo apt-get install libssl0.9.8
After installing OpenSSL 0.9.8, Ubuntu 11.10 will still show 1.0.0.
To install OpsCenter on a Debian or Ubuntu system:
Open the aptitude repository source list file (/etc/apt/sources.list) for editing. For example:
# vi /etc/apt/sources.list
In this file, add the repository for the edition you want to install. OpsCenter Enterprise Edition installations require the DataStax <username> and <password> you received in your registration confirmation email.
OpsCenter Community (free) Edition:
deb http://debian.datastax.com/community stable main
OpsCenter Enterprise (paid) Edition:
deb http://<username>:<password>@debian.datastax.com/enterprise stable main
Add the DataStax repository key to your aptitude trusted keys:
# curl -L http://debian.datastax.com/debian/repo_key | apt-key add -
Install the OpsCenter package using the APT Package Manager:
OpsCenter Community (free) Edition:
# apt-get update
# apt-get install opscenter-free
OpsCenter Enterprise (paid) Edition:
# apt-get update
# apt-get install opscenter
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
Start OpsCenter:
sudo service opscenterd start
Install the agents:
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.