Change Settings using the Command Line
Some settings can be modified using the command line or scripts.
Enable/Disable Agents as Helpers
Run these on any agent to modify enable or disable it's ability to participate as a helper in builds.
/opt/incredibuild/management/set_agent_params.py enable-as-helper
/opt/incredibuild/management/set_agent_params.py disable-as-helper
Change Coordinator
You can change the Coordinator that a helper is associated with by running this on any agent machine:
/opt/incredibuild/management/set_agent_params.py coordinator <hostname/IP of new Coordinator>
For example:
/opt/incredibuild/management/set_agent_params.py coordinator 192.168.10.50
Modify Maximum Number of Helper Cores
To change the maximum number of cores that an Agent can use when participating in builds, run this command on any agent machine:
/opt/incredibuild/management/set_agent_params.py max-helper-cores <number>
For example:
/opt/incredibuild/management/set_agent_params.py max-helper-cores 64
Modify Minimum Number of Local Helper Cores
To change the minimum number of available local cores required to start a new build, run this command on any agent machine:
/opt/incredibuild/management/set_agent_params.py min-local-cores <number>
For example:
/opt/incredibuild/management/set_agent_params.py min-local-cores 8
Assign Agents to a Build Group
Run this on your Coordinator to assign an agent to a build group. You can use add the --include-offline flag (optional) at the end to implement the assignment even if the agent is offline.
/opt/incredibuild/management/set_build_group.py <agent ip or host name> <group name> --include-offline (optional param)
For example:
/opt/incredibuild/management/set_build_group.py 192.168.10.50 group1 --include-offline (optional param)