Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9177533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:20:52+00:00 2026-06-17T17:20:52+00:00

I have a Jenkins master setup with several slaves in our primary data center

  • 0

I have a Jenkins master setup with several slaves in our primary data center and one slave in our DR/BC (disaster recovery/business continuity) data center.

I would like jobs to run on the DR slave regularly to ensure it stays up to date with the required software and doesn’t get stale, but since our DR center is geographically distant from the resources used in the builds & tests (SAN, DB, etc.) jobs take 4x – 10x longer to run. This is fine for a DR scenario, but painful for everyday life.

It appears that Jenkins sorts the slaves alphabetically for selecting which to run a job on, which is unfortunate because our machine naming convention is based on datacenter location, and the DR slave is always picked first.

Is there a way to specify how Jenkins picks a slave? or a way to specify a “cost” (like a routing cost) of a slave, so that it will be picked less often?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:20:53+00:00Added an answer on June 17, 2026 at 5:20 pm

    The solution I have settled on:

    • Configure the DR slave Availability as “Take this slave on-line when in demand and off-line when idle”
    • Create a “BuildAll” job to launch all of the integration builds at the same time.
    • Schedule BuildAll to run repeatedly at 3am ( 0-10 3 * * * )

    This will force the DR slave to come online, and run random jobs several times which should show if that slave has fallen behind in any required software, patches, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our current setup consist of a single master controlling several slave machine. Usually, the
I have an ubuntu jenkins master and a windows jenkins slave. I have one
I have following jenkins setup - master node on centOS, slave node on windows
We have a master-slave configuration for Jenkins. Our .NET project is built by a
I have worked almost one day with Jenkins to setup for automation publishing an
I am using Jenkins for CI, I have a master and two slaves, master
I'm beginning to get to my wit's end on this one. I have Jenkins
On an ubuntu jenkins master I have configured that gradle should be autoinstalled to:
We are POCing a Jenkins build farm that consists of 1 master, 2 slaves
I have a Jenkins (Hudson) server setup that runs tests on a variety of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.