If you don't see anything in the Web UI go to 'Host mgmt'.
If you see one host with '127.0.0.1' then you have problems with DNS resolve.
In this case the following may help you:
Resolving Hostnames and IP addresses
Each server that is part of the infrastructure must have:
- a real hostname (unless you have specified SKIP_NAME_RESOLVE in the configurator
- hostname -i (run from a terminal) must not print out 127.0.0.1. It must print out the real IP address of the machine, and it should be the IP address you specify in the Configurator
If you don't have DNS or lack a DHCP server you should have a good /etc/hosts file. The file should be identical on all servers in your cluster. Below is an example:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.0.1.10 clustercontrol
10.0.1.11 server_a
10.0.1.12 server_b
The /etc/hosts file must be the copied out (and be idenitcal) on all machines in the Cluster. MySQL Cluster, MySQL Replication, Galera, and ClusterControl will not work as expected otherwise.
When you have the correct hosts file installed then do on the ClusterControl server:
mysql -uroot -p -h127.0.0.1 -e "drop database cmon"
Then do (for RPMs):
cd <deployment_package>/<cluster|mysql>/scripts/install
bash ./install-cmon.sh -c ../../repo/cmon-controller-1.1.11-1.x86_64.rpm \
-a ../../repo/cmon-agent-1.1.11-1.x86_64.rpm \
-w ../../repo/cmon-www-1.1.11-1.noarch.rpm
For tar.gz installs:
cd <deployment_package>/<cluster|mysql>/scripts/install
mysql -uroot -p -h127.0.0.1 -e "drop database cmon"
./install-cmon.sh -f ../../repo/cmon-1.1.11-64bit-glibc23-mc70.tar.gz
Also see the full article on Server Requirements.
Comments
0 comments
Please sign in to leave a comment.