Help · Workers
Revoking and removing a worker
Disconnect a worker on another server by revoking its key, remove the revoked key from the list, and forget a worker that has gone for good.
Last updated
When a site's move is done, or a key may have been seen by someone it shouldn't, revoke the key. Only keep keys for sites still in use.
Revoke a key #
- Go to Workers → Overview, down to Workers on other servers.
- Find the key by its name and click Revoke.
- Confirm.
The workers using it stop within a minute, and the jobs they were running go back in the queue, to be picked up by other workers. The key shows Revoked. Its pull token is revoked with it, so that machine can't download Mygration's images any more either.
Note
A worker set to All its work for a customer was the only one running that customer's work. After revoking its key, that work waits until the customer has another worker, or you change who runs it.
The Workers on this server key, marked This server's workers, can't be revoked: to run fewer workers on your own server, see Workers on this server.
A revoked key can't be used again. To bring a worker back, make a new key: see Running a worker at a customer's site.
Remove a revoked key from the list #
Click Remove next to a revoked key and confirm. It goes from the list; the audit log keeps that it was there.
Clean up the machine #
On a worker run with Docker, stop and remove the container:
docker rm -f mygration-worker
On a Windows worker (for a file server), uninstall Mygration Worker from Apps & features. That removes the service and its folder.
Forget a worker that has gone #
A worker that stops reporting stays on Workers → Overview, marked Last seen with when it last reported. If it's stopped for good, or its machine is gone, click Forget beside it and confirm. If it's still running after all, it comes back the next time it reports.
Deleting a customer #
Deleting a customer removes its worker keys too, so its workers stop rather than starting on other customers' work.