You can create a central configuration for all Workers in two ways: via the WranglerView UI from the supervisor host, or by manually editing the qbwrk.conf
file on the supervisor host. This page discusses both methods.
Configuration file name and location
The central worker configuration file is optional and may not yet exist on your supervisor. The default name and location is
- Linux & OS X:
/etc/qbwrk.conf
- Windows Vista and above:
C:\ProgramData\pfx\qube\qbwrk.conf
- Windows XP:
C:\Program Files\pfx\qube\qbwrk.conf
An alternate name and/or location can be specified with the supervisor_worker_configfile parameter in the supervisor's qb.conf file.
Parameters unsupported in the centralized worker configuration file
The following parameters are only settable locally on the Worker as they determine where the Qube! installation is located, the hostname of the Supervisor, and the filtering field for network communication. They will not have any effect when used in the qbwrk.conf
file.
Include+ |
---|
scrollPageId | 405BE23F014B092BED9A39737B3041D9 |
---|
scrollEditorDisplayTitle | _worker_bootstrap_parameter_list |
---|
scrollEditorUrl | http://docs.pipelinefx.com/display/QUBE/._worker_bootstrap_parameter_list+v6.6-3 |
---|
|
Configuring via the UI
Section |
---|
Column |
---|
| The central Worker configuration can be managed through the WranglerView UI from the |
|
...
...
Show the configuration dialog
Using the Workers tab, select one or more machines, <right-click> to get the menu, and choose "Configure on Supervisor" Note |
---|
This menu item is only enabled when: - running the WranglerView on the supervisor host, and
|
| AND qube |
Select one or more workers in the Workers layout, <right-click> to show the menu, and select Configure on Supervisor.
Image Removed
Make any desired changes
Column |
---|
| Image Added |
|
Section |
---|
Column |
---|
| The worker configuration UI will be shown. |
|
...
Make any desired changes. Any values that you edit will have their labels turn green, as in the worker_description field |
|
...
Image Removed
...
...
right. Clicking OK will save the changes to the central worker configuration, at which time the |
|
...
...
automatically instruct all workers to re-request their configuration from the |
|
...
Supervisor. No Supervisor or Worker restart is necessary. Any |
|
...
Workers not currently running will receive the changes when they next start up. |
Column |
---|
| Image Added |
|
Configuring Manually
An administrator can also edit the qbwrk.conf
file manually. Here are the steps:
Create the qbwrk.conf
file if it doesn't already exist, on the Supervisor machine in the correct location:
- Linux & OS X:
/etc/qbwrk.conf
- Windows Vista and above:
C:\ProgramData\pfx\qube\qbwrk.conf
- Windows XP:
C:\Program Files\pfx\qube\qbwrk.conf
Edit the qbwrk.conf
file with a text editor using the file format described on this page.
Validate the qbwrk.conf
file using the qbconfigure command. More details on this page.
$ qbconfigfile <qbwrk file location>
Push the settings to the Workers using the qbadmin command
$ qbadmin worker --reconfigure
Note |
---|
It may take a few minutes to perform this action if the farm is large. |
See Also
qbwrk.conf File Format
Validating the qbwrk.conf File
supervisor_worker_configfile