On Thu, Nov 28, 2013 at 14:59:57, Tommaso Cucinotta wrote: > Subject: Re: [Clearwater] cassandra 2.0.2 ? > > 2 questions related to this: > > 1) if I run this upgrade script on a set of 4 nodes in AWS where I > have bono, sprout, hs, homer, and later I scale up with chef to have > more instances, do the new instances come with the upgraded software, > or otherwise what is necessary to achieve that ?
Yes, our chef scripts always install the latest software from a given repo, so if you upgrade a cluster and then scale up, all nodes will be running the same software. The chef environment (described at https://github.com/Metaswitch/clearwater-docs/wiki/Creating%20a%20deployment%20environment#creating-the-environment) identifies the repo to use. We have multiple repos for different stabilities of code. We generally recommend http://repo.cw-ngv.com/stable as the latest stable release, but for internal development we often use http://repo.cw-ngv.com/latest, which is built from the latest code in github (and so might get broken from time to time). > 2) as I'm provisioning users by using the script that populates the > Cassandra db on hs+homer, what happens when scaling up homestead and > homer ? Do I end-up with inconsistencies across the different hs/homer > instances, or is that all ok ? When you scale up homestead and homer, the new nodes join the existing Cassandra cluster. Cassandra then automatically redistributes the data around the cluster. You don't end up with inconsistencies. I hope that helps. Please let me know if you have any further questions. Thanks, Matt _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
