So i am trying to setup an auto-scaling search system of ec2 solr-slaves which scale up as number of requests increase and vice versa Here is what I have 1. A solr master and underlying slaves(scalable). And an elastic load balancer to distribute the load. 2. The ec2-auto-scaling setup fires nodes when traffic increases. However the replication times(replication speed) for the index from the master varies for these newly fired nodes. 3. I want to avoid addition of these nodes to the load balancer till it has completed initial replication and has a warmed up cache. For this I need to know a way I can check if the initial replication has completed. and also a way of warming up the cache post this.
I can think of doing this via .. a shellscript/awk(checking times replicated/index size) ... is there a cleaner way ? Also on the side note .. any suggestions or pointers to how one set up their scalable solr setup on cloud(AWS mainly) would be helpful. Regards, Akshay