I try to do some non-standard setup. I want to install cc-ui + cc-cmonapi + cmon on 1 server (e.g 10.0.0.1) and cc-database (cmon + dscp) on another (10.0.0.2). In documentation (http://www.severalnines.com/docs/clustercontrol-administration-guide/components/cmon-controller/configuration-file) I found several options:
- Operating system - hostname=<string> - * Hostname or IP address of the CMON host -> 10.0.0.1
- CMON MySQL database - mysql_hostname=<string> - * The MySQL hostname where CMON database resides. Using IP address is recommended -> 10.0.0.2
But when I try to add existing cluster I get an error:
Verifying controller host and cmon password.
Can't connect to the cmonDb: Can't connect to MySQL server on '10.0.0.1' (111)
It looks like the mysql_hostname parameter was ignored.
When I change hostname parameter (for testing purpose) to 10.0.0.2 and try to add existsing cluster this step was ok, but I got another error.
Verifying the MySQL user/password.
Can't access the MySQL server: Warning: Using a password on the command line interface can be insecure. ERROR 1045 (28000): Access denied for user 'cmon'@'localhost' (using password: YES)
Is it possible to install clustercontrol that way?
Please sign in to leave a comment.