Hi, could anyone recommend a way to patch multiple servers that hold one application in the correct order?
Ideally what I'd like to do:
1 - stop application services across multiple servers
2 - patch application & database servers
3 - reboot database server first & ensure its back on line (pre 4)
4 - reboot application servers.
Any ideas would be greatly welcome. I believe I can achieve step 1 with the use of a Powershell script (though I can currently only get it to work if each server is running its own individual script) but I can't see a way to reboot/patch the servers in a particular order.
If you are on the latest version of Ivanti Patch for Windows Servers, then the best option would be to use the API commands to create a PowerShell script to handle the process. The API Quick Start Guide, located here, has an example on page 8 of a similar situation of patching servers one at a time. You should be able to setup a similar script to scan, patch, and reboot servers in a particular order.