Failover Cluster Pre-Scripts and Post-Scripts for Cluster-Aware Updating (CAU) | Windows Server Hybrid Advanced Services

Failover Cluster Pre-Scripts and Post-Scripts

Question

You have a three-node failover cluster.

You need to run pre-scripts and post-scripts when Cluster-Aware Updating (CAU) runs. The solution must minimize administrative effort.

What should you use?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

Cluster-Aware Updating advanced options and updating run profiles.

You can set the PreUpdateScript or PostUpdateScript the option.

https://docs.microsoft.com/en-us/windows-server/failover-clustering/cluster-aware-updating-options

The correct answer for this scenario is B. Run profiles.

Cluster-Aware Updating (CAU) is a feature of Windows Server Failover Clustering that automates the patching process for failover clusters. When CAU runs, it pauses the node, applies the updates, and then resumes the node. To customize the patching process, administrators can define pre-scripts and post-scripts that run before and after the update installation.

To minimize administrative effort, you should use Run profiles. Run profiles are a collection of pre-scripts and post-scripts that you can apply to multiple clusters. By using a run profile, you can define the scripts once and then apply them to multiple clusters, instead of having to configure the scripts individually for each cluster.

Here are some additional details about the other answer options:

A. Azure Functions: Azure Functions is a serverless computing service that allows you to run code on-demand without having to manage the underlying infrastructure. While you could potentially use Azure Functions to run pre-scripts and post-scripts, it would be an overcomplicated solution for this scenario.

C. Windows Server Update Services (WSUS): WSUS is a feature of Windows Server that allows you to manage and distribute updates to computers in a network. While WSUS is an important tool for managing updates in a Windows environment, it is not directly related to the task of running pre-scripts and post-scripts during CAU.

D. Scheduled tasks: Scheduled tasks are a feature of Windows that allows you to schedule scripts or other tasks to run at specified intervals. While you could use scheduled tasks to run pre-scripts and post-scripts, it would require you to configure the tasks individually for each cluster, which would not minimize administrative effort.