How to setup Jenkins with HA?

前端 未结 2 1489
借酒劲吻你
借酒劲吻你 2020-12-30 01:49

Currently we are using a Jenkins as our CI system and there is one master server and slaves which are provisioned by Saltstack on Openstack. If our Jenkins master server goe

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-30 02:08

    I use cluster from scratch doc to create a Jenkins WAN-HA active/passive cluster. See the attached Architecture Diagram for Jenkins HA using pacemaker .

    /etc/init.d/jenkins will need to be converted to be an ocf agent script. Currently I manually start up Jenkins via systemd on pcmk-2 server when pcmk-1 is down.

提交回复
热议问题