Versions
- CentOS 6.4
- Oracle Java JDK 1.6
- OpsCenter Community 3.0.2
Prerequisites
Install
1. Edit /etc/yum.repos.d/datastax.repo
1 2 3 4 5 |
[datastax] name= DataStax Repo for Apache Cassandra baseurl=http://rpm.datastax.com/community enabled=1 gpgcheck=0 |
2. Install Opscenter Free
1 |
sudo yum install opscenter-free |
Configure
Note: by default opscener will only accept connections from 127.0.0.1:8888. This guide won’t change that setting but it can be changed by editing /etc/opscenter/opscenterd.conf
1. Start opscenter:
1 |
sudo service opscenterd start |
4. Start cassandra on boot:
1 |
sudo chkconfig opscenterd on |
Test
1. Reconnect ssh session and tunnel the default opscenter port (8888):
1 |
ssh <hostname> -L 8888:127.0.0.1:8888 |
2. Connect to 127.0.0.1:8888 with a browser
3. Click “Use Existing Cluster”
4. Enter a seed cluster node hostname or IP
Note: you can enter a new-line separated list of all nodes, but this is unnecessary
5. Click “Save cluster”