incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jeremy.Truel...@barclayscapital.com>
Subject RE: Multiple Seeds
Date Wed, 23 Feb 2011 19:59:39 GMT
To add a host to the seeds list after it has had the data streamed to it I need to


1.       stop it

2.       edit the yaml file to

a.       include it in the seeds list

b.      set auto boostrap to false

3.        restart it

correct? Additionally you would need to add it to the other nodes seed lists and restart them
as well.

From: Eric Gilmore [mailto:eric@datastax.com]
Sent: Wednesday, February 23, 2011 2:47 PM
To: user@cassandra.apache.org
Subject: Re: Multiple Seeds

Well -- when you first bring a node into a ring, you will probably want to stream data to
it with auto_bootstrap: true.

If you want that node to be a seed, then add it to the seeds list AFTER it has joined the
ring.

I'd refer you to the "Seed List" and "Autoboostrapping" sections of the Getting Started guide,
which contain the following blurbs:

There is no strict rule to determine which hosts need to be listed as seeds, but all nodes
in a cluster need the same seed list. For a production deployment, DataStax recommends two
seeds per data center.

An autobootstrapping node cannot have itself in the list of seeds nor can it contain an initial_token<http://www.datastax.com/docs/0.7/configuration/storage_configuration#initial-token>
already claimed by another node. To add new seeds, autobootstrap the nodes first, and then
configure them as seeds.





On Wed, Feb 23, 2011 at 11:39 AM, <Jeremy.Truelove@barclayscapital.com<mailto:Jeremy.Truelove@barclayscapital.com>>
wrote:
So all seeds should always be set to 'auto_bootstrap: false' in their .yaml file.

-----Original Message-----
From: Edward Capriolo [mailto:edlinuxguru@gmail.com<mailto:edlinuxguru@gmail.com>]
Sent: Wednesday, February 23, 2011 2:36 PM
To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
Cc: Truelove, Jeremy: IT (NYK)
Subject: Re: Multiple Seeds

On Wed, Feb 23, 2011 at 2:30 PM,  <Jeremy.Truelove@barclayscapital.com<mailto:Jeremy.Truelove@barclayscapital.com>>
wrote:
> Yeah I set the tokens, I'm more asking if I start the first seed node with
> autobootstrap set to false the second seed should have it set to true as
> well as all the slave nodes correct? I didn't see this in the docs but I may
> have just missed it.
>
>
>
> From: Eric Gilmore [mailto:eric@datastax.com<mailto:eric@datastax.com>]
> Sent: Wednesday, February 23, 2011 2:24 PM
> To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
> Subject: Re: Multiple Seeds
>
>
>
> The DataStax documentation offers some answers to those questions in the
> Getting Started section and the Clustering reference docs.
>
> Autobootstrap should be true, but with the important caveat that
> intial_token values should be specified.  Have a look at those docs, and
> please give feedback on how helpful they are/aren't.
>
> Regards,
>
> Eric Gilmore
>
> On Wed, Feb 23, 2011 at 11:15 AM, <Jeremy.Truelove@barclayscapital.com<mailto:Jeremy.Truelove@barclayscapital.com>>
> wrote:
>
> What's the best way to bring multiple seeds up, should only one of them have
> auto bootstrap set to true or should neither of them? Should they list
> themselves and the other seed in their seed section in the yaml config?
>
> _______________________________________________
>
>
>
> This e-mail may contain information that is confidential, privileged or
> otherwise protected from disclosure. If you are not an intended recipient of
> this e-mail, do not duplicate or redistribute it by any means. Please delete
> it and any attachments and notify the sender that you have received it in
> error. Unless specifically indicated, this e-mail is not an offer to buy or
> sell or a solicitation to buy or sell any securities, investment products or
> other financial product or service, an official confirmation of any
> transaction, or an official statement of Barclays. Any views or opinions
> presented are solely those of the author and do not necessarily represent
> those of Barclays. This e-mail is subject to terms available at the
> following link: www.barcap.com/emaildisclaimer<http://www.barcap.com/emaildisclaimer>.
By messaging with Barclays
> you consent to the foregoing.  Barclays Capital is the investment banking
> division of Barclays Bank PLC, a company registered in England (number
> 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.
> This email may relate to or be sent from other members of the Barclays
> Group.
>
> _______________________________________________
>
>

If a node is defined as a seeds it will never auto bootstrap. After it
has bootstrapped and has a system table you can set its yaml file as a
seed if you wish.


_______________________________________________

This e-mail may contain information that is confidential, privileged or otherwise protected
from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or
redistribute it by any means. Please delete it and any attachments and notify the sender that
you have received it in error. Unless specifically indicated, this e-mail is not an offer
to buy or sell or a solicitation to buy or sell any securities, investment products or other
financial product or service, an official confirmation of any transaction, or an official
statement of Barclays. Any views or opinions presented are solely those of the author and
do not necessarily represent those of Barclays. This e-mail is subject to terms available
at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent
to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC,
a company registered in England (number 1026167) with its registered office at 1 Churchill
Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays
Group.
_______________________________________________

Mime
View raw message