Upgrade to Clustercontrol 1.4 not show cluster status
After the upgrade path to version 1.4 I can not see the status of the cluster and have the information:
Cluster details cannot be retrieved. Please check the CMON process status (service cmon status).
I checked but cmon work correctly on port 9500
-
Hi Andrzej,
Do you see the rpc_key value inside /etc/cmon.cnf? This value should be the identical in the following places:
1) Inside dcps.apis table, the entry for cmonapi's token
2) Inside /var/www/html/clustercontrol/bootstrap.php under RPC_TOKEN value.
3) Inside /var/www/html/cmonapi/config/bootstrap.php under CMON_TOKEN value.
If you have problem figuring those out, you can create a support ticket and we can assist you to fix the problem.
Regards,
Ashraf
-
I find the solution on
http://support.severalnines.com/hc/en-us/articles/212425903-CMON-1-4-0-released-upgrade-instructions
# Create the new configuration directory
$ mkdir /etc/cmon.d
# Create the new /etc/cmon.d/cmon_<cluster_id>.cnf file
# Use the cluster_id in /etc/cmon.cnf to name the new configuration file, e.g., /etc/cmon.d/cmon_1.cnf
$ cp /etc/cmon.cnf /etc/cmon.d/cmon_<cluster_id>.cnf
# Create the new default /etc/cmon.cnf file
# Edit /etc/cmon.cnf file and remove all parameters except the following 4:
mysql_port=<controller mysql server's mysql port>
mysql_password=<cmon user password>
mysql_hostname=<controller hostname/ip>
hostname=<controller hostname/ip>
Please sign in to leave a comment.
Comments
2 comments