Re: Multiple cassandra instances per physical node

2015-05-26 Thread Ken Hancock
I had the exact same question, but I think this is what Nate was thinking: If you're running multiple nodes on a single server, vnodes give you no control over which instance has which key (whereas you can assign initial tokens). Therefore you could have two of your three replicas on the same

Re: Multiple cassandra instances per physical node

2015-05-26 Thread Ben Bromhead
@Sean - You can manually change the ports used by Datastax agent using the address.yaml file in the agent install directory. +1 on using racks to separate it out... but it will increase operational complexity somewhat On 26 May 2015 at 08:11, Nate McCall n...@thelastpickle.com wrote: If

Re: Multiple cassandra instances per physical node

2015-05-26 Thread Nate McCall
If you're running multiple nodes on a single server, vnodes give you no control over which instance has which key (whereas you can assign initial tokens). Therefore you could have two of your three replicas on the same physical server which, if it goes down, you can't read or write at

Re: Multiple cassandra instances per physical node

2015-05-26 Thread Jake Luciani
If I have a 20-node cluster with 2 nodes on each physical server, can I use 10 racks to properly segment my partitions? Yes. On Sun, May 24, 2015 at 5:38 PM, Jonathan Haddad j...@jonhaddad.com wrote: What impact would vnodes have on strong consistency? I think the problem you're

Re: Multiple cassandra instances per physical node

2015-05-24 Thread Jonathan Haddad
What impact would vnodes have on strong consistency? I think the problem you're describing exists with or without them. On Sat, May 23, 2015 at 2:30 PM Nate McCall n...@thelastpickle.com wrote: So my question is: suppose I take a 12 disk JBOD and run 2 Cassandra nodes (each with 5 data

Re: Multiple cassandra instances per physical node

2015-05-23 Thread Nate McCall
So my question is: suppose I take a 12 disk JBOD and run 2 Cassandra nodes (each with 5 data disks, 1 commit log disk) and either give each its own container IP or change the listen ports. Will this work? What are the risks? Will/should Cassandra support this better in the future? Don't

RE: Multiple cassandra instances per physical node

2015-05-22 Thread SEAN_R_DURITY
connect to one of the rings. We haven’t tried two OpsCenter agent installs, yet. Sean Durity From: Jonathan Haddad [mailto:j...@jonhaddad.com] Sent: Thursday, May 21, 2015 5:26 PM To: user@cassandra.apache.org Subject: Re: Multiple cassandra instances per physical node Yep, that would be one way

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Carlos Rolo
Hi, I also advice against multiple instances on the same hardware. If you have really big boxes why not virtualize? Other option is experiment with CCM. Although there are some limitations with CCM (ex: JNA is disabled) If you follow up on this I would to hear how it went. Em 21/05/2015 19:33,

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Sebastian Estevez
JBOD -- just a bunch of disks, no raid. All the best, [image: datastax_logo.png] http://www.datastax.com/ Sebastián Estévez Solutions Architect | 954 905 8615 | sebastian.este...@datastax.com [image: linkedin.png] https://www.linkedin.com/company/datastax [image: facebook.png]

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Dan Kinder
@James Rothering yeah I was thinking of container in a broad sense: either full virtual machines, docker containers, straight LXC, or whatever else would allow the Cassandra nodes to have their own IPs and bind to default ports. @Jonathan Haddad thanks for the blog post. To ensure the same host

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Jonathan Haddad
You could use docker but it's not required. You could use LXC if you wanted. Shameless self promo: http://rustyrazorblade.com/2013/08/advanced-devops-with-vagrant-and-lxc/ On Thu, May 21, 2015 at 1:00 PM James Rothering jrother...@codojo.me wrote: Hmmm ... Not familiar with JBOD. Is that

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Horký , Jiří
Hi, we do operate multiple instances (of possibly different versions) of Cassandra on rather thick nodes. The only problem we encountered so far was sharing same physical data disk among multiple instances - it proved to not be the best idea.Sharing of commitlog disks caused no troubles so far.

Re: Multiple cassandra instances per physical node

2015-05-21 Thread James Rothering
Hmmm ... Not familiar with JBOD. Is that just RAID-0? Also ... wrt the container talk, is that a Docker container you're talking about? On Thu, May 21, 2015 at 12:48 PM, Jonathan Haddad j...@jonhaddad.com wrote: If you run it in a container with dedicated IPs it'll work just fine. Just be

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Jonathan Haddad
Yep, that would be one way to handle it. On Thu, May 21, 2015 at 2:07 PM Dan Kinder dkin...@turnitin.com wrote: @James Rothering yeah I was thinking of container in a broad sense: either full virtual machines, docker containers, straight LXC, or whatever else would allow the Cassandra nodes

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Jonathan Haddad
If you run it in a container with dedicated IPs it'll work just fine. Just be sure you aren't using the same machine to replicate it's own data. On Thu, May 21, 2015 at 12:43 PM Manoj Khangaonkar khangaon...@gmail.com wrote: +1. I agree we need to be able to run multiple server instances on

Re: Multiple cassandra instances per physical node

2015-05-21 Thread Manoj Khangaonkar
+1. I agree we need to be able to run multiple server instances on one physical machine. This is especially necessary in development and test environments where one is experimenting and needs a cluster, but do not have access to multiple physical machines. If you google , you can find a few