You can create a NSH script which will run reboot command on target servers and then you can use a loop with sleep command. This loop will keep checking if RSCD agent on target server is up. If it is up then reboot is fine and loop can be break else you can keep waiting upto a time. If server is not up is time limit means server failed to start.
Vishal chaudhari wrote:
We have huge infrastructure and on weekly bases we perform the patching on all servers.
How big is "huge". I'm assuming this is all Windows as you talk about booting after patching. Why do you patch all servers weekly when Microsoft only release patches monthly?
But Its not possible to Reboot each server using BBSA console.
The Deploy job should request the target to reboot if any patch finishes with Exit Code 3010.
Outside of patch, as Ashish has suggested, you can use an NSH script.
If you search this community for "reboot script" you should find something to get you started
or, you know, use the builtin function for this from a blpackage/bldeploy. create a blpackage w/ a single external command of "echo hello" or some other dummy command. set the item-defined reboot setting to reboot. make sure the deploy job has the option selected to honor the item-defined reboot setting and then run the "deploy".