cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain RODRIGUEZ <arodr...@gmail.com>
Subject Re: Cassandra nodes reduce disks per node
Date Thu, 18 Feb 2016 10:12:31 GMT
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 <anishek@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.davis@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 <rcoli@eventbrite.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, Feb 16, 2016 at 11:29 PM, Anishek Agarwal <anishek@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
>>>
>>>
>>
>>
>

Mime
View raw message