To setup a ccc node you first need to download the ccc scripts and extract them in a catalog that you want to be the ccc workarea.
In the following example we have downloaded the scripts to “E:/tmp/scripts” and our Control Center installation is located in “E:/dbWatch/ControllCenter/rel_523”.
All ccc commands take (at minumiun) a script file as an argument.
First we run the setup.script as follows:
This initializes a dbWatch node that attempts to connect to localhost:7100 and tries to join the domain of that node.
The script has tree optional arguments.
server – specifies another host:port to connect to.
domainName – specifies a particular domain to join (relevant if the server has several domains)
name – specifies the node displayname (defaults to “ccc(hostname)”
So the command could also be:
"E:\dbWatch\ControllCenter\rel_523\ccc.exe" setup.script server=192.168.3.5:7100 name="My Test CCC node" domainName=demo.dbwatch.com
If the connection attempt is successfull, the result will be similar to the following.
Notice the “Unable to get certificate” message.
This is because the node has not yet been given any privileges in the domain.
To give it privileges, go to the “Domain Configuration” view in the dbWatch Monitor and locate “ccc” under Nodes. Here the ccc node will have appeared. In our example “ccc (Libra)”. (Libra is the host name of the machine.
Check the “Approved” box, and give it the appropriate privileges.
Now run the setup script again.
Notice that we now have a certificate, and we are ready to run ccc commands.