Installing OpsCenter Monitoring for Cassandra.
Setting up a
opscenter for our cassandra cluster.
Download opscenter Archive.
wget http://downloads.datastax.com/community/opscenter-5.0.tar.gz
Extracting opscenter.
Extracting, Create and Change owner.
sudo tar xvzf opscenter-5.0.2.tar.gz -C /opt/
cd /opt/
sudo ln -s opscenter-5.0.2 opscenter
sudo chown cassandra:cassandra -R opscenter*
Configure opscenter
Update configuration file.
vim /opt/opscenter/conf/opscenterd.conf
Update the interface as below.
[webserver]
port = 8888
interface = 10.10.18.35
Configuring Agent.
Update the File below
vim /opt/opscenter/agent/conf/address.yaml
Add Below Line.
stomp_interface: "10.10.18.35"
Starting opsCenter.
/opt/opscenter/bin/opscenter
Open the browser with below URL.
http://10.10.18.35:8888/opscenter/index.html
- In the UI Select, Manager Existing Cluster. (Manage an existing DataStax Enterprise or Cassandra cluster with OpsCenter.)
- Add
Server IPsas below. Our Cluster running on JMX7199port.
Newline is the Separator.
10.10.18.35
10.10.18.93
10.10.18.98
Starting Agent Manually.
Agent can be started from the
opscenter. But if there is some issues then we can start it manually. (Make sure to update the address.yaml as above.)/opt/opscenter/agent/bin/datastax-agent
Comments
Post a Comment