Created
February 20, 2016 18:36
-
-
Save nilstgmd/729157ed4c4150cd132d to your computer and use it in GitHub Desktop.
Commands to install and run the OpsCenter Agent on a Cassandra node.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Installing Agent..." | |
mkdir /opt/agent; \ | |
wget -O - http://downloads.datastax.com/community/datastax-agent-5.1.0.tar.gz \ | |
| tar xzf - --strip-components=1 -C "/opt/agent" | |
cd /opt/agent/conf | |
echo "stomp_interface: $OPS_IP" >> ./address.yaml | |
touch /root/.agentconfig | |
cd /opt/agent | |
echo "Starting Agent" | |
bin/datastax-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment