Giter Site home page Giter Site logo

Seed node in a cluster about priam HOT 11 CLOSED

netflix avatar netflix commented on September 27, 2024
Seed node in a cluster

from priam.

Comments (11)

Vijay2win avatar Vijay2win commented on September 27, 2024

Seed node is one of the node in the ASG... If you run it in multiple zones then it will one from each Zone.

The REST call will change, but cassandra needs the list only during the boot time after that it stores every nodes Address internally.

from priam.

unixboy avatar unixboy commented on September 27, 2024

what happens if the seen node dies in a cluster?

from priam.

Vijay2win avatar Vijay2win commented on September 27, 2024

ASG is suppose to spin another instance and Priam will recognize that the old node is not going to come up and will bootstrap the node with the old token... Cassandra will in-turn do its magic.

from priam.

unixboy avatar unixboy commented on September 27, 2024

if it is a 0 token on the node then will a new one with a 0 token come on line?

from priam.

Vijay2win avatar Vijay2win commented on September 27, 2024

Yep. make sure you have priam and cassandra baked into a AMI and you use SDB for metadata.

from priam.

unixboy avatar unixboy commented on September 27, 2024

so if a new sead token node somes on line then it will take over for the failed one?
does the other nodes in the ring need to be restarted to see the need seed node?

from priam.

unixboy avatar unixboy commented on September 27, 2024

ok I have had a bit more luck.

I just cant seem to get the cluster up and running I can see there is a seed node on one of the nodes but not any other one.

do I have to modify the cassandra.yaml file in the tomcat direcotry for the seed node ?

from priam.

Vijay2win avatar Vijay2win commented on September 27, 2024

https://github.com/Netflix/Priam/wiki/Setup this doesnt help? You dont need to change anything in Cassandra.yaml file Priam will overwrite it for you.... All you need is 2 Zones if possible.

from priam.

unixboy avatar unixboy commented on September 27, 2024

what is the cap for the number of servers in a zone? can you explane how the security groups are setup for the clusters?

from priam.

Vijay2win avatar Vijay2win commented on September 27, 2024

There isn't a cap on the number of servers....

We recommend you create Separate ASG's for each zone, it has more to do with the way Autoscalers work (if one node goes down in a zone and no other node is available in the ASG then it will spin a node in the other zone and will randomly kill a node in the zone which it created a node).
You just need to setup one security group for cassandra and let cassandra within a region use it.

If you have multi region cluster then you should be using Ec2MultiRegionSnitch, enable encription (in cassandra) and set the property so Priam can open the ports for communication.

from priam.

sagarl avatar sagarl commented on September 27, 2024

Looks like this issue is resolved, hence closing it.

from priam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.