How to run a specific worker in ManageIQ?

184 views Asked by At

Sometimes I need to run on specific MIQ worker in foreground. rake evm:start runs all the workers, but if I need just one, how can I do that?

1

There are 1 answers

1
Andrei Veselov On BEST ANSWER

In case if you are unsure what workers to work with, you might be able to do the following:

  1. run evm server normally: bundle exec rake evm:start and see what worker types were running: bundle exec rake evm:status

  2. kill evm server: bundle exec rake evm:stop

  3. start a single worker in the foreground:

ruby lib/workers/bin/run_single_worker.rb MiqWorkerClassHere