Skip to main content

worker_lookup

Synopsis

worker_lookup = precedence

Specifies the precedence for this Worker's configuration look up. This allows an administrator to either disable all remote configuration, rely only on remote configuration or determine which overrides the other. By default the Supervisor's transmitted configuration overrides the local configuration.

Note for Qube! Worker hosts

This is a Worker startup parameter. Since this parameter is involved in the initial startup of the worker and affects the behavior of the worker before it contacts the supervisor to request a "remote" configuration from the central worker configuration file (see qbwrk.conf), it's considered a bootstrapping parameter and can only be specified in the worker's local qb.conf configuration file. Any mention in the global qbwrk.conf file will be ignored.

This is a complete list of the Worker bootstrap parameters

In order to prevent the worker from requesting a remote configuration from the supervisor, set the worker_lookup = local

Examples

Use only local configuration:

worker_lookup = local

Use only remote configuration:

worker_lookup = supervisor

Local configuration overrides the Supervisor's config:

worker_lookup = supervisor,local

Supervisor's configuration overrides the local config:

worker_lookup = local,supervisor

Defaults

local,supervisor