sensu server for High availability

Hi All,

I need to create high availability sensu server ,min 2 servers which will be used in my application.

As of now I have single sensu server ,which is running fine.

But I am not able to find any documents, for creating multiple sensu servers for high availability.

Please guide me in resolving the issue.

Thanks in advance

The sensu-server is stateless and does its own leader election. You
can run as many as you want.

I agree this isn't exactly documented very well anymore? This used to
be in a doc I wrote
https://sensuapp.org/docs/0.16/scaling_strategies

Additionally each dependency of sensu can be made HA. Read the docs:
https://sensuapp.org/docs/latest/rabbitmq#configuring-rabbitmq-for-high-availability-ha
https://sensuapp.org/docs/latest/redis#configuring-redis-for-high-availability-ha

If you are using uchiwa, it is just a stateless http dashboard and be
made HA behind a normal http load balancer.

Additionally, using a search engine for "sensu high availability"
returns a number of blog posts from users who have done this in their
own ways (there is more than one way to do it), which you can draw
from to help design your architecture.

···

On Mon, Dec 14, 2015 at 1:03 AM, kumar kittu <dvrkittu@gmail.com> wrote:

Hi All,

I need to create high availability sensu server ,min 2 servers which will be
used in my application.
As of now I have single sensu server ,which is running fine.

But I am not able to find any documents, for creating multiple sensu
servers for high availability.

Please guide me in resolving the issue.

Thanks in advance

Thanks Kyle

Coild you please clear few below queries:

  1. I am using uchiwa in sensu server but if I go with Sensu HA and as per https://sensuapp.org/docs/0.16/scaling_strategies ,sensu does it own internal master election.so iam bit confused how to configure uchiwa.

  2. Please elaborate the statement “if you are using uchiwa, it is just a stateless http dashboard and be made HA behind a normal http load balancer.”

Thanks in advance

···

On Monday, December 14, 2015 at 9:19:24 PM UTC+5:30, Kyle Anderson wrote:

The sensu-server is stateless and does its own leader election. You
can run as many as you want.

I agree this isn’t exactly documented very well anymore? This used to
be in a doc I wrote
https://sensuapp.org/docs/0.16/scaling_strategies

Additionally each dependency of sensu can be made HA. Read the docs:
https://sensuapp.org/docs/latest/rabbitmq#configuring-rabbitmq-for-high-availability-ha

https://sensuapp.org/docs/latest/redis#configuring-redis-for-high-availability-ha

If you are using uchiwa, it is just a stateless http dashboard and be
made HA behind a normal http load balancer.

Additionally, using a search engine for “sensu high availability”
returns a number of blog posts from users who have done this in their
own ways (there is more than one way to do it), which you can draw
from to help design your architecture.

On Mon, Dec 14, 2015 at 1:03 AM, kumar kittu dvrk...@gmail.com wrote:

Hi All,

I need to create high availability sensu server ,min 2 servers which will be
used in my application.
As of now I have single sensu server ,which is running fine.

But I am not able to find any documents, for creating multiple sensu
servers for high availability.

Please guide me in resolving the issue.

Thanks in advance

1.
- sensu-server does its own master election, just run multiples to achieve HA
- sensu-api is a stateless web interface, run multiples and put it
behind a http load balancer to achieve HA.
- uchiwa is a stateless web interface, run multiples and put it behind
an http load balancer to achieve HA. Configure uchiwa to use the load
balanced sensu-api http endpoint above.

2. I don't feel like elaborating on this subject very much as http
load balancing is a very established pattern by now. I encourage you
to look at techologies ilke HAproxy and Nginx:

http://nginx.org/en/docs/http/load_balancing.html

···

On Wed, Dec 16, 2015 at 9:28 PM, kumar kittu <dvrkittu@gmail.com> wrote:

Thanks Kyle

Coild you please clear few below queries:
1. I am using uchiwa in sensu server but if I go with Sensu HA and as per
https://sensuapp.org/docs/0.16/scaling_strategies ,sensu does it own
internal master election.so iam bit confused how to configure uchiwa.

2. Please elaborate the statement "if you are using uchiwa, it is just a
stateless http dashboard and be made HA behind a normal http load balancer."

Thanks in advance

On Monday, December 14, 2015 at 9:19:24 PM UTC+5:30, Kyle Anderson wrote:

The sensu-server is stateless and does its own leader election. You
can run as many as you want.

I agree this isn't exactly documented very well anymore? This used to
be in a doc I wrote
https://sensuapp.org/docs/0.16/scaling_strategies

Additionally each dependency of sensu can be made HA. Read the docs:

https://sensuapp.org/docs/latest/rabbitmq#configuring-rabbitmq-for-high-availability-ha

https://sensuapp.org/docs/latest/redis#configuring-redis-for-high-availability-ha

If you are using uchiwa, it is just a stateless http dashboard and be
made HA behind a normal http load balancer.

Additionally, using a search engine for "sensu high availability"
returns a number of blog posts from users who have done this in their
own ways (there is more than one way to do it), which you can draw
from to help design your architecture.

On Mon, Dec 14, 2015 at 1:03 AM, kumar kittu <dvrk...@gmail.com> wrote:
> Hi All,
>
> I need to create high availability sensu server ,min 2 servers which
> will be
> used in my application.
> As of now I have single sensu server ,which is running fine.
>
> But I am not able to find any documents, for creating multiple sensu
> servers for high availability.
>
> Please guide me in resolving the issue.
>
> Thanks in advance

Thanks Kyle

···

On Thursday, December 17, 2015 at 9:41:09 PM UTC+5:30, Kyle Anderson wrote:

  • sensu-server does its own master election, just run multiples to achieve HA
  • sensu-api is a stateless web interface, run multiples and put it
    behind a http load balancer to achieve HA.
  • uchiwa is a stateless web interface, run multiples and put it behind
    an http load balancer to achieve HA. Configure uchiwa to use the load
    balanced sensu-api http endpoint above.
  1. I don’t feel like elaborating on this subject very much as http
    load balancing is a very established pattern by now. I encourage you
    to look at techologies ilke HAproxy and Nginx:
    https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps

http://nginx.org/en/docs/http/load_balancing.html

On Wed, Dec 16, 2015 at 9:28 PM, kumar kittu dvrk...@gmail.com wrote:

Thanks Kyle

Coild you please clear few below queries:

  1. I am using uchiwa in sensu server but if I go with Sensu HA and as per
    https://sensuapp.org/docs/0.16/scaling_strategies ,sensu does it own
    internal master election.so iam bit confused how to configure uchiwa.

  2. Please elaborate the statement “if you are using uchiwa, it is just a
    stateless http dashboard and be made HA behind a normal http load balancer.”

Thanks in advance

On Monday, December 14, 2015 at 9:19:24 PM UTC+5:30, Kyle Anderson wrote:

The sensu-server is stateless and does its own leader election. You
can run as many as you want.

I agree this isn’t exactly documented very well anymore? This used to
be in a doc I wrote
https://sensuapp.org/docs/0.16/scaling_strategies

Additionally each dependency of sensu can be made HA. Read the docs:

https://sensuapp.org/docs/latest/rabbitmq#configuring-rabbitmq-for-high-availability-ha

https://sensuapp.org/docs/latest/redis#configuring-redis-for-high-availability-ha

If you are using uchiwa, it is just a stateless http dashboard and be
made HA behind a normal http load balancer.

Additionally, using a search engine for “sensu high availability”
returns a number of blog posts from users who have done this in their
own ways (there is more than one way to do it), which you can draw
from to help design your architecture.

On Mon, Dec 14, 2015 at 1:03 AM, kumar kittu dvrk...@gmail.com wrote:

Hi All,

I need to create high availability sensu server ,min 2 servers which
will be
used in my application.
As of now I have single sensu server ,which is running fine.

But I am not able to find any documents, for creating multiple sensu
servers for high availability.

Please guide me in resolving the issue.

Thanks in advance