You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by albert_e <do...@gmail.com> on 2010/06/29 05:11:39 UTC

Migrate cassandra between two DCs

Hi, all

We have several nodes in DC1 and DC2 and we want to move all nodes in DC2 to
a new DC3, also IPs will be changed. The whole progress will last about 1-2
days.

Can we simply stop all nodes in DC2, move to DC3, chage IP config in
storage-conf.xml then start all nodes in DC3?
Or shall we do REMOVE TOKEN before moving and do BOOTSTRAP  after moving?
Or any other suggestions?

Thanks!
albert_e

Re: Migrate cassandra between two DCs

Posted by albert_e <do...@gmail.com>.
Thanks Jonathan, We will have a try.

2010/6/30 Jonathan Ellis <jb...@gmail.com>

> On Mon, Jun 28, 2010 at 10:11 PM, albert_e <do...@gmail.com> wrote:
> > Hi, all
> >
> > We have several nodes in DC1 and DC2 and we want to move all nodes in DC2
> to
> > a new DC3, also IPs will be changed. The whole progress will last about
> 1-2
> > days.
> >
> > Can we simply stop all nodes in DC2, move to DC3, chage IP config in
> > storage-conf.xml then start all nodes in DC3?
>
> This will work if you upgrade to 0.6.3 first.
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>

Re: Migrate cassandra between two DCs

Posted by Jonathan Ellis <jb...@gmail.com>.
On Mon, Jun 28, 2010 at 10:11 PM, albert_e <do...@gmail.com> wrote:
> Hi, all
>
> We have several nodes in DC1 and DC2 and we want to move all nodes in DC2 to
> a new DC3, also IPs will be changed. The whole progress will last about 1-2
> days.
>
> Can we simply stop all nodes in DC2, move to DC3, chage IP config in
> storage-conf.xml then start all nodes in DC3?

This will work if you upgrade to 0.6.3 first.

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com