Re: Move index directory to another partition

2017-08-10 Thread Mahmoud Almokadem
Thanks all for your commits. I followed Shawn steps (rsync) cause everything on that volume (ZooKeeper, Solr home and data) and everything went great. Thanks again, Mahmoud On Sun, Aug 6, 2017 at 12:47 AM, Erick Erickson wrote: > bq: I was envisioning a scenario

Re: Move index directory to another partition

2017-08-05 Thread Erick Erickson
bq: I was envisioning a scenario where the entire solr home is on the old volume that's going away. If I were setting up a Solr install where the large/fast storage was a separate filesystem, I would put the solr home (or possibly even the entire install) under that mount point. It would be a

Re: Move index directory to another partition

2017-08-04 Thread Shawn Heisey
On 8/2/2017 9:17 AM, Erick Erickson wrote: > Not entirely sure about AWS intricacies, but getting a new replica to > use a particular index directory in the general case is just > specifying dataDir=some_directory on the ADDREPLICA command. The index > just needs an HTTP connection (uses the old

Re: Move index directory to another partition

2017-08-02 Thread Erick Erickson
Shawn: Not entirely sure about AWS intricacies, but getting a new replica to use a particular index directory in the general case is just specifying dataDir=some_directory on the ADDREPLICA command. The index just needs an HTTP connection (uses the old replication process) so nothing huge there.

Re: Move index directory to another partition

2017-08-01 Thread Dave
To add to this, not sure of solr cloud uses it, but you're going to want to destroy the wrote.lock file as well > On Aug 1, 2017, at 9:31 PM, Shawn Heisey wrote: > >> On 8/1/2017 7:09 PM, Erick Erickson wrote: >> WARNING: what I currently understand about the limitations

Re: Move index directory to another partition

2017-08-01 Thread Shawn Heisey
On 8/1/2017 7:09 PM, Erick Erickson wrote: > WARNING: what I currently understand about the limitations of AWS > could fill volumes so I might be completely out to lunch. > > If you ADDREPLICA with the new replica's data residing on the new EBS > volume, then wait for it to sync (which it'll do

Re: Move index directory to another partition

2017-08-01 Thread Erick Erickson
WARNING: what I currently understand about the limitations of AWS could fill volumes so I might be completely out to lunch. If you ADDREPLICA with the new replica's data residing on the new EBS volume, then wait for it to sync (which it'll do all by itself) then DELETEREPLICA on the original

Re: Move index directory to another partition

2017-08-01 Thread Shawn Heisey
On 8/1/2017 4:00 PM, Mahmoud Almokadem wrote: > I'm using ubuntu and I'll try rsync command. Unfortunately I'm using one > replication factor but I think the downtime will be less than five minutes > after following your steps. > > But how can I start Solr backup or why should I run it although I

Re: Move index directory to another partition

2017-08-01 Thread Mahmoud Almokadem
Thanks Shawn, I'm using ubuntu and I'll try rsync command. Unfortunately I'm using one replication factor but I think the downtime will be less than five minutes after following your steps. But how can I start Solr backup or why should I run it although I copied the index and changed theo path?

Re: Move index directory to another partition

2017-08-01 Thread Walter Underwood
Way back in the 1.x days, replication was done with shell scripts and rsync, right? wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Aug 1, 2017, at 2:45 PM, Shawn Heisey wrote: > > On 7/31/2017 12:28 PM, Mahmoud Almokadem

Re: Move index directory to another partition

2017-08-01 Thread Shawn Heisey
On 7/31/2017 12:28 PM, Mahmoud Almokadem wrote: > I've a SolrCloud of four instances on Amazon and the EBS volumes that > contain the data on everynode is going to be full, unfortunately Amazon > doesn't support expanding the EBS. So, I'll attach larger EBS volumes to > move the index to. > > I

Move index directory to another partition

2017-07-31 Thread Mahmoud Almokadem
Hello, I've a SolrCloud of four instances on Amazon and the EBS volumes that contain the data on everynode is going to be full, unfortunately Amazon doesn't support expanding the EBS. So, I'll attach larger EBS volumes to move the index to. I can stop the updates on the index, but I'm afraid to