Workers can be configured locally on each system or centrally from the Supervisor. Local configuration is done in the local
qb.conf file; central configuration is done with a
qbwrk.conf file on the Supervisor.
Worker Startup Process
When a Worker starts up, it performs the following actions to configure itself and locate the Supervisor.
- Start up and initialize with default configuration settings.
- Read the local
qb.confconfiguration file, and override the default configuration with any settings it finds in the file.
- If there is no Supervisor set in the configuration file, the Worker will send out a broadcast requesting a Supervisor to identify itself. (Supervisor autodiscovery)
- Contact the Supervisor for additional configuration settings located in the Supervisor's central Worker configuration file (
- The Supervisor can be directed to use a different file for central Worker configuration - see supervisor_worker_configfile
Note that each consecutive configuration setting will override any previous configuration setting. This behavior can be modified or reversed by changing the worker_lookup setting.
As described above, if the Supervisor isn't explicitly set in the Worker's configuration file, it will use autodiscovery to find the Supervisor host name and IP address. However that Supervisor and Worker must be on the same network subnet. Once it has that information it can then gather configuration from the Supervisor and continue the startup configuration process.