Skip to content

Commit 51e45c9

Browse files
author
Manika Dhiman
committed
replicated changes to 22h2-->23h2 docs
1 parent 40a3b55 commit 51e45c9

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

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

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 05/13/2024
88

99
## Step 3: Check the status of an update
1010

11-
To get the summary information about an update in progress, run the `Get-CauRun` cmdlet:
11+
1. To get the summary information about an update in progress, run the `Get-CauRun` cmdlet:
1212

1313
```PowerShell
1414
Get-CauRun -ClusterName <SystemName>
@@ -35,4 +35,30 @@ InstallResults : Microsoft.ClusterAwareUpdating.UpdateInstallResult[]
3535
}
3636
```
3737

38+
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.
39+
40+
```powershell
41+
Test-Cluster
42+
```
43+
44+
1. Verify that the registry keys are still applied on each machine in the system before moving to the next step.
45+
46+
To check if the registry key exists:
47+
48+
```powershell
49+
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation"
50+
```
51+
52+
To reapply the registry keys if needed and reboot each machine for the changes to take effect:
53+
54+
```powershell
55+
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation" -Value 0 -Type DWord -ErrorAction Stop
56+
```
57+
58+
If the OS upgrade fails, run the following command to recover the CAU run:
59+
60+
```powershell
61+
Invoke-CauRun –ForceRecovery -Force
62+
```
63+
3864
You're now ready to perform the post-OS upgrade steps for your system.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,13 @@ To install the new OS using PowerShell, follow these steps:
189189
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "RefsEnableMetadataValidation" -Value 0 -Type DWord -ErrorAction Stop
190190
```
191191

192-
You're now ready to perform the post-OS upgrade steps for your system.
192+
If the OS upgrade fails, run the following command to recover the CAU run:
193193

194-
If the OS upgrade fails, run the following command to recover the CAU run:
194+
```powershell
195+
Invoke-CauRun –ForceRecovery -Force
196+
```
195197

196-
```powershell
197-
Invoke-CauRun –ForceRecovery -Force
198-
```
198+
You're now ready to perform the post-OS upgrade steps for your system.
199199

200200
## Known issues
201201

0 commit comments

Comments
 (0)