You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by William Oberman <ob...@civicscience.com> on 2012/11/12 21:25:58 UTC
remove DC
There is a great guide here on how to add resources:
http://www.datastax.com/docs/1.1/operations/cluster_management#adding-capacity
What about deleting resources? I'm thinking of removing a data center.
Clearly I'd need to change strategy options, which is currently something
like this:
{DC1:3,DC2:1}
to:
{DC1:3})
But, after that change, I'm wondering if anything else needs to happen?
All of the data in DC1 is already in the correct spots, so I don't think I
have to run repair or cleanup...
will
Re: remove DC
Posted by William Oberman <ob...@civicscience.com>.
My situation is that DC2 was not written to, thanks!
On Mon, Nov 12, 2012 at 7:48 PM, Jeremiah Jordan
<je...@gmail.com>wrote:
> If you have any data that you wrote to DC2, since the last time you ran
> repair, you should probably run repair to make sure that data made it over
> to DC1, if you never wrote data directly to DC2, then you are correct you
> don't need to run repair.
>
> You should just need to update the schema, and then decommission the node.
>
> -Jeremiah
>
> On Nov 12, 2012, at 2:25 PM, William Oberman <ob...@civicscience.com>
> wrote:
>
> There is a great guide here on how to add resources:
>
> http://www.datastax.com/docs/1.1/operations/cluster_management#adding-capacity
>
> What about deleting resources? I'm thinking of removing a data center.
> Clearly I'd need to change strategy options, which is currently something
> like this:
> {DC1:3,DC2:1}
> to:
> {DC1:3})
>
> But, after that change, I'm wondering if anything else needs to happen?
> All of the data in DC1 is already in the correct spots, so I don't think I
> have to run repair or cleanup...
>
> will
>
>
>
Re: remove DC
Posted by Jeremiah Jordan <je...@gmail.com>.
If you have any data that you wrote to DC2, since the last time you ran repair, you should probably run repair to make sure that data made it over to DC1, if you never wrote data directly to DC2, then you are correct you don't need to run repair.
You should just need to update the schema, and then decommission the node.
-Jeremiah
On Nov 12, 2012, at 2:25 PM, William Oberman <ob...@civicscience.com> wrote:
> There is a great guide here on how to add resources:
> http://www.datastax.com/docs/1.1/operations/cluster_management#adding-capacity
>
> What about deleting resources? I'm thinking of removing a data center. Clearly I'd need to change strategy options, which is currently something like this:
> {DC1:3,DC2:1}
> to:
> {DC1:3})
>
> But, after that change, I'm wondering if anything else needs to happen? All of the data in DC1 is already in the correct spots, so I don't think I have to run repair or cleanup...
>
> will