Disable Worker (On Hub Server)¶
Before you start¶
Goal
- Disable the worker on a Altair SLC Hub server.
Prerequisites
- The address of the machine hosting the worker and the hub.
- A configured worker on the hub server.
- Altair SLC Hub configuration privileges for the host.
Disable Worker¶
To disable the worker on the main Altair SLC Hub server node the value of hub.isWorker
must be set to false.
To do so create a file name [etc directory]/config.d/hub_custom.yaml
with the contents set to:
hub:
isWorker: false
nomad
service must be restarted:
hubctl service restart nomad
Verification¶
The Altair SLC Hub portal contains a page that gives details of the registered workers.
Open the Hub Administration application in the portal, and from the navigation panel select Cluster Nodes. Verify that the main Altair SLC Hub server is no longer listed as a worker.