Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »


Icon

When used for a worker: this value can only be specified in a worker's local qb.conf, and has no effect when used in the central worker configuration file (qbwrk.conf).

Synopsis

qb_supervisor = supervisor

A host name or ip address which the client applications will access for information about the queue.

 

Example

qb_supervisor = sv001

Defaults

(empty – Automatically detected)

In the absence of a qb_supervisor value, workers and clients will resort to "supervisor auto-discovery" and attempt to find a supervisor by network broadcast.

About supervisor auto-discovery

Icon

Since auto-discovery uses network broadcast packets, and these packets are not forwarded by routers, supervisors can only be discovered if they are on the same IP subnet as the host issuing the broadcast.

Qube workers that don't have the supervisor explicitly defined via the qb_supervisor value can issue a broadcast across the network and ask any supervisor that's running to respond.  This is normally sufficient unless there are multiple supervisors on the network that can respond to the broadcast (on the same IP subnet as the worker).  In this case, the qb_domain value provides a check for the auto-discovery mechanism: the qb_domain value is compared between the supervisor and the worker, and the supervisor only responds to requests from workers whose qb_domain value matches the supervisor's.

Notes

  • Although Qube supports auto-discover of its Supervisor on the same subnet, it is more efficient if the Supervisor has been explicitly specified. The clients will always default to auto-discovery if blank.
  • This parameter is only applicable for the Worker or Client.
  • No labels