HA/clustered jenkins

12 views
Skip to first unread message

E.S. Rosenberg

unread,
Apr 5, 2020, 9:08:09 AM4/5/20
to jenkins...@googlegroups.com
Hi all,

We're looking at making our jenkins setup more resilient and I was reading the following page:
https://jenkins.io/doc/book/architecting-for-scale/#resilient-jenkins-architecture

This mentions the following:
"Each Jenkins master needs to be set up such that it is part of a Jenkins cluster.

A proxy (typically HAProxy or F5) then fronts the primary master. The proxy’s job is to continuously monitor the primary master and route requests to the backup if the primary goes down. To make the infrastructure more resilient, you can have multiple backup masters configured."

There are 2 things that I'm trying to now understand upon rereading this section:

1. While the opening of this page mentions vertical vs. horizontal scaling it would seem that there is no true way to do horizontal scaling without creating mini-domains for which each jenkins master schedules.

2. There is no shared state between the machines other then maybe sharing NFS which is OK if only 1 machine is truly active at any given time.

Lastly it would seem a master-master setup is at this time impossible.

Am I correct in my interpretation of the docs?

Thanks,
Eli

Mark Waite

unread,
Apr 5, 2020, 11:26:15 AM4/5/20
to Jenkins Users
You've interpreted the documentation correctly.  

https://stackoverflow.com/questions/36173214/how-to-setup-jenkins-with-ha  and several blog posts describe different alternative for an active/passive HA setup. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAHxFV_vaEwrWmSjEqdBhDGnEQdk9T-tTQ%3D%2B7SK9cGO3tyApsHw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages