How to clone ES+Kibana instance i.e. place a copy next to the same initial instance


#1

I have successfully configured Logstash+ES+Kibana instance on my QA environment.
And have successfully filled ES with data.
Next, I want to get a copy of ES+Kibana to create a separate QA instance that would not be affected by Logstash actions.
It is obvious that simple "copy/paste" is not enough and I need to configure elasticsearch.yml and kibana.yml. A have done this. Namely:

  • elasticsearch.yml
    ** node.name: qa2 (for initial instance I use default name: node-1)
    ** http.port: 5555 (for initial instance I use default port: 9200)
  • kibana.yml
    ** server.port: 7777 (for initial instance I use default port: 5601)
    ** server.host: 192.168.71.91 (for initial instance I use the same)
    ** elasticsearch.url: "http://localhost:5555" (for initial instance I use "http://localhost:9200")

When I start elasticsearch.bat of copied ES I see the following error in cmd and in log-file:
Can't add node qa2, reason: found existing node with the same id but is a different node instance
When I start Kibana I see the following:
Status Red
plugin:elasticsearch@6.1.3 Service Unavailable

What else I need to do to clone my instance successfully?
P.S. I also need a copy of all existing visualizations that were created in Kibana of initial instance


#2

I guess I have found solution here:

Deleted nodes folder from elasticsearch-6.1.3\data folder and now everything seems to be ok. All Kibana stuff is in place.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.