Skip to content

Commit 4c1d067

Browse files
authored
Sync release-local-2506 with main
Sync release-local-2506 with main
2 parents d6ec8a1 + 9276196 commit 4c1d067

13 files changed

+599
-188
lines changed

azure-local/TOC.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,17 +186,21 @@ items:
186186
items:
187187
- name: About Azure Local upgrades
188188
href: upgrade/about-upgrades-23h2.md
189-
- name: 1. Upgrade to version 23H2 OS
189+
- name: 1. Select upgrade path
190190
items:
191-
- name: Via PowerShell (recommended)
192-
href: upgrade/upgrade-22h2-to-23h2-powershell.md
193-
- name: Via Windows Admin Center
194-
href: upgrade/upgrade-22h2-to-23h2-windows-admin-center.md
195-
- name: Via other methods
196-
href: upgrade/upgrade-22h2-to-23h2-other-methods.md
191+
- name: Upgrade to 26100.xxxx
192+
href: upgrade/upgrade-to-24h2-powershell.md
193+
- name: Upgrade to 25398.xxxx
194+
items:
195+
- name: Via PowerShell (recommended)
196+
href: upgrade/upgrade-22h2-to-23h2-powershell.md
197+
- name: Via Windows Admin Center
198+
href: upgrade/upgrade-22h2-to-23h2-windows-admin-center.md
199+
- name: Via other methods
200+
href: upgrade/upgrade-22h2-to-23h2-other-methods.md
197201
- name: 2. Perform post-OS upgrade tasks
198202
href: upgrade/post-upgrade-steps.md
199-
- name: 3. Install, enable Network ATC
203+
- name: 3. Configure Network ATC
200204
href: upgrade/install-enable-network-atc.md
201205
- name: 4. Validate solution upgrade readiness
202206
href: upgrade/validate-solution-upgrade-readiness.md

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

Lines changed: 52 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,57 @@ ms.topic: include
66
ms.date: 05/13/2024
77
---
88

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

azure-local/manage/manage-arc-virtual-machine-resources.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: alkohli
55
ms.author: alkohli
66
ms.topic: how-to
77
ms.service: azure-local
8-
ms.date: 03/18/2025
8+
ms.date: 06/06/2025
99
---
1010

1111
# Manage resources for Azure Local VMs enabled by Azure Arc
@@ -78,6 +78,7 @@ You can expand an existing data disk to your desired size using Azure CLI.
7878

7979
>[!NOTE]
8080
>
81+
>- This feature is available only in Azure Local version 2504 and later.
8182
>- The size you're changing the data disk to can't be the same or less than the original size of the data disk.
8283
>- The maximum size the disk can expand to depends on the storage capacity of the cluster. Hyper-V also imposes a VHD max of 2TB and VHDx max of 64TB.
8384
65.2 KB
Loading
66.8 KB
Loading
79.5 KB
Loading

azure-local/migrate/migrate-troubleshoot.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot issues when migrating VMs to Azure Local using Azure Migrate
33
description: Learn about how to troubleshoot issues when migrating Windows VMs to your Azure Local instance using Azure Migrate (preview).
44
author: alkohli
55
ms.topic: how-to
6-
ms.date: 05/14/2025
6+
ms.date: 06/04/2025
77
ms.author: alkohli
88
ms.reviewer: alkohli
99
ms.custom: linux-related-content
@@ -375,6 +375,49 @@ Complete the following steps:
375375
1. Verify that the intended IP address isn't currently assigned to another network interface.
376376
1. Update the logical network configuration as needed to ensure no IP conflicts exist before retrying the migration.
377377

378+
### Clean up resources from failed migrations
379+
380+
**Root cause**
381+
382+
In some cases, migrations to Azure Local may fail during the migration phase, such as during planned failover, not during initial replication. When this occurs, manual cleanup of partially created resources may be required to ensure future migration attempts are successful.
383+
384+
**Recommended resolution**
385+
386+
To determine where the failure occurred, open the Planned failover job in the Azure Migrate portal. Use the job details to identify whether the failure occurred before or after VM creation on the Azure Local instance.
387+
388+
*If the failure occurred before VM creation*
389+
390+
Task failures listed above the red line (above the **Preparing protected entities** task) indicate that no target VM was created. No cleanup is required and you can retry migration directly.
391+
392+
:::image type="content" source="./media/migrate-troubleshoot/before-vm-creation.png" alt-text="Screenshot of Planned failover page before creation." lightbox="./media/migrate-troubleshoot/before-vm-creation.png":::
393+
394+
*If the failure occurred during or after VM creation*
395+
396+
Task failures listed below the red line (**Preparing protected entities** task and below) indicate that a target VM was partially or fully created. Manual cleanup is required before retrying migration.
397+
398+
:::image type="content" source="./media/migrate-troubleshoot/after-vm-creation.png" alt-text="Screenshot of Planned failover page after creation." lightbox="./media/migrate-troubleshoot/after-vm-creation.png":::
399+
400+
1. In Azure portal, navigate to the target Azure Local instance.
401+
402+
1. Locate and verify if a VM corresponding to the failed migration exists.
403+
404+
1. If found, delete the VM from the portal.
405+
406+
:::image type="content" source="./media/migrate-troubleshoot/delete-vm.png" alt-text="Screenshot showing Delete button for selected virtual machine." lightbox="./media/migrate-troubleshoot/delete-vm.png":::
407+
408+
1. Connect to the Azure Local instance directly (via Hyper-V Manager) and confirm that the associated VM was also removed from the local Hyper-V host. If it wasn't removed, manually delete the VM resource.
409+
410+
1. Don't delete any of the following resources that may have been created:
411+
412+
- Migrated (target) disk.
413+
414+
- Seed disk.
415+
416+
- Network interfaces.
417+
418+
These resources will be reused automatically by Azure Migrate during subsequent migration attempts.
419+
420+
378421
## Next steps
379422

380423
Depending upon the phase of migration you are in, you may need to review one of the following articles to troubleshoot issues:

0 commit comments

Comments
 (0)