The HTTP interface (http://wiki.apache.org/solr/SolrReplication#HTTP_API)
can be used to control lots of parts of replication.

As to warmups, I don't know of a good way to test that. I don't know whether
getting the current status on the slave includes whether warmup is completed
or not. At worst, after replication is complete you could wait an interval (see
the warmup times on your running servers) before routing requests to the
slave.

I haven't any clue at all about AWS...

Best
Erick

On Mon, Jun 6, 2011 at 9:18 AM, Akshay <akm...@gmail.com> wrote:
> 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
>

Reply via email to