Are you using Solrcloud? With Solrcloud this stuff is easy. You just add a new replica for a collection, and the data is added to the new host.
I'm working on a demo that will show this all working within Docker and Rancher. I've got some code (which I will open source) that handles config uploads, collection creation, etc. You can add a replica by running a container on the same node as you want the replica to reside, it'll do the rest for you. I've got the Solr bit more or less done, I'm now working on everything else (Dockerised Docker Registry/Jenkins, AWS infra build, etc). Let me know if this is interesting to you. If so, I'll post it here when I'm done with it. Upayavira On Mon, 4 Jul 2016, at 02:46 PM, Lorenzo Fundaró wrote: > Hello guys, > > I am trying to run Solr on my infrastructure using docker containers and > Mesos. My problem is that I don't have a shared filesystem. I have a > cluster of 3 shards and 3 replicas (9 nodes in total) so if I distribute > well my nodes I always have 2 fallbacks of my data for every shard. Every > solr node will store the index in its internal docker filesystem. My > problem is that if I want to relocate a certain node (maybe an automatic > relocation because of a hardware failure), I need to create the core > manually in the new node because it's expecting to find the > core.properties > file in the data folder and of course it won't because the storage is > ephemeral. Is there a way to make a new node join the cluster with no > manual intervention ? > > Thanks in advance ! > > > -- > > -- > Lorenzo Fundaro > Backend Engineer > E-Mail: lorenzo.fund...@dawandamail.com > > Fax + 49 - (0)30 - 25 76 08 52 > Tel + 49 - (0)179 - 51 10 982 > > DaWanda GmbH > Windscheidstraße 18 > 10627 Berlin > > Geschäftsführer: Claudia Helming, Niels Nüssler und Michael Pütz > AG Charlottenburg HRB 104695 B http://www.dawanda.com