Instaling OpsCenter on Debian or Ubuntu


Instaling OpsCenter on Debian or Ubuntu
Instal the DataStax OpsCenter using APT repositories on Debian or Ubuntu distributions.
For a complete list of supported platforms, see
DataStax OpsCenter – Supported Platforms
.
Prerequisites
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 instaled, you must instal OpenSSL 0.9.8:
APT Package Manager is instaled.
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 instaling 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 or 7.
OpenSSH (sshd)
Python 2.6+
OpenSSL: 0.9.8. (SSL is enabled by default.)
Note:
If OpenSSL is version 1.0.0, you must instal OpenSSL 0.9.8:
$ sudo apt-get install libssl0.9.8
After instaling OpenSSL 0.9.8, Ubuntu 11.10 wil stil show 1.0.0.
To check for the software versions:
$ java -version
$ python -V
$ openssl version
Note:
There are diferent 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 automaticaly.
Procedure
1. Ensure that a DSE or Cassandra cluster is instaled, configured, and running. You can determine this by
using the
nodetool status
command.

2. Open the aptitude repository source list file (/etc/apt/sources.list) for editing. For example:
# vi/etc/apt/sources.list
3. In this file, add the repository for the edition you want to instal. OpsCenter Enterprise Edition instalations
require the DataStax <username> and <password> you received in your registration confirmation email.
OpsCenter Community (free) Edition:
OpsCenter Enterprise (paid) Edition:
deb http://<username&gt;:<password>@debian.datastax.com/enterprise stable main
4. Add the DataStax repository key to your aptitude trusted keys:
# curl -L http://debian.datastax.com/debian/repo_key | apt-key add –
5. Instal 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
6. 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
7. Start OpsCenter:
sudo service opscenterd start
8. Connect to OpsCenter as described in
Automaticaly deploying agents ­ Packaged instalations
.
Note:
You can also
manualy 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.

Leave a comment