Slave Management

From WikiDocs

Jump to: navigation, search

Many times you will have a console or machine connected to your MOG network that you do not want to process slave tasks. You can prevent slaves from being used on particular machines by editing your MOGConfig.ini file which is located in your MOG Repository in the "Tools" folder. Open the MOGConfig.ini and add the following section, substituting your own machine and console names and settings:


[SlaveMachines]

machine1=Always

machine2=True

Testing01=Yes

console1=Never

BuildMachine=Never

machine3=Never


The MOG Server will walk down this list respecting the order when launching slaves.

Once you have added this section, your MOG Server will never deviate from this list so it is important to account for machines that may periodically be turned off. I would recommend you be quite liberal when listing the valid machines so you never have to worry about a situation where the team is suffering from a lack of slaves.

In addition, you can also use the following option to clamp your server to a fixed number of slaves.


[Slaves]

ManagedSlavesMax=5


Products