Stop a Service, Patch, then Start Service again
Is there a way to stop services, patch then start services in order like that all automatically? Right now we run a script on a schedule to stop the services before patching begins, patching occurs, then another script is set to run on a schedule that we assume the patching will be over by.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
Hobbsy
4 years ago
You should be able to add your scripts and patching job into a task chain. The task chain will manage the schedule and ensure tasks complete before starting the next one.
You can find task chains in Distribution on the SMA (I think)
Comments:
-
Yes, Task Chains was design for this type of use case. - KevinG 4 years ago
-
A problem is the task doesnt continue after the server reboots. Does the server have to inventory again? - lama01 4 years ago
-
If the Service is setup to automatically start and all you are doing is stopping, patching, then starting you should be OK. Your task chain will be stop service, patch, reboot. - JordanNolan 4 years ago