This procedure describes how to configure OpsCenter and OpsCenter agent. Setting up and using OpsCenter does not require root permissions.
Before installing OpsCenter make sure you have met the following prerequisites:
To check for the software versions:
$ python -V $ openssl versionYou must use the exact version indicated above. For example, if you have a Ubuntu 11.10 system, the default OpenSSL is 1.0.0. Therefore, you must install OpenSSL 0.9.8:
$ sudo apt-get install libssl0.9.8Note
Ubuntu 11.10 still shows 1.0.0e after installing OpenSSL 0.9.8.
Make sure the prerequisite software is installed.
Start OpsCenter:
$ cd ~/opscenter-2.1
$ bin/opscenter (in the background - default)
$ bin/opscenter -f (in the foreground)
Starting OpsCenter automatically installs the OpsCenter agent on the same machine as the DataStax Enterprise server and OpsCenter.
Set the agent to localhost:
$ cd ~/opscenter-2.1/agent
$ bin/setup localhost
Start the agent:
$ bin/opscenter-agent (in the background - default)
$ bin/opscenter-agent -f (in the foreground)
Launch OpsCenter from a browser using the following URL:
http://<opscenter_host>:8888
In the Welcome to DataStax OpsCenter dialog box, enter localhost in the Cluster Hosts/IP field, and then click Add Cluster.
The OpsCenter Dashboard is displayed.
To deploy OpsCenter agents to multiple nodes or to install OpsCenter using a packaged distribution, see OpsCenter documentation.