Install the DataStax OpsCenter using APT repositories on Debian or Ubuntu
Note: Use the exact version listed in Prerequisites. For example, the default OpenSSL on
Ubuntu. If running openssl version shows that 1.0.0 is installed, you must install
- APT Package Manager is installed.
- OpsCenter hardware requirements: computer with 2 cores and 2 GB RAM.
- Your Cassandra or DataStax Enterprise cluster is properly
configured and running.
- IP address or hostname of the machine where you are installing OpsCenter.
- IP address or hostnames of two or three of your nodes.
- Port number used by JMX (default is 7199).
- The latest version of Oracle Java SE Runtime Environment (JRE) 6
- OpenSSH (sshd)
- Python 2.6+
- OpenSSL: 0.9.8. (SSL is enabled by default.)
If OpenSSL is
version 1.0.0, 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 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 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.
Ensure that a DSE or Cassandra cluster is installed, configured, and running.
You can determine this by using the nodetool status command.
Open the aptitude repository source list file
(/etc/apt/sources.list) for editing. For example:
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.
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:
Set the [webserver] interface to the hostname or IP address of the OpsCenter
machine in the /etc/opscenter/opscenterd.conf file. For
[webserver ] port = 8888
interface = 10.183.170.161
sudo service opscenterd start
Connect to OpsCenter as described in Automatically deploying agents - Packaged installations.
You can also manually deploy
. This is useful if an SSH connection does not exist
between the agents and the OpsCenter machine, or as part of your node