Issue
Best practice is to set client controllers and managed controllers with zero executors on the built-in node. However, performing backup (using the CloudBees Backup Plugin) requires an executor to run on the built-in node (backups of JENKINS_HOME).
Resolution
Instead of creating the Backup job on each individual controller, use an Operations Center Cluster Operation to perform backups of all controllers, this does not require executors on those controllers' built-in nodes.
-
Verify Operations Center Server Cluster Operations Plugin is installed on your CJOC
-
When on the CJOC, choose
New Item
and choose a name, and selectCluster Operations
as the job type -
Select
Add Operation
, thencontrollers
-
Select
From Operations Center Root
underTarget controllers
andSource
headings -
Add Filter and select Client controller / Managed controller is Online
-
Add Step and select Backup Master
-
Decide What to backup, Where to backup and Backup retention
-
Click the Advanced button and select a compression scheme (tar.gz or zip)
-
Save
-
Finally, from the sidebar, Select Run to run the new operation
-
At successful completion, validate the backups on the controller’s [or controllers'] local directory or S3/FTP/etc. destination as specified