Project DescriptionThe Team Foundation Build Load Balancer balances builds between the build agents defined in a Team Project reducing the time developer's wait for builds to complete. What does it do?
- On the interval you specify it loops through each build agent for the specified Team Project(s).
- If the build agent isn't currently running any builds it:
- Retrieves the list of queued builds for the Team Project.
- Submits a duplicate build request for the earliest queued build to the idle build agent.
- Cancels the earliest queued build from the build agent it was originally queued on.
How do I install and configure it?
- Extract the zip file to the directory of your choice.
- Create a scheduled task that runs TeamBuildLoadBalancer.exe as often as you'd like the builds load balanced.
- You need to pass the Team Foundation Server's URL as the first parameter to TeamBuildLoadBalancer.exe, for example, TeamBuildLoadBalancer.exe http://TFSRTM08:8080/.
- You can optionally pass one or more Team Project names to limit which Team Projects it will load balance, for example, TeamBuildLoadBalancer.exe http://TFSRTM08:8080/ TeamProjectA TeamProjectB. If you don't specify any Team Projects then all Team Projects will be load balanced.
- You can optionally pass one or more build agents to exclude from load balancing, for example, TeamBuildLoadBalancer.exe http://TFSRTM08:8080/ -ExcludeBuildAgent:MySecretBuildAgent. If you don't specify any build agents to exclude then all build agents will be load balanced.
- The scheduled task needs to run as a user that is a member of the Build Services security group in each Team Project it will load balance.
How do I troubleshoot it?
- Any errors should be written to the Application event log.
Last edited Oct 21 2008 at 1:00 AM by wbarthol, version 9
|
|