I've followed the instructions to add Kibana to my BlueData 4.0 controller:
- Login to the Controller.
- Execute the command
docker exec -it monitoring-<controller_ip> bash, where is the IP address of the Controller. - Change the permissions of /etc/kibana/kibana.yml to 644.
- Obtain Kibana admin credentials by executing the following command:
bdconfig --getallenv | grep bdshared_elasticsearch_admin
The system returns the username and password. For example:
export bdshared_elasticsearch_adminpass='adef3a31-fbec-474d-8b74-a50b3355399f';
export bdshared_elasticsearch_admin='elastic';
- Execute the command service kibana start.
- Open a web browser and navigate to
<A.B.C.D>:5610to access the Kibana interface, where<A.B.C.D>is either the Controller IP address, cluster IP address (if platform HA is enabled), or the IP address of a Gateway host. - Enter the credentials you obtained in Step 3, above.
- You may now access the Kibana interface.
However, when I try to access the service on the controller A.B.C.D:5610 I get the following error (I have tried for about 15 minutes):
Kibana server is not ready yet
How can I resolve this issue?
From the primary controller (see note below), I tried to connect to elasticsearch:
It returned an error, so I found the epic-monitoring-** service ...
and restarted it:
I then followed the instructions again to enable kibana, and after waiting a few minutes, I was able to login to kibana with the credentials returned by
bdconfig --getallenv | grep bdshared_elasticsearch_adminNOTE:
To find the current primary controller run:
bdconfig --hainfo, orRole: Primary Controller