Jenkins and HA

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins and HA

Walter Heestermans
Hi,

How can setup HA with Jenkins OpenSource? I have now one master running and two agents, can I just add a second master and put an LB in front of it. The Jenkins home of my current master is on shared file system.

Regards
walter

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins and HA

nicolas de loof-2
you can't do this way, two masters sharing same JENKINS_HOME would override each other configuration on disk. Jenkins is designed as a single-instance server.

2017-12-05 8:30 GMT+01:00 Walter Heestermans <[hidden email]>:
Hi,

How can setup HA with Jenkins OpenSource? I have now one master running and two agents, can I just add a second master and put an LB in front of it. The Jenkins home of my current master is on shared file system.

Regards
walter

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzk-gjEracC0F_DqrubodZ_o67%3Dn4CSgcPV6PHfxObxhiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins and HA

Walter Heestermans
So, we have to go to solutions like CloudBees? Other solutions available for HA and to look at?


Op dinsdag 5 december 2017 10:13:27 UTC+1 schreef nicolas de loof:
you can't do this way, two masters sharing same JENKINS_HOME would override each other configuration on disk. Jenkins is designed as a single-instance server.

2017-12-05 8:30 GMT+01:00 Walter Heestermans <<a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="nIQdeE1LBgAJ">walter.he...@...>:
Hi,

How can setup HA with Jenkins OpenSource? I have now one master running and two agents, can I just add a second master and put an LB in front of it. The Jenkins home of my current master is on shared file system.

Regards
walter

--
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 <a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="nIQdeE1LBgAJ">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" href="https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow">https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com.
For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c9b8fb81-09d6-4295-9218-2c3252fa8749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins and HA

nicolas de loof-2
#disclaimer I'm working by CloudBees
CloudBees indeed has such a HA solution based on active/passive jenkins masters.

I don't know if there's another mature alternative, haven't really searched for it nor tested.

2017-12-05 10:17 GMT+01:00 Walter Heestermans <[hidden email]>:
So, we have to go to solutions like CloudBees? Other solutions available for HA and to look at?


Op dinsdag 5 december 2017 10:13:27 UTC+1 schreef nicolas de loof:
you can't do this way, two masters sharing same JENKINS_HOME would override each other configuration on disk. Jenkins is designed as a single-instance server.

2017-12-05 8:30 GMT+01:00 Walter Heestermans <[hidden email]>:
Hi,

How can setup HA with Jenkins OpenSource? I have now one master running and two agents, can I just add a second master and put an LB in front of it. The Jenkins home of my current master is on shared file system.

Regards
walter

--
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/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c9b8fb81-09d6-4295-9218-2c3252fa8749%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJznYs1tO3UeUkEpAgJVVP5t%2B%2Bdr%2BOaog9%3DttegPtyyOHtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins and HA

Walter Heestermans
Are you saying that even with CloudBees you have active/passive masters, but can you have multiple masters active too? Or is this not the setup of masters?


Op dinsdag 5 december 2017 10:26:42 UTC+1 schreef nicolas de loof:
#disclaimer I'm working by CloudBees
CloudBees indeed has such a HA solution based on active/passive jenkins masters.

I don't know if there's another mature alternative, haven't really searched for it nor tested.
You might be interested by <a onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.voleg.info%2Fjenkins-ha-cluster-centos-drbd-pacemaker-kvm.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGkZXyRHZZd8gsvRzbtB52xIwrm5A&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.voleg.info%2Fjenkins-ha-cluster-centos-drbd-pacemaker-kvm.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGkZXyRHZZd8gsvRzbtB52xIwrm5A&#39;;return true;" href="http://www.voleg.info/jenkins-ha-cluster-centos-drbd-pacemaker-kvm.html" target="_blank" rel="nofollow">http://www.voleg.info/jenkins-ha-cluster-centos-drbd-pacemaker-kvm.html

2017-12-05 10:17 GMT+01:00 Walter Heestermans <<a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="YKB-jQZMBgAJ">walter.he...@...>:
So, we have to go to solutions like CloudBees? Other solutions available for HA and to look at?


Op dinsdag 5 december 2017 10:13:27 UTC+1 schreef nicolas de loof:
you can't do this way, two masters sharing same JENKINS_HOME would override each other configuration on disk. Jenkins is designed as a single-instance server.

2017-12-05 8:30 GMT+01:00 Walter Heestermans <[hidden email]>:
Hi,

How can setup HA with Jenkins OpenSource? I have now one master running and two agents, can I just add a second master and put an LB in front of it. The Jenkins home of my current master is on shared file system.

Regards
walter

--
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 <a onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" href="https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow">https://groups.google.com/d/msgid/jenkinsci-users/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com.
For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.

--
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 <a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="YKB-jQZMBgAJ">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c9b8fb81-09d6-4295-9218-2c3252fa8749%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c9b8fb81-09d6-4295-9218-2c3252fa8749%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" href="https://groups.google.com/d/msgid/jenkinsci-users/c9b8fb81-09d6-4295-9218-2c3252fa8749%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow">https://groups.google.com/d/msgid/jenkinsci-users/c9b8fb81-09d6-4295-9218-2c3252fa8749%40googlegroups.com.

For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4a7acc8d-f2e4-4e07-b8cf-8e23502a2f89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins and HA

nicolas de loof-2
CloudBees HA is indeed based on active/passive master, there's no support for mutli-active-masters (yet, I don't know the roadmap for this)

2017-12-05 10:31 GMT+01:00 Walter Heestermans <[hidden email]>:
Are you saying that even with CloudBees you have active/passive masters, but can you have multiple masters active too? Or is this not the setup of masters?


Op dinsdag 5 december 2017 10:26:42 UTC+1 schreef nicolas de loof:
#disclaimer I'm working by CloudBees
CloudBees indeed has such a HA solution based on active/passive jenkins masters.

I don't know if there's another mature alternative, haven't really searched for it nor tested.

2017-12-05 10:17 GMT+01:00 Walter Heestermans <[hidden email]>:
So, we have to go to solutions like CloudBees? Other solutions available for HA and to look at?


Op dinsdag 5 december 2017 10:13:27 UTC+1 schreef nicolas de loof:
you can't do this way, two masters sharing same JENKINS_HOME would override each other configuration on disk. Jenkins is designed as a single-instance server.

2017-12-05 8:30 GMT+01:00 Walter Heestermans <[hidden email]>:
Hi,

How can setup HA with Jenkins OpenSource? I have now one master running and two agents, can I just add a second master and put an LB in front of it. The Jenkins home of my current master is on shared file system.

Regards
walter

--
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/b5b3b249-8ad8-4cb2-9282-706b707a373e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/c9b8fb81-09d6-4295-9218-2c3252fa8749%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4a7acc8d-f2e4-4e07-b8cf-8e23502a2f89%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzk56LspAbAefQOux2n8TgBwOBY0UeX53PfqxejwJSO-2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins and HA

Victor Martinez
In reply to this post by nicolas de loof-2
There is a plugin which I have never used but it might be relevant for this question:
- https://wiki.jenkins.io/display/JENKINS/Gearman+Plugin

Although, it seems it's developed by OpenStack and IIRC it was acquired a couple of years ago likely that's the reason no further development since then.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/48a75e10-b3b0-4d96-bb6d-3e2aea2fd2ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.