3.8 SQL Server — Max Degree of Parallelism
The intention of this policy is to
ensure that the sp_configure option for Max Degree of Parallelism
(MaxDoP) has been optimized (i.e., the current running value is
nondefault) on any server with more than four CPUs.
Implementing this policy as described requires
two conditions and one policy. The first condition will be used as a
check condition to verify that the MaxDoP setting is correct. The
second condition will be used as a server restriction to ensure that
the policy applies only to servers with more than four CPUs. Finally,
the policy will bring together the check condition and the restriction
condition and determine the evaluation mode.
Start by creating the check condition shown in Figure 6.
Next, create a new condition that will be used for the server restriction. Create a new condition named Greater than 4 CPUs, using the facet Server. In the Expression pane, use @Processors, and set the Operator and Value to >4.
The final step is to create the policy. Use the name SQL Server — MaxDoP and choose the check condition and server restriction conditions created earlier. The policy should look like what is shown in Figure 7.
In summary, these three policy examples — check
last full backup, autogrow settings, and MaxDoP — provide a framework
of conditions and policies that can be used in a number of scenarios.
You can also adapt and apply this foundation to most types of
health-check policies, and scale it out to meet a variety of objectives
for PBM.