Hi,

I have deployed Solr in docker swarm and scaling the replicas as 3.

What I have achieved -> Created the Solr core replicas in the other
containers.

Blocker -> When I kill a container
​, D
ocker swarm brings another container with a different IP. So, when I see
the graph it is still pointing to the older dead node. But in ZooKeeper
live_nodes, I can see the newly registered node.

So, For experimenting I am doing it manually through GUI by pointin
​g​
the new node
​by
manually delet
​ing​
the older node from the collections in Solr GUI and created a replica in
the new node.

My question -> Is it possible to some way we can trick the
​S​
olr by replacing the IP which it shows in the graph to some unique
identifier so that when swarm brings the new node it should still be
pointing to the unique identifier name, not the IP.

-- 
​Regards​
Akshat Singh

Reply via email to