Jan, thanks! That makes perfect sense to run a second time before stopping cassandra. I'll add that in when I do the production cluster.
On Fri, Feb 19, 2016 at 12:16 AM, Jan Kesten <j.kes...@enercast.de> wrote: > Hi Branton, > > two cents from me - I didnt look through the script, but for the rsyncs I > do pretty much the same when moving them. Since they are immutable I do a > first sync while everything is up and running to the new location which > runs really long. Meanwhile new ones are created and I sync them again > online, much less files to copy now. After that I shutdown the node and my > last rsync now has to copy only a few files which is quite fast and so the > downtime for that node is within minutes. > > Jan > > > > Von meinem iPhone gesendet > > Am 18.02.2016 um 22:12 schrieb Branton Davis <branton.da...@spanning.com>: > > Alain, thanks for sharing! I'm confused why you do so many repetitive > rsyncs. Just being cautious or is there another reason? Also, why do you > have --delete-before when you're copying data to a temp (assumed empty) > directory? > > On Thu, Feb 18, 2016 at 4:12 AM, Alain RODRIGUEZ <arodr...@gmail.com> > wrote: > >> I did the process a few weeks ago and ended up writing a runbook and a >> script. I have anonymised and share it fwiw. >> >> https://github.com/arodrime/cassandra-tools/tree/master/remove_disk >> >> It is basic bash. I tried to have the shortest down time possible, making >> this a bit more complex, but it allows you to do a lot in parallel and just >> do a fast operation sequentially, reducing overall operation time. >> >> This worked fine for me, yet I might have make some errors while making >> it configurable though variables. Be sure to be around if you decide to run >> this. Also I automated this more by using knife (Chef), I hate to repeat >> ops, this is something you might want to consider. >> >> Hope this is useful, >> >> C*heers, >> ----------------- >> Alain Rodriguez >> France >> >> The Last Pickle >> http://www.thelastpickle.com >> >> 2016-02-18 8:28 GMT+01:00 Anishek Agarwal <anis...@gmail.com>: >> >>> Hey Branton, >>> >>> Please do let us know if you face any problems doing this. >>> >>> Thanks >>> anishek >>> >>> On Thu, Feb 18, 2016 at 3:33 AM, Branton Davis < >>> branton.da...@spanning.com> wrote: >>> >>>> We're about to do the same thing. It shouldn't be necessary to shut >>>> down the entire cluster, right? >>>> >>>> On Wed, Feb 17, 2016 at 12:45 PM, Robert Coli <rc...@eventbrite.com> >>>> wrote: >>>> >>>>> >>>>> >>>>> On Tue, Feb 16, 2016 at 11:29 PM, Anishek Agarwal <anis...@gmail.com> >>>>> wrote: >>>>>> >>>>>> To accomplish this can I just copy the data from disk1 to disk2 with >>>>>> in the relevant cassandra home location folders, change the cassanda.yaml >>>>>> configuration and restart the node. before starting i will shutdown the >>>>>> cluster. >>>>>> >>>>> >>>>> Yes. >>>>> >>>>> =Rob >>>>> >>>>> >>>> >>>> >>> >> >