1

I am using Jenkins with Gearman Plugin to achieve master-master high availability in Jenkins. But now the single point of failure has become the Gearman-Server.

Gearman Plugin allows me to connect to only one Gearman-Server at a time, So how can I achieve High Availability for Gearman Server?

ksmaurya
  • 91
  • 1
  • 2
  • 10

1 Answers1

0

You can run multiple Gearman servers (i.e. run one for each Jenkins master) and have them all persist their queues to the same database (which can also be distributed).

This protects you against the loss of jobs if a single Gearman server fails, but note that Gearman servers do not sync their queues with persistent storage until restarted. More on this here: What's best practice for HA gearman job servers

Colin Pickard
  • 45,724
  • 13
  • 98
  • 148