BatchPatch Forums Home › Forums › BatchPatch Support Forum › job queue not working as expected…
- This topic has 4 replies, 2 voices, and was last updated 5 years, 10 months ago by doug.
-
AuthorPosts
-
March 2, 2019 at 1:49 am #8707thaddeusParticipant
I have multiple servers I have patched and they all require a reboot. I would like to reboot them one at a time in sequence, waiting for the previous one to come back up first before the next one reboots. I have created a basic job queue with the following:
“Get pending reboot status + reboot if required (force)”
“Wait for host to go offline and come back online”
I apply the job to the servers and see it applied in the job queue column. When I execute the job by referencing the saved/applied job, they all reboot at once and not in a sequence like I expect.
What am I doing wrong? I even set a 10min wait instead of the “Wait for host…” and it didn’t matter; they all rebooted at once.
Any ideas/thoughts on what I am missing here?
March 2, 2019 at 2:03 am #9852dougModeratorYou can use either the basic multi row queue sequence or the advanced multi row queue sequence for this. Probably start with the basic sequence since it’s simpler to use and gives you what you are asking for. If you need more complex sequences that aren’t just one at a time, then check out the advanced sequence. Tutorials below.
basic-multi-row-queue-sequence
advanced-multi-row-queue-sequence-video-tutorial
advanced-multi-row-queue-sequence
virtual-machine-guest-host-update-and-reboot-sequence-automation
Additionally note that if you are using ‘Wait for host to go offline and come back online’ you should make sure to read the important note about it at this page:
March 2, 2019 at 5:00 am #9853thaddeusParticipanti appreciate your feedback, but that’s exactly what I did, the basic multi-row sequence, yet they keep rebooting all at once. What should I try now?
March 2, 2019 at 5:08 am #9854thaddeusParticipantmy bad, i was executing a saved job that was applied already…but why wouldn’t a saved job work?
March 2, 2019 at 6:31 am #9855dougModeratorWhen you select multiple rows and execute a saved job queue, it executes the saved job on each row simultaneously. The basic multi row queue sequence is what tells BP to execute each row sequentially, one at a time. To do this you must first apply the queue to be executed onto each row, then execute the basic multi row queue sequence. Then BP knows which queue to use for each row because each row can have its own independent queue.
-
AuthorPosts
- You must be logged in to reply to this topic.