@@ -19,39 +19,39 @@ Adds the CAU clustered role that provides the self-updating functionality to the
19
19
20
20
```
21
21
Add-CauClusterRole [-VirtualComputerObjectName <String>] [-GroupName <String>]
22
- [-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-WeeksOfMonth <Int32[]>]
23
- [-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
24
- [-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
25
- [-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
26
- [-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
27
- [-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
28
- [-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
29
- [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
22
+ [-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-WeeksOfMonth <Int32[]>]
23
+ [-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
24
+ [-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
25
+ [-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
26
+ [-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
27
+ [-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
28
+ [-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
29
+ [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
30
30
```
31
31
32
32
### Weekly
33
33
34
34
```
35
35
Add-CauClusterRole [-VirtualComputerObjectName <String>] [-GroupName <String>]
36
- [-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-IntervalWeeks <Int32>]
37
- [-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
38
- [-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
39
- [-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
40
- [-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
41
- [-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
42
- [-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
43
- [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
36
+ [-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-IntervalWeeks <Int32>]
37
+ [-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
38
+ [-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
39
+ [-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
40
+ [-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
41
+ [-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
42
+ [-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
43
+ [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
44
44
```
45
45
46
46
## DESCRIPTION
47
47
48
- The ** Add-CauClusterRole** cmdlet adds the Cluster-Aware Updating (CAU) clustered role that provides
48
+ The ` Add-CauClusterRole ` cmdlet adds the Cluster-Aware Updating (CAU) clustered role that provides
49
49
the self-updating functionality to the specified cluster. When the CAU clustered role has been added
50
50
to a cluster, the failover cluster can update itself on the schedule that is specified by the user,
51
51
without requiring an external computer to coordinate the cluster updating process.
52
52
53
53
To run this cmdlet, Windows PowerShell® remoting must be enabled on each node. To do this, run the
54
- ** Enable-PSRemoting** cmdlet. In addition, ensure that the Windows Remote Management - Compatibility
54
+ ` Enable-PSRemoting ` cmdlet. In addition, ensure that the Windows Remote Management - Compatibility
55
55
Mode (HTTP-In) firewall exception is enabled on each node.
56
56
57
57
## EXAMPLES
@@ -80,8 +80,8 @@ The CAU clustered role is configured to perform Updating Runs on Tuesdays and Sa
80
80
second and fourth weeks of each month. In an Updating Run, the maximum number of failed nodes is two
81
81
and the maximum number of retries per node is two. A script called verifyupdatesinstalled.ps1 runs
82
82
on each node after it has been fully updated. Before an Updating Run can begin, all the nodes of
83
- that cluster must be running. If it is not already enabled, the Remote Shutdown Windows Firewall
84
- rule group will be enabled on each cluster node. Because the command uses the * Force* parameter, the
83
+ that cluster must be running. If it isn't already enabled, the Remote Shutdown Windows Firewall
84
+ rule group will be enabled on each cluster node. Because the command uses the ** Force* * parameter, the
85
85
cmdlet runs without displaying confirmation prompts.
86
86
87
87
This example uses splatting to pass parameter values from the ` $parameters ` variable to the command.
@@ -107,9 +107,9 @@ This command adds the CAU clustered role, using a default name, on the cluster c
107
107
The CAU clustered role is configured to perform Updating Runs on Tuesdays and Saturdays at an
108
108
interval of every three weeks. In an Updating Run, the maximum number of failed nodes is two and the
109
109
maximum number of retries per node is two. Updating Runs can begin even when the nodes of the
110
- cluster are not all running (if the cluster itself has quorum and is running). If it is not already
110
+ cluster aren't all running (if the cluster itself has quorum and is running). If it isn't already
111
111
enabled, the Remote Shutdown Windows Firewall rule group will be enabled on each cluster node.
112
- Because the command uses the * Force* parameter, the cmdlet runs without displaying confirmation
112
+ Because the command uses the ** Force* * parameter, the cmdlet runs without displaying confirmation
113
113
prompts.
114
114
115
115
This example uses splatting to pass parameter values from the ` $parameters ` variable to the command.
@@ -133,12 +133,12 @@ Add-CauClusterRole @parameters
133
133
134
134
This command adds the CAU clustered role, using a default name, on the cluster called CONTOSO-FC1.
135
135
The CAU clustered role is configured to perform updates using the ** Microsoft.WindowsUpdatePlugin**
136
- plug-in with the optional * IncludeRecommendedUpdates* parameter set to True, and using the
137
- ** Microsoft.HotfixPlugin plug-in** using the hotfix root folder \\\\ CauHotfixSrv\shareName and the
136
+ plug-in with the optional ** IncludeRecommendedUpdates* * parameter set to True, and using the
137
+ ** Microsoft.HotfixPlugin plug-in** using the hotfix root folder ` \\ CauHotfixSrv\shareName` and the
138
138
default hotfix configuration file. If a failure occurs during the installation of updates on a node
139
139
by ** Microsoft.WindowsUpdatePlugin** , updates are applied by ** Microsoft.HotfixPlugin plug-in** . If
140
- it is not already enabled, the Remote Shutdown Windows Firewall rule group is enabled on each
141
- cluster node. Because the command uses the * Force* parameter, the cmdlet runs without displaying
140
+ it isn't already enabled, the Remote Shutdown Windows Firewall rule group is enabled on each
141
+ cluster node. Because the command uses the ** Force* * parameter, the cmdlet runs without displaying
142
142
confirmation prompts.
143
143
144
144
This example uses splatting to pass parameter values from the ` $parameters ` variable to the command.
@@ -154,7 +154,7 @@ For instance, to specify a Domain argument for one plug-in:
154
154
You can specify multiple pairs in a set separated with semicolons.
155
155
For instance:
156
156
- ` @{name1=value1;name2=value2;name3=value3} ` These name=value pairs must be meaningful to the
157
- * CauPluginName* parameter that you specify. If you specify arguments for more than one plug-in,
157
+ ** CauPluginName* * parameter that you specify. If you specify arguments for more than one plug-in,
158
158
provide the sets of name=value pairs in the order that you pass values in ** CauPluginName** ,
159
159
separated by commas. For instance:
160
160
- ` @{name1=value1;name2=value2;name3=value3},@{name4=value4;name5=value5} `
@@ -229,7 +229,7 @@ Accept wildcard characters: False
229
229
### -ClusterName
230
230
231
231
Specifies the name of the cluster on which to create the CAU clustered role. This parameter is only
232
- required when this cmdlet is not run on a failover cluster node, or this cmdlet is used to reference
232
+ required when this cmdlet isn't run on a failover cluster node, or this cmdlet is used to reference
233
233
a failover cluster different from where the cmdlet is run.
234
234
235
235
` ` ` yaml
@@ -247,9 +247,9 @@ Accept wildcard characters: False
247
247
### -ConfigurationName
248
248
249
249
Specifies the Windows PowerShell session configuration that defines the session in which scripts,
250
- specified by the *PreUpdateScript* and *PostUpdateScript* parameters, and cmdlets are run, and can
250
+ specified by the ** PreUpdateScript** and ** PostUpdateScript* * parameters, and cmdlets are run, and can
251
251
limit the cmdlets that are available to be run. If either a pre-update or post-update script is
252
- specified but a configuration name is not specified, then the default session configuration that is
252
+ specified but a configuration name isn't specified, then the default session configuration that is
253
253
built into Windows PowerShell® is used.
254
254
255
255
` ` ` yaml
@@ -327,13 +327,13 @@ Accept wildcard characters: False
327
327
### -EnableFirewallRules
328
328
329
329
Indicates that the cmdlet enables the Remote Shutdown Windows Firewall rule group on each cluster
330
- node, if it is not already enabled. If the *EnableFirewallRules* parameter is specified, CAU will
330
+ node, if it isn't already enabled. If the ** EnableFirewallRules* * parameter is specified, CAU will
331
331
also automatically re-enable the Remote Shutdown rule group each time the CAU clustered role
332
332
performs an Updating Run, in case the rules are disabled manually in the intervening time. Enabling
333
333
this rule group permits inbound communication to each cluster node during each Updating Run that
334
334
allows CAU to shut down and restart the node remotely (if the installation of an update requires a
335
- restart). If Windows Firewall is in use on the cluster nodes and the rule group is not enabled, the
336
- Updating Run will fail. The Remote Shutdown Windows Firewall rule group is not enabled when it will
335
+ restart). If Windows Firewall is in use on the cluster nodes and the rule group isn't enabled, the
336
+ Updating Run will fail. The Remote Shutdown Windows Firewall rule group isn't enabled when it will
337
337
conflict with Group Policy settings that are configured for Windows Firewall.
338
338
339
339
` ` ` yaml
@@ -506,7 +506,7 @@ begins, and before the node is put into Maintenance mode. The file name extensio
506
506
the total length of the path plus the file name must be no longer than 260 characters. As a best
507
507
practice, the script should be located on a disk in cluster storage, or at a highly available
508
508
network share, to ensure that the script is always accessible to all the cluster nodes. If a
509
- pre-update script fails, the node is not updated.
509
+ pre-update script fails, the node isn't updated.
510
510
511
511
` ` ` yaml
512
512
Type : String
@@ -522,7 +522,7 @@ Accept wildcard characters: False
522
522
523
523
### -RebootTimeoutMinutes
524
524
525
- Specifies the time in minutes that CAU allows for the restarting of a node. If the restart does not
525
+ Specifies the time in minutes that CAU allows for the restarting of a node. If the restart doesn't
526
526
complete within this time, then the Updating Run on that node will be marked as failed.
527
527
528
528
` ` ` yaml
@@ -558,11 +558,11 @@ Accept wildcard characters: False
558
558
559
559
Indicates that the cmdlet CAU scans each cluster node for applicable updates and stages the updates
560
560
for each plug-in in the plug-in order when multiple plug-ins are used during an Updating Run when
561
- you use the *CauPluginName* parameter. By default, CAU scans and stages the applicable updates for
561
+ you use the ** CauPluginName* * parameter. By default, CAU scans and stages the applicable updates for
562
562
all plug-ins in parallel. Regardless of the configuration of this parameter, CAU installs the
563
563
applicable updates for each plug-in sequentially.
564
564
565
- The parameter is valid only when multiple plug-ins are specified in the *CauPluginName* parameter.
565
+ The parameter is valid only when multiple plug-ins are specified in the ** CauPluginName* * parameter.
566
566
If a single plug-in is specified, a warning appears.
567
567
568
568
` ` ` yaml
@@ -584,7 +584,7 @@ updates on the node, if the installation of an update by a plug-in requires a re
584
584
during an updating run, all plug-ins complete the installation of updates on a cluster node before
585
585
the node restarts one time.
586
586
587
- The parameter is valid only when multiple plug-ins are specified in the *CauPluginName* parameter.
587
+ The parameter is valid only when multiple plug-ins are specified in the ** CauPluginName* * parameter.
588
588
If a single plug-in is specified, a warning appears.
589
589
590
590
` ` ` yaml
@@ -617,7 +617,7 @@ Accept wildcard characters: False
617
617
618
618
### -StopAfter
619
619
620
- Specifies the time in minutes after which the updating run is canceled if it has not completed. The
620
+ Specifies the time in minutes after which the updating run is canceled if it hasn't completed. The
621
621
time span can be expressed in the standard ways available in Windows PowerShell, for instance,
622
622
` 01:30:00` represents one hour and thirty minutes. By default, the updating run is allowed an
623
623
unlimited amount of time to complete.
@@ -640,9 +640,8 @@ Accept wildcard characters: False
640
640
# ## -StopOnPluginFailure
641
641
642
642
Indicates that this cmdlet coordinates subsequent updates on the node when plug-ins are stopped.
643
- When multiple plug-ins are used during an updating run, by default, a failure by one plug-in does
644
- not affect the application of updates on a node by other plug-ins. This parameter is valid only when
645
- multiple plug-ins are specified in the *CauPluginName* parameter. If a single plug-in is specified,
643
+ When multiple plug-ins are used during an updating run, by default, a failure by one plug-in doesn't affect the application of updates on a node by other plug-ins. This parameter is valid only when
644
+ multiple plug-ins are specified in the **CauPluginName** parameter. If a single plug-in is specified,
646
645
a warning appears.
647
646
648
647
` ` ` yaml
@@ -659,12 +658,12 @@ Accept wildcard characters: False
659
658
660
659
# ## -SuspendClusterNodeTimeoutMinutes
661
660
662
- Specifies the maximum amount of time CAU should wait for the ** Suspend-ClusterNode** cmdlet to
661
+ Specifies the maximum amount of time CAU should wait for the ` Suspend-ClusterNode` cmdlet to
663
662
succeed if the underlying clustered space is in degraded condition.
664
663
665
- If ** Suspend-ClusterNode** fails with ERROR_CLUSTER_SPACE_DEGRADED error, CAU will keep retrying for
666
- *SuspendClusterNodeTimeoutMinutes* or suspend the call if the command succeeds. The retries for this
667
- error don not count towards the *MaxRetriesPerNode* parameter set by the user.
664
+ If ` Suspend-ClusterNode` fails with ERROR_CLUSTER_SPACE_DEGRADED error, CAU will keep retrying for
665
+ ** SuspendClusterNodeTimeoutMinutes* * or suspend the call if the command succeeds. The retries for this
666
+ error don't count towards the ** MaxRetriesPerNode* * parameter set by the user.
668
667
669
668
The timeout value is per cluster node. So CAU could potentially spend the amount of time specified
670
669
for this value for every node in the cluster in the worst case.
@@ -705,7 +704,7 @@ Accept wildcard characters: False
705
704
# ## -WarnAfter
706
705
707
706
Specifies the time in minutes after which a warning will be logged if the Updating Run (including
708
- any pre-update and post-update scripts) has not completed. By default, no warning will be logged,
707
+ any pre-update and post-update scripts) hasn't completed. By default, no warning will be logged,
709
708
regardless of the time taken by the Updating Run.
710
709
711
710
` ` ` yaml
@@ -740,7 +739,7 @@ Accept wildcard characters: False
740
739
# ## -WhatIf
741
740
742
741
Shows what would happen if the cmdlet runs.
743
- The cmdlet is not run.
742
+ The cmdlet isn't run.
744
743
745
744
` ` ` yaml
746
745
Type: SwitchParameter
0 commit comments