Test if Monitoring Cluster version X
is able to monitor Production Cluster version Y
, where X
> Y
.
- Download and install Elasticsearch version
X
. This will be the Monitoring Cluster - Download and install Elasticearch version
Y
. This will be the Production Cluster - Download and install Kibana version
Y
. This will be the Production Kibana - Start the Monitoring Cluster:
bin/elasticsearch -E cluster.name=esmon -E node.name=esmon_1 -E http.port=9400
- Start the Production Cluster:
bin/elasticsearch -E cluster.name=es1 -E node.name=es1_1
- Start the Production Kibana:
bin/kibana
- Setup the Production Cluster to export monitoring data to the Monitoring Cluster. In the Production Kibana Console app, run:
PUT _cluster/settings { "persistent": { "xpack.monitoring.exporters": { "mon_cluster": { "type": "http", "host": [ "localhost:9400"] } } } }
- Stop the Production Kibana.
- Edit the Production Kibana's
config/kibana.yml
and add:xpack.monitoring.elasticsearch.hosts: [ "http://localhost:9400" ]
- Start the Production Kibana.
- In the Production Kibana's Stack Monitoring app, enable Monitoring.
- Click around in the Stack Monitoring app to make sure everything works. Make sure that there are no errors in the Kibana server logs either.