Skip to content

Commit 36a07e1

Browse files
author
Manika Dhiman
committed
updated include and docs that use it
1 parent 51e45c9 commit 36a07e1

File tree

4 files changed

+41
-91
lines changed

4 files changed

+41
-91
lines changed

azure-local/includes/azure-local-verify-update.md

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,32 @@ ms.topic: include
66
ms.date: 05/13/2024
77
---
88

9-
## Step 3: Check the status of an update
10-
119
1. To get the summary information about an update in progress, run the `Get-CauRun` cmdlet:
1210

13-
```PowerShell
14-
Get-CauRun -ClusterName <SystemName>
15-
```
16-
17-
Here's a sample output: <!--ASK-->
18-
19-
```output
20-
RunId : <Run ID>
21-
RunStartTime : 10/13/2024 1:35:39 PM
22-
CurrentOrchestrator : NODE1
23-
NodeStatusNotifications : {
24-
Node : NODE1
25-
Status : Waiting
26-
Timestamp : 10/13/2024 1:35:49 PM
27-
}
28-
NodeResults : {
29-
Node : NODE2
30-
Status : Succeeded
31-
ErrorRecordData :
32-
NumberOfSucceededUpdates : 0
33-
NumberOfFailedUpdates : 0
34-
InstallResults : Microsoft.ClusterAwareUpdating.UpdateInstallResult[]
35-
}
36-
```
11+
```PowerShell
12+
Get-CauRun -ClusterName <SystemName>
13+
```
14+
15+
Here's a sample output: <!--ASK-->
16+
17+
```output
18+
RunId : <Run ID>
19+
RunStartTime : 10/13/2024 1:35:39 PM
20+
CurrentOrchestrator : NODE1
21+
NodeStatusNotifications : {
22+
Node : NODE1
23+
Status : Waiting
24+
Timestamp : 10/13/2024 1:35:49 PM
25+
}
26+
NodeResults : {
27+
Node : NODE2
28+
Status : Succeeded
29+
ErrorRecordData :
30+
NumberOfSucceededUpdates : 0
31+
NumberOfFailedUpdates : 0
32+
InstallResults : Microsoft.ClusterAwareUpdating.UpdateInstallResult[]
33+
}
34+
```
3735
3836
1. Validate the health of your system by running the `Test-Cluster` cmdlet on one of the machines in the system. If any of the condition checks fail, resolve them before proceeding to the next step.
3937
@@ -43,22 +41,22 @@ Test-Cluster
4341

4442
1. Verify that the registry keys are still applied on each machine in the system before moving to the next step.
4543

46-
To check if the registry key exists:
44+
To check if the registry key exists:
4745

48-
```powershell
49-
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation"
50-
```
46+
```powershell
47+
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation"
48+
```
5149
52-
To reapply the registry keys if needed and reboot each machine for the changes to take effect:
50+
To reapply the registry keys if needed and reboot each machine for the changes to take effect:
5351
54-
```powershell
55-
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation" -Value 0 -Type DWord -ErrorAction Stop
56-
```
52+
```powershell
53+
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation" -Value 0 -Type DWord -ErrorAction Stop
54+
```
5755
58-
If the OS upgrade fails, run the following command to recover the CAU run:
56+
If the OS upgrade fails, run the following command to recover the CAU run:
5957
60-
```powershell
61-
Invoke-CauRun –ForceRecovery -Force
62-
```
58+
```powershell
59+
Invoke-CauRun –ForceRecovery -Force
60+
```
6361
6462
You're now ready to perform the post-OS upgrade steps for your system.

azure-local/upgrade/upgrade-22h2-to-23h2-other-methods.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ If there's a critical security update <!--ASK-->that you need to apply quickly o
177177

178178
<!--ASK-->
179179

180+
## Step 3: Check the status of an update
181+
180182
[!INCLUDE [verify-update](../includes/azure-local-verify-update.md)]
181183

182184
## Next steps

azure-local/upgrade/upgrade-22h2-to-23h2-powershell.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ To install the new OS using PowerShell, follow these steps:
179179

180180
Wait for the update to complete and check the status of the update.
181181

182+
## Step 3: Check the status of an update
183+
182184
[!INCLUDE [verify-update](../includes/azure-local-verify-update.md)]
183185

184186
## Next steps

azure-local/upgrade/upgrade-to-24h2-powershell.md

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -143,59 +143,7 @@ To install the new OS using PowerShell, follow these steps:
143143

144144
## Check the status of an update
145145

146-
1. To get the summary information about an update in progress, run the `Get-CauRun` cmdlet:
147-
148-
```powershell
149-
Get-CauRun -ClusterName <SystemName>
150-
```
151-
152-
Here's a sample output:
153-
154-
```output
155-
RunId : <Run ID>
156-
RunStartTime : 10/13/2024 1:35:39 PM
157-
CurrentOrchestrator : NODE1
158-
NodeStatusNotifications : {
159-
Node : NODE1
160-
Status : Waiting
161-
Timestamp : 10/13/2024 1:35:49 PM
162-
}
163-
NodeResults : {
164-
Node : NODE2
165-
Status : Succeeded
166-
ErrorRecordData :
167-
NumberOfSucceededUpdates : 0
168-
NumberOfFailedUpdates : 0
169-
InstallResults : Microsoft.ClusterAwareUpdating.UpdateInstallResult[]
170-
}
171-
```
172-
173-
1. Validate the health of your system by running the `Test-Cluster` cmdlet on one of the machines in the system. If any of the condition checks fail, resolve them before proceeding to the next step.
174-
175-
```powershell
176-
Test-Cluster
177-
```
178-
1. Verify that the registry keys are still applied on each machine in the system before moving to the next step.
179-
180-
To check if the registry key exists:
181-
182-
```powershell
183-
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation"
184-
```
185-
186-
To reapply the registry keys if needed and reboot each machine for the changes to take effect:
187-
188-
```powershell
189-
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation" -Value 0 -Type DWord -ErrorAction Stop
190-
```
191-
192-
If the OS upgrade fails, run the following command to recover the CAU run:
193-
194-
```powershell
195-
Invoke-CauRun –ForceRecovery -Force
196-
```
197-
198-
You're now ready to perform the post-OS upgrade steps for your system.
146+
[!INCLUDE [verify-update](../includes/azure-local-verify-update.md)]
199147

200148
## Known issues
201149

0 commit comments

Comments
 (0)