Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Alex De la rosa
Hi Luke, Cool, understood :) then is not as troublesome as I thought. Thanks, Alex On Mon, May 23, 2016 at 10:37 PM, Luke Bakken wrote: > On Mon, May 23, 2016 at 11:07 AM, Alex De la rosa > wrote: > > So if the node with Stanchion fatally crashed and can not be recovered I > can > > install S

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Luke Bakken
On Mon, May 23, 2016 at 11:07 AM, Alex De la rosa wrote: > So if the node with Stanchion fatally crashed and can not be recovered I can > install Stanchion in another node and this node will get the "master" role? Yes. There is no concept of "master" or "slave" with Stanchion, since only one Stan

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Alex De la rosa
So if the node with Stanchion fatally crashed and can not be recovered I can install Stanchion in another node and this node will get the "master" role? Also, you said that if Stanchion is down it can not create users and buckets... but can it still create keys inside the existing buckets? and als

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Sargun Dhillon
I never got around to it, but it should be pretty easy to glue Consul to Stanchion to HaProxy. As far as gluing HAProxy to Consule -- that should be pretty easy: https://github.com/hashicorp/consul-template. And Stanchion with Consul lock: https://www.consul.io/docs/commands/lock.html. It shouldn't

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Luke Bakken
Alex - You won't be able to create new users or buckets while Stanchion is offline. You would follow normal procedures to rebuild Riak KV on the crashed node, and in the meantime could bring up Stanchion on an existing node. -- Luke Bakken Engineer lbak...@basho.com On Mon, May 23, 2016 at 9:29

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Alex De la rosa
Hi Luke, Ok, understood, what if I don't have a load balancer and the node having Stanchion crashes? what will happen to the cluster and how to rebuild it? Thanks, Alex On Mon, May 23, 2016 at 8:09 PM, Luke Bakken wrote: > Hi Alex, > > You should only have one active Stanchion process running

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Luke Bakken
Hi Alex, You should only have one active Stanchion process running in your cluster, since its purpose is to ensure consistent, ordered operations with regard to users and buckets. You can have a hot-backup if you configure a load balancer to proxy requests from the Riak CS processes. -- Luke Bakke

Questions about installing Stanchion for Riak CS

2016-05-21 Thread Alex De la rosa
Hi there, I'm creating a Riak CS cluster and I got some questions about the following sentence from the documentation: *Riak KV and Riak CS must be installed on each node in your cluster. Stanchion, however, needs to be installed on only one node.* Is this statement saying that only 1 node can h