Managing Pending Restart and automatic restart of endpoints
Managing pending restart states and automated restart of endpoints
When you add a Fixlet, Task, or Baseline to an Automation Plan and if the Fixlet, Task, or Baseline contains an action script that requires the targeted endpoints to restart, this results in your plan remaining in a Pending restart state, until the endpoints are restarted. If the endpoints are not restarted, the step remains in this wait state and the Automation Plan is effectively stalled. Pending restart is a wait state in IBM® Endpoint Manager, and if the endpoints are not restarted, the Automation Plan cannot progress. To prevent this from happening, add a specific Server Automation Fixlet to your plan to automate the restart of the endpoints and configure the Pending Restart settings to continue the plan.
Some Fixlets, Tasks, and Baselines contain action script that results in the targeted endpoints going into a Pending restart state. The following graphic shows an example of action script that requires a restart.
|Pause Plan until restart completes||This option pauses the Automation Plan until the targeted endpoints are restarted and report success or failure. You must manually restart the endpoints before the plan progresses.|
When you select this option the step is regarded as successful upon entering the Pending restart state and the plan moves on to the next step, ignoring the actual step status after the endpoints are restarted. Any associated failure step will not run if the step fails after entering the Pending restart state because the step is regarded as successful. You must add a Fixlet to the plan after the step or steps that require a restart. The following list describes how the plan is executed, depending on which Fixlet you use to restart the endpoints when you have selected the Continue Plan option:
Important: To safely restart the endpoints before moving on to the next step in the plan, the Fixlet that you must include in the plan to restart the endpoints is 126 Restart Endpoint and Wait for Restart to Complete.