Re: Changing ring size on 1.4 cluster
Thank you Luke. On Wed, Jun 1, 2016 at 1:46 PM, Luke Bakkenwrote: > Hi Johnny, > > Yes, the latter two are your main options. For a 1.4 series Riak > installation, your only option is to bring up a new cluster with the > desired ring size and replicate data. > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Fri, May 27, 2016 at 12:11 PM, Johnny Tan wrote: > > The docs > http://docs.basho.com/riak/kv/2.1.4/configuring/basic/#ring-size > > seem to imply that there's no easy, non-destructive way to change a > > cluster's ring size live for Riak-1.4x. > > > > I thought about replacing one node at a time, but you can't join a new > node > > or replace an existing one with a node that has a different ring size. > > > > I was also thinking of bring up a completely new cluster with the new > ring > > size, and then replicating the data from the original cluster, and take a > > quick maintenance window to failover to the new cluster. > > > > One other alternative seems to be to upgrade to 2.0, and then use 2.x's > > ability to resize the ring. > > > > Are these latter two my main options? > > > > johnny > > > > ___ > > riak-users mailing list > > riak-users@lists.basho.com > > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: Changing ring size on 1.4 cluster
Alex, While a command does exist to resize the ring in Riak 2, it is for all intents and purposes deprecated. The best solution, as always, is to benchmark your cluster's performance using real world load, and plan for a bit of head room if expansion is likely. -- Luke Bakken Engineer lbak...@basho.com On Wed, Jun 1, 2016 at 11:51 AM, Alex De la rosawrote: > Can the ring size be changed easily in Riak 2.X? > > Imagine I have 5 servers originally with a ring_size = 64... If later on I > add 5 more servers (10 in total) and I also want to duplicate the > partitions, can I just edit the ring_size to 128? > > How would be the process to do it? Will it rebalance properly and have no > issues? > > Thanks, > Alex > > On Wed, Jun 1, 2016 at 10:46 PM, Luke Bakken wrote: >> >> Hi Johnny, >> >> Yes, the latter two are your main options. For a 1.4 series Riak >> installation, your only option is to bring up a new cluster with the >> desired ring size and replicate data. >> -- >> Luke Bakken >> Engineer >> lbak...@basho.com >> >> >> On Fri, May 27, 2016 at 12:11 PM, Johnny Tan wrote: >> > The docs >> > http://docs.basho.com/riak/kv/2.1.4/configuring/basic/#ring-size >> > seem to imply that there's no easy, non-destructive way to change a >> > cluster's ring size live for Riak-1.4x. >> > >> > I thought about replacing one node at a time, but you can't join a new >> > node >> > or replace an existing one with a node that has a different ring size. >> > >> > I was also thinking of bring up a completely new cluster with the new >> > ring >> > size, and then replicating the data from the original cluster, and take >> > a >> > quick maintenance window to failover to the new cluster. >> > >> > One other alternative seems to be to upgrade to 2.0, and then use 2.x's >> > ability to resize the ring. >> > >> > Are these latter two my main options? >> > >> > johnny >> > >> > ___ >> > riak-users mailing list >> > riak-users@lists.basho.com >> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > >> >> ___ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: Changing ring size on 1.4 cluster
Can the ring size be changed easily in Riak 2.X? Imagine I have 5 servers originally with a ring_size = 64... If later on I add 5 more servers (10 in total) and I also want to duplicate the partitions, can I just edit the ring_size to 128? How would be the process to do it? Will it rebalance properly and have no issues? Thanks, Alex On Wed, Jun 1, 2016 at 10:46 PM, Luke Bakkenwrote: > Hi Johnny, > > Yes, the latter two are your main options. For a 1.4 series Riak > installation, your only option is to bring up a new cluster with the > desired ring size and replicate data. > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Fri, May 27, 2016 at 12:11 PM, Johnny Tan wrote: > > The docs > http://docs.basho.com/riak/kv/2.1.4/configuring/basic/#ring-size > > seem to imply that there's no easy, non-destructive way to change a > > cluster's ring size live for Riak-1.4x. > > > > I thought about replacing one node at a time, but you can't join a new > node > > or replace an existing one with a node that has a different ring size. > > > > I was also thinking of bring up a completely new cluster with the new > ring > > size, and then replicating the data from the original cluster, and take a > > quick maintenance window to failover to the new cluster. > > > > One other alternative seems to be to upgrade to 2.0, and then use 2.x's > > ability to resize the ring. > > > > Are these latter two my main options? > > > > johnny > > > > ___ > > riak-users mailing list > > riak-users@lists.basho.com > > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > > ___ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: Changing ring size on 1.4 cluster
Hi Johnny, Yes, the latter two are your main options. For a 1.4 series Riak installation, your only option is to bring up a new cluster with the desired ring size and replicate data. -- Luke Bakken Engineer lbak...@basho.com On Fri, May 27, 2016 at 12:11 PM, Johnny Tanwrote: > The docs http://docs.basho.com/riak/kv/2.1.4/configuring/basic/#ring-size > seem to imply that there's no easy, non-destructive way to change a > cluster's ring size live for Riak-1.4x. > > I thought about replacing one node at a time, but you can't join a new node > or replace an existing one with a node that has a different ring size. > > I was also thinking of bring up a completely new cluster with the new ring > size, and then replicating the data from the original cluster, and take a > quick maintenance window to failover to the new cluster. > > One other alternative seems to be to upgrade to 2.0, and then use 2.x's > ability to resize the ring. > > Are these latter two my main options? > > johnny > > ___ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: Changing ring size on 1.4 cluster
Any answers about this? Thanks, Alex On Sun, May 29, 2016 at 2:31 PM, Alex De la rosawrote: > Hi there, > > I'm interested on knowing how to increase the cluster's ring too... i'm > using Riak 2.X though... any documentation around on how to play with the > number of servers/partitions? > > Thanks, > Alex > > On Fri, May 27, 2016 at 11:11 PM, Johnny Tan wrote: > >> The docs http://docs.basho.com/riak/kv/2.1.4/configuring/basic/#ring-size >> seem to imply that there's no easy, non-destructive way to change a >> cluster's ring size live for Riak-1.4x. >> >> I thought about replacing one node at a time, but you can't join a new >> node or replace an existing one with a node that has a different ring size. >> >> I was also thinking of bring up a completely new cluster with the new >> ring size, and then replicating the data from the original cluster, and >> take a quick maintenance window to failover to the new cluster. >> >> One other alternative seems to be to upgrade to 2.0, and then use 2.x's >> ability to resize the ring. >> >> Are these latter two my main options? >> >> johnny >> >> ___ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> > ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: Changing ring size on 1.4 cluster
Hi there, I'm interested on knowing how to increase the cluster's ring too... i'm using Riak 2.X though... any documentation around on how to play with the number of servers/partitions? Thanks, Alex On Fri, May 27, 2016 at 11:11 PM, Johnny Tanwrote: > The docs http://docs.basho.com/riak/kv/2.1.4/configuring/basic/#ring-size > seem to imply that there's no easy, non-destructive way to change a > cluster's ring size live for Riak-1.4x. > > I thought about replacing one node at a time, but you can't join a new > node or replace an existing one with a node that has a different ring size. > > I was also thinking of bring up a completely new cluster with the new ring > size, and then replicating the data from the original cluster, and take a > quick maintenance window to failover to the new cluster. > > One other alternative seems to be to upgrade to 2.0, and then use 2.x's > ability to resize the ring. > > Are these latter two my main options? > > johnny > > ___ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com