@@ -39,6 +39,28 @@ You can use this cmdlet to support a rolling OS upgrade for a cluster. If you us
39
39
runs Hyper-V in which all the nodes run Windows Server 2012 R2, you can upgrade the nodes of that
40
40
cluster without downtime for your virtual machines.
41
41
42
+ ## EXAMPLES
43
+
44
+ ### Example 1: Test a possible update
45
+
46
+ ``` powershell
47
+ Update-ClusterFunctionalLevel -WhatIf
48
+ ```
49
+
50
+ This command tests whether an update would finish successfully. Because the command includes the
51
+ ** WhatIf** parameter, the command doesn't perform the update.
52
+
53
+ ### Example 2: Update a cluster functional level
54
+
55
+ ``` powershell
56
+ Update-ClusterFunctionalLevel -Cluster "cluster_17"
57
+ ```
58
+
59
+ This command updates the cluster functional level of the cluster named ` cluster_17 ` . All of the
60
+ nodes of this cluster must already be updated before you run this command.
61
+
62
+ ### Example 3: Rolling OS upgrade of a cluster
63
+
42
64
First, drain one cluster node by specifying the ** Drain** parameter of the ` Suspend-ClusterNode `
43
65
cmdlet. This cmdlet causes all virtual machines to live-migrate to one of the other hosts.
44
66
@@ -64,26 +86,6 @@ Finally, add the node into the cluster by using the `Add-ClusterNode` cmdlet.
64
86
65
87
Repeat these steps for each node in the cluster.
66
88
67
- ## EXAMPLES
68
-
69
- ### Example 1: Test a possible update
70
-
71
- ``` powershell
72
- Update-ClusterFunctionalLevel -WhatIf
73
- ```
74
-
75
- This command tests whether an update would finish successfully. Because the command includes the
76
- ** WhatIf** parameter, the command doesn't perform the update.
77
-
78
- ### Example 2: Update a cluster functional level
79
-
80
- ``` powershell
81
- Update-ClusterFunctionalLevel -Cluster "cluster_17"
82
- ```
83
-
84
- This command updates the cluster functional level of the cluster named ` cluster_17 ` . All of the
85
- nodes of this cluster must already be updated before you run this command.
86
-
87
89
## PARAMETERS
88
90
89
91
### -Cluster
0 commit comments