Change Settings using CLI (Command Line)

Some settings can be modified using the command line or scripts.

These commands require root user permissions.

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.

sudo /opt/incredibuild/management/set_agent_params.py enable-as-helper

sudo /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.

sudo /opt/incredibuild/management/set_agent_params.py coordinator <hostname/IP of new Coordinator>

After this is done, you also need unsubscribe the licenses on the original Coordinator and resubscribe them on the new Coordinator.

For example:

sudo /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: 

sudo /opt/incredibuild/management/set_agent_params.py max-helper-cores <number>

For example:

sudo /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:

sudo /opt/incredibuild/management/set_agent_params.py min-local-cores 8

Assign Agents to a Build Group

Run this on your Primary 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.

sudo /soipdtp/ incredibuild/management/set_build_group.py <agent ip or host name> <group name> --include-offline (optional param)

For example:

sudo /opt/incredibuild/management/set_build_group.py 192.168.10.50 group1 --include-offline (optional param)