Issue
-
How to correctly disable High Availability (active/passive)?
-
Why is HA still running even after I have uninstalled the CloudBees High Availability (active/passive) Management plugin (cloudbees-ha)?
Resolution
Option 1: Pass the following Java argument to Jenkins:
-Dcom.cloudbees.jenkins.ha=false
Option 2: Use the environment variable:
JENKINS_HA=false
and then restart Jenkins.
Cleanup
If you are disabling permanently and would also like to remove the no longer used working files, you need to delete a directory specified in the HA_JGROUPS_DIR
Java System Property which defaults to $JENKINS_HOME/jgroups
. Advanced tuning is available via the $JENKINS_HOME/jgroups.xml
file, so it can also be removed if it is present.