Sample plan: Microsoft Hyper-V Servers Cluster - OS patching
This sample automation plan provides a template for you to automate cluster patching of Hyper-V operating systems on Windows 2008-2012 and contains a Fixlet to automatically reboot the targets endpoints. You can use this sample plan as a template if the patch Fixlet that you are including to patch the nodes in the cluster requires the endpoints to be restarted. The sample plan uses the Baselines from a site feature to patch the operating systems. All sample plans are read-only. To use a sample plan, you must copy it, re-name it.
About this task
Use this plan with the Pending Restart settings in the Server Automation application. This sample plan uses the Baselines from a site feature to patch the operating systems. For information about the Baselines from a site feature, see Running baselines from a site.
For more detailed information about patching Hyper-V clusters, see Automating patching of operating system servers in a Microsoft Hyper-V cluster.
Complete the following steps to run the sample Automation Plan.
Procedure
- Open the Server Automation domain.
- From the navigation tree in the Domain Panel, click Automation Plans.
- In the Automation Plans dashboard, enter 141 for the plan ID and press Enter.
- Select the plan from the list of Automation Plans.
- Click Copy to copy the Automation Plan, enter a name and then save the copy that you have just created.
- To run the copied Automation Plan, click Take
Action. The following table shows the parameters and targets
that you need to input for each step in the
sample Automation Plan.
Table 1. Plan steps and targets Step Description Parameters and targets Step 1 Prepatching Task for Clustered Microsoft Hyper-V Servers This step prepares the node for patching. Target the system or systems for the first set of nodes that you are patching. Step 2 Dynamically Run Baselines from a Site This step patches the operating system of the first node in the cluster by running all of the Baselines from a site. Target the system or systems for the first set of nodes that you are pausing in step 1. You can select the Use same targets as option to quickly select the same targets you targeted for step 1. From the Parameters tab, select the site that contains the Baselines that you want to use to patch the operating system. Step 3 Restart Endpoint on Pending Restart and Wait for Restart to Complete This step restarts the computers that you patched in step 3. Target the system or systems for the first set of nodes that you want to patch. You can select the Use same targets as option to quickly select the same targets you targeted for step 1. Step 4 Post Patching Task for Microsoft Server Clusters (Server 2008 R2 onwards including Hyper-V Clusters) This step returns the node to its pre-patching state. Target the system or systems for the first set of nodes that you are patching. You can select the Use same targets as option to quickly select the same targets you targeted for step 1. Step 5 Prepatching Task for Clustered Microsoft Hyper-V Servers This step prepares the node for patching. Target the system or systems for the second set of nodes that you are patching. You can select the Use same targets as option to quickly select the same targets you targeted for step 1. Step 6 Dynamically Run Baselines from a Site This step patches the operating system of the first node in the cluster. Target the system or systems for the second set of nodes that you are patching. From the Parameters tab, select the site that contains the Baselines to patch the operating system. Step 7 Restart Endpoint on Pending Restart and Wait for Restart to Complete This step restarts the computers that you patched in step 6. Target the system or systems for the second set of nodes that you are patching. You can select the Use same targets as option to quickly select the same targets you targeted for step 6. Step 8 Post Patching Task for Microsoft Server Clusters (Server 2008 R2 onwards including Hyper-V Clusters) This step returns the node to its pre-patching state. Target the system or systems for the second set of nodes that you are patching. You can select the Use same targets as option to quickly select the same targets you targeted for step 6. - Click OK to run the Automation Plan.