You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Musto Domenico <Do...@yoox.com> on 2009/10/29 15:19:43 UTC

Multi data-center configuration

Hi there,

 

we are experiencing a problem with a multidatacenter configuration.

We have the following scenario :

 

We have two data-centers with 3 nodes each.

 

We have configured seeds like this on each datacenter.

 

<Seeds>

      <Seed>ip1_datacenter_A</Seed>

      <Seed>ip2_datacenter_A </Seed>

      <Seed>ip3_datacenter_A </Seed>

      <Seed>ip1_datacenter_B </Seed>

  </Seeds>

 

We tried both RackAwareStrategy and RackUnAwareStrategy but it seems
that the two data-centers are not communicating at all between them.

 

Also, with  version 4.1 and RackAwareStrategy we are getting an error :
UnsupportedOperationException: Rack-aware bootstrapping not supported
 
With trunk version we are not getting the error but there is no
communication at all between datacenters.
 
Can anyone help?
 
Thanks

 

 

Domenico Musto 

Software Factory Developer

YOOX Group 

Via Nannetti 1, 40069 Zola Predosa, Bologna, Italia

T  +39 051 6184240 

F  +39 051 6184215 

domenico.musto@yoox.com 

 

 

Please consider the environment before printing this e-mail.

 

NOTICE: The information contained in this message is confidential,
intended only for the use of the individual or entity named above.

If you are not the intended recipient, please notify us immediately by
telephone or e-mail and destroy this communication. Thank you.


Re: Multi data-center configuration

Posted by Jonathan Ellis <jb...@gmail.com>.
Try using just a single seed then.

On Thu, Oct 29, 2009 at 10:09 AM, Musto Domenico <Do...@yoox.com>wrote:

>  Hi,
>
>
>
> we already tried putting the same seeds list on each DC but it did not work
>
>
>
> Thanks
>
>
>
> *From:* Jonathan Ellis [mailto:jbellis@gmail.com]
> *Sent:* giovedì 29 ottobre 2009 17.06
>
> *To:* cassandra-user@incubator.apache.org
> *Subject:* Re: Multi data-center configuration
>
>
>
> the seeds list needs to be the same for both DCs -- in fact your whole
> configuration file should be the same.
>
> put one node from each DC in the seeds list.
>
> On Thu, Oct 29, 2009 at 9:59 AM, Musto Domenico <Do...@yoox.com>
> wrote:
>
> Hi,
>
>
>
> thank you for your reply.
>
>
>
> We tried your suggestion but it did not work.
>
>
>
> We are working on version 4.1 and we have already verified that there are
> no network problems between the datacenters. Also we verified that the nodes
> inside the same data center are joining each other without any problem.
>
>
>
> In attach our configuration files.
>
>
>
> I hope you can help us
>
>
>
> Thank you
>
>
>
> *From:* Jonathan Ellis [mailto:jbellis@gmail.com]
> *Sent:* giovedì 29 ottobre 2009 15.32
> *To:* cassandra-user@incubator.apache.org
> *Subject:* Re: Multi data-center configuration
>
>
>
> Try with one seed from each DC.
>
> On Thu, Oct 29, 2009 at 8:19 AM, Musto Domenico <Do...@yoox.com>
> wrote:
>
> Hi there,
>
>
>
> we are experiencing a problem with a multidatacenter configuration.
>
> We have the following scenario :
>
>
>
> We have two data-centers with 3 nodes each.
>
>
>
> We have configured seeds like this on each datacenter.
>
>
>
> <Seeds>
>
>       <Seed>ip1_datacenter_A</Seed>
>
>       <Seed>ip2_datacenter_A </Seed>
>
>       <Seed>ip3_datacenter_A </Seed>
>
>       <Seed>ip1_datacenter_B </Seed>
>
>   </Seeds>
>
>
>
> We tried both RackAwareStrategy and RackUnAwareStrategy but it seems that
> the two data-centers are not communicating at all between them.
>
>
>
> Also, with  version 4.1 and RackAwareStrategy we are getting an error : UnsupportedOperationException: Rack-aware bootstrapping not supported
>
>
>
> With trunk version we are not getting the error but there is no communication at all between datacenters.
>
>
>
>
>
>
>
>
>
>
>
>
> Can anyone help?
>
>
>
> Thanks
>
>
>
>
>
> Domenico Musto
>
> Software Factory Developer
>
> YOOX Group
>
> Via Nannetti 1, 40069 Zola Predosa, Bologna, Italia
>
> T  +39 051 6184240
>
> F  +39 051 6184215
>
> domenico.musto@yoox.com
>
>
>
> [image: http://cdn2.yoox.biz/signature/yooxygen.jpg]
>
> Please consider the environment before printing this e-mail.
>
>
>
> *NOTICE: The information contained in this message is confidential,
> intended only for the use of the individual or entity named above.*
>
> *If you are not the intended recipient, please notify us immediately by
> telephone or e-mail and destroy this communication. Thank you**.*
>
>
>
>
>

RE: Multi data-center configuration

Posted by Musto Domenico <Do...@yoox.com>.
Hi,

 

we already tried putting the same seeds list on each DC but it did not work

 

Thanks

 

From: Jonathan Ellis [mailto:jbellis@gmail.com] 
Sent: giovedì 29 ottobre 2009 17.06
To: cassandra-user@incubator.apache.org
Subject: Re: Multi data-center configuration

 

the seeds list needs to be the same for both DCs -- in fact your whole configuration file should be the same.

put one node from each DC in the seeds list.

On Thu, Oct 29, 2009 at 9:59 AM, Musto Domenico <Do...@yoox.com> wrote:

Hi,

 

thank you for your reply.

 

We tried your suggestion but it did not work.

 

We are working on version 4.1 and we have already verified that there are no network problems between the datacenters. Also we verified that the nodes inside the same data center are joining each other without any problem.

 

In attach our configuration files.

 

I hope you can help us

 

Thank you

 

From: Jonathan Ellis [mailto:jbellis@gmail.com] 
Sent: giovedì 29 ottobre 2009 15.32
To: cassandra-user@incubator.apache.org
Subject: Re: Multi data-center configuration

 

Try with one seed from each DC.

On Thu, Oct 29, 2009 at 8:19 AM, Musto Domenico <Do...@yoox.com> wrote:

Hi there,

 

we are experiencing a problem with a multidatacenter configuration.

We have the following scenario :

 

We have two data-centers with 3 nodes each.

 

We have configured seeds like this on each datacenter.

 

<Seeds>

      <Seed>ip1_datacenter_A</Seed>

      <Seed>ip2_datacenter_A </Seed>

      <Seed>ip3_datacenter_A </Seed>

      <Seed>ip1_datacenter_B </Seed>

  </Seeds>

 

We tried both RackAwareStrategy and RackUnAwareStrategy but it seems that the two data-centers are not communicating at all between them.

 

Also, with  version 4.1 and RackAwareStrategy we are getting an error : UnsupportedOperationException: Rack-aware bootstrapping not supported
 
With trunk version we are not getting the error but there is no communication at all between datacenters.
 
 
 
 
 
Can anyone help?
 
Thanks

 

 

Domenico Musto 

Software Factory Developer

YOOX Group 

Via Nannetti 1, 40069 Zola Predosa, Bologna, Italia

T  +39 051 6184240 

F  +39 051 6184215 

domenico.musto@yoox.com 

 

 

Please consider the environment before printing this e-mail.

 

NOTICE: The information contained in this message is confidential, intended only for the use of the individual or entity named above.

If you are not the intended recipient, please notify us immediately by telephone or e-mail and destroy this communication. Thank you.

 

 


Re: Multi data-center configuration

Posted by Jonathan Ellis <jb...@gmail.com>.
the seeds list needs to be the same for both DCs -- in fact your whole
configuration file should be the same.

put one node from each DC in the seeds list.

On Thu, Oct 29, 2009 at 9:59 AM, Musto Domenico <Do...@yoox.com>wrote:

>  Hi,
>
>
>
> thank you for your reply.
>
>
>
> We tried your suggestion but it did not work.
>
>
>
> We are working on version 4.1 and we have already verified that there are
> no network problems between the datacenters. Also we verified that the nodes
> inside the same data center are joining each other without any problem.
>
>
>
> In attach our configuration files.
>
>
>
> I hope you can help us
>
>
>
> Thank you
>
>
>
> *From:* Jonathan Ellis [mailto:jbellis@gmail.com]
> *Sent:* giovedì 29 ottobre 2009 15.32
> *To:* cassandra-user@incubator.apache.org
> *Subject:* Re: Multi data-center configuration
>
>
>
> Try with one seed from each DC.
>
> On Thu, Oct 29, 2009 at 8:19 AM, Musto Domenico <Do...@yoox.com>
> wrote:
>
> Hi there,
>
>
>
> we are experiencing a problem with a multidatacenter configuration.
>
> We have the following scenario :
>
>
>
> We have two data-centers with 3 nodes each.
>
>
>
> We have configured seeds like this on each datacenter.
>
>
>
> <Seeds>
>
>       <Seed>ip1_datacenter_A</Seed>
>
>       <Seed>ip2_datacenter_A </Seed>
>
>       <Seed>ip3_datacenter_A </Seed>
>
>       <Seed>ip1_datacenter_B </Seed>
>
>   </Seeds>
>
>
>
> We tried both RackAwareStrategy and RackUnAwareStrategy but it seems that
> the two data-centers are not communicating at all between them.
>
>
>
> Also, with  version 4.1 and RackAwareStrategy we are getting an error : UnsupportedOperationException: Rack-aware bootstrapping not supported
>
>
>
> With trunk version we are not getting the error but there is no communication at all between datacenters.
>
>
>
>
>
>
>
>
> Can anyone help?
>
>
>
> Thanks
>
>
>
>
>
> Domenico Musto
>
> Software Factory Developer
>
> YOOX Group
>
> Via Nannetti 1, 40069 Zola Predosa, Bologna, Italia
>
> T  +39 051 6184240
>
> F  +39 051 6184215
>
> domenico.musto@yoox.com
>
>
>
> [image: http://cdn2.yoox.biz/signature/yooxygen.jpg]
>
> Please consider the environment before printing this e-mail.
>
>
>
> *NOTICE: The information contained in this message is confidential,
> intended only for the use of the individual or entity named above.*
>
> *If you are not the intended recipient, please notify us immediately by
> telephone or e-mail and destroy this communication. Thank you**.*
>
>
>

RE: Multi data-center configuration

Posted by Musto Domenico <Do...@yoox.com>.
Hi,

 

thank you for your reply.

 

We tried your suggestion but it did not work.

 

We are working on version 4.1 and we have already verified that there are no network problems between the datacenters. Also we verified that the nodes inside the same data center are joining each other without any problem.

 

In attach our configuration files.

 

I hope you can help us

 

Thank you

 

From: Jonathan Ellis [mailto:jbellis@gmail.com] 
Sent: giovedì 29 ottobre 2009 15.32
To: cassandra-user@incubator.apache.org
Subject: Re: Multi data-center configuration

 

Try with one seed from each DC.

On Thu, Oct 29, 2009 at 8:19 AM, Musto Domenico <Do...@yoox.com> wrote:

Hi there,

 

we are experiencing a problem with a multidatacenter configuration.

We have the following scenario :

 

We have two data-centers with 3 nodes each.

 

We have configured seeds like this on each datacenter.

 

<Seeds>

      <Seed>ip1_datacenter_A</Seed>

      <Seed>ip2_datacenter_A </Seed>

      <Seed>ip3_datacenter_A </Seed>

      <Seed>ip1_datacenter_B </Seed>

  </Seeds>

 

We tried both RackAwareStrategy and RackUnAwareStrategy but it seems that the two data-centers are not communicating at all between them.

 

Also, with  version 4.1 and RackAwareStrategy we are getting an error : UnsupportedOperationException: Rack-aware bootstrapping not supported
 
With trunk version we are not getting the error but there is no communication at all between datacenters.
 
 
 
Can anyone help?
 
Thanks

 

 

Domenico Musto 

Software Factory Developer

YOOX Group 

Via Nannetti 1, 40069 Zola Predosa, Bologna, Italia

T  +39 051 6184240 

F  +39 051 6184215 

domenico.musto@yoox.com 

 

 

Please consider the environment before printing this e-mail.

 

NOTICE: The information contained in this message is confidential, intended only for the use of the individual or entity named above.

If you are not the intended recipient, please notify us immediately by telephone or e-mail and destroy this communication. Thank you.

 


Re: Multi data-center configuration

Posted by Jonathan Ellis <jb...@gmail.com>.
Try with one seed from each DC.

On Thu, Oct 29, 2009 at 8:19 AM, Musto Domenico <Do...@yoox.com>wrote:

>  Hi there,
>
>
>
> we are experiencing a problem with a multidatacenter configuration.
>
> We have the following scenario :
>
>
>
> We have two data-centers with 3 nodes each.
>
>
>
> We have configured seeds like this on each datacenter.
>
>
>
> <Seeds>
>
>       <Seed>ip1_datacenter_A</Seed>
>
>       <Seed>ip2_datacenter_A </Seed>
>
>       <Seed>ip3_datacenter_A </Seed>
>
>       <Seed>ip1_datacenter_B </Seed>
>
>   </Seeds>
>
>
>
> We tried both RackAwareStrategy and RackUnAwareStrategy but it seems that
> the two data-centers are not communicating at all between them.
>
>
>
> Also, with  version 4.1 and RackAwareStrategy we are getting an error : UnsupportedOperationException: Rack-aware bootstrapping not supported
>
>
>
> With trunk version we are not getting the error but there is no communication at all between datacenters.
>
>
>
> Can anyone help?
>
>
>
> Thanks
>
>
>
>
>
> Domenico Musto
>
> Software Factory Developer
>
> YOOX Group
>
> Via Nannetti 1, 40069 Zola Predosa, Bologna, Italia
>
> T  +39 051 6184240
>
> F  +39 051 6184215
>
> domenico.musto@yoox.com
>
>
>
> [image: http://cdn2.yoox.biz/signature/yooxygen.jpg]
>
> Please consider the environment before printing this e-mail.
>
>
>
> *NOTICE: The information contained in this message is confidential,
> intended only for the use of the individual or entity named above.*
>
> *If you are not the intended recipient, please notify us immediately by
> telephone or e-mail and destroy this communication. Thank you**.*
>