Skip to main content

qbadmin

Description

qbadmin provides command-line administration of various aspects Qube!

Usage

qbadmin mode [options]

where mode is either supervisor, worker or local.

mode may be shortened to s, w, or l

Options

OptionDescription
mode: supervisor
--listList all Supervisor hosts.
--backupBackups all of the supervisor's data.
--findAuto-detects all available supervisors.
--configurationDisplay the configuration for the Supervisor.
--reread Reread the qb.conf configuration file to update dynamically-modifiable parameters
--set reject_submit-set stop_activitySet Supervisor mode
--unset reject_submit-unset stop_activityUnsets Supervisor mode
--resourceDisplay the current state of all global resources.
--globalcallback language triggers codeSubmit a globalcallback language is: "perl", "python", or "qube" triggers are callback trigger events code is source code for callback
--emailtestSend a test email via SMTP using qb.conf settings.
mode: worker
--remove stringRemove and ban Worker list string
--unremove macaddr [macaddr]Clear ban on worker [macaddress].
--reboot stringReboot Worker list string
--shutdown stringShutdown Worker list string
--refreshForce the Supervisor to re-detect all of its workers.
--clearbannedClear all workers from the "banned" list.
--reconfigurePush out new configuration to the workers.
--configuration stringDisplay the configuration for the Worker string
--assignments stringQuery the Worker string directly for jobs it is currently working on.
--helpCommand help
--versionCommand version

Notes

The user must have Qube! admin privileges to use this command. Refer to User Permissions or qbusers for more detail on the Qube! permission scheme

Examples
Tell the Supervisor to re-read the qbwrk.conf and signal the workers to request a new remote configuration from the Supervisor:

% qbadmin worker --reconfigure

Tell the Supervisor to stop tracking host machine01:

% qbadmin w --remove machine01

Test the supervisor's mail configuration:

% qbadmin supervisor --emailtest

Display the supervisor's running configuration:

% qbadmin s --config

See Also