SOLVED

Runbook only running against one machine in the hybrid worker group

%3CLINGO-SUB%20id%3D%22lingo-sub-120989%22%20slang%3D%22en-US%22%3ERunbook%20only%20running%20against%20one%20machine%20in%20the%20hybrid%20worker%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-120989%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20log%20analytics%20workspace%20automation%20account%20running%20a%20runbook%20against%20a%20hybrid%20worker%20group.%20The%20group%20has%20multiple%20on-prem%20machines%20and%20the%20runas%20account%20is%20the%20same%20across%20the%20machines%20within%20the%20worker%20group.%20However%2C%20the%20runbook%20exits%20with%20success%20after%20completing%20the%20runbook%20on%20the%20first%20machine.%20Is%20there%20something%20I%20am%20missing%20to%20make%20sure%20that%20the%20runbook%20runs%20against%20all%20machines%20in%20this%20group%20(success%20or%20failure)%20Thanks!%20-k%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-120989%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-121048%22%20slang%3D%22en-US%22%3ERe%3A%20Runbook%20only%20running%20against%20one%20machine%20in%20the%20hybrid%20worker%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-121048%22%20slang%3D%22en-US%22%3EHi%20When%20runbook%20is%20started%20it%20runs%20only%20against%20one%20hybrid%20worker%20from%20a%20hybrid%20worker%20group.%20This%20is%20the%20expected%20behavior.%20You%20have%20multiple%20hybrid%20workers%20in%20a%20hybrid%20worker%20group%20for%20high%20availability.%20In%20case%20one%20of%20your%20hybrid%20workers%20is%20not%20available%20it%20will%20start%20the%20job%20on%20another%20hybrid%20worker.%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello all,

 

I have a log analytics workspace automation account running a runbook against a hybrid worker group. The group has multiple on-prem machines and the runas account is the same across the machines within the worker group. However, the runbook exits with success after completing the runbook on the first machine. Is there something I am missing to make sure that the runbook runs against all machines in this group (success or failure) Thanks! -k

1 Reply
Highlighted
Best Response confirmed by Stanislav Zhelyazkov (MVP)
Solution
Hi When runbook is started it runs only against one hybrid worker from a hybrid worker group. This is the expected behavior. You have multiple hybrid workers in a hybrid worker group for high availability. In case one of your hybrid workers is not available it will start the job on another hybrid worker.