Skip to content

Commit dd039f2

Browse files
Merge pull request #3786 from MicrosoftDocs/main638902017308592975sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 7a452a2 + 2eb58cb commit dd039f2

12 files changed

+524
-40
lines changed

azure-local/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,8 @@ items:
568568
href: migrate/migrate-vmware-replicate.md
569569
- name: Migrate, verify
570570
href: migrate/migrate-vmware-migrate.md
571+
- name: Migrate via PowerShell
572+
href: migrate/migrate-via-powershell.md
571573
- name: Enable guest management
572574
href: migrate/migrate-enable-guest-management.md
573575
- name: Maintain static IP addresses

azure-local/manage/manage-arc-virtual-machines.md

Lines changed: 82 additions & 40 deletions
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: 06/09/2025
8+
ms.date: 07/30/2025
99
---
1010

1111
# Manage Azure Local VMs enabled by Azure Arc
@@ -210,10 +210,26 @@ To start a VM, follow these steps in the Azure portal for your Azure Local insta
210210
211211
:::image type="content" source="./media/manage-arc-virtual-machines/start-virtual-machine.png" alt-text="Screenshot of the button for starting a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/start-virtual-machine.png":::
212212
213-
1. Select **Yes**.
213+
1. On the confirmation dialog, select **Yes**.
214214
215215
1. Verify that the VM started.
216216
217+
## Restart a VM
218+
219+
To restart a VM, follow these steps in the Azure portal for your Azure Local instance:
220+
221+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
222+
223+
1. In the list of virtual machines, select a VM that's stopped and that you want to restart.
224+
225+
1. On the **Overview** page for the VM, on the command bar, select **Restart**.
226+
227+
:::image type="content" source="./media/manage-arc-virtual-machines/restart-virtual-machine.png" alt-text="Screenshot of the button for restarting a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/restart-virtual-machine.png":::
228+
229+
1. On the confirmation dialog, select **Yes**.
230+
231+
1. Verify that the VM restarted.
232+
217233
## Stop a VM
218234
219235
To stop a VM, follow these steps in the Azure portal for your Azure Local instance:
@@ -226,31 +242,35 @@ To stop a VM, follow these steps in the Azure portal for your Azure Local instan
226242
227243
:::image type="content" source="./media/manage-arc-virtual-machines/stop-virtual-machine.png" alt-text="Screenshot of the button for stopping a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/stop-virtual-machine.png":::
228244
229-
1. Select **Yes**.
245+
1. On the confirmation dialog, select **Yes**.
230246
231247
1. Verify that the VM stopped.
232248
233-
## Restart a VM
249+
## Pause a VM
234250
235-
To restart a VM, follow these steps in the Azure portal for your Azure Local instance:
251+
Pausing a VM is useful to save compute resources when you're not using the VM. Pausing a VM stops any CPU activity.
236252
237-
1. Go to the Azure Local resource, and then go to **Virtual machines**.
253+
You can pause only running VMs. After you pause a VM, you can resume it later.
238254
239-
1. In the list of virtual machines, select a VM that's stopped and that you want to restart.
255+
### [Azure portal](#tab/azureportal)
240256
241-
1. On the **Overview** page for the VM, on the command bar, select **Restart**.
257+
To pause a VM, follow these steps in the Azure portal for your Azure Local instance:
242258
243-
:::image type="content" source="./media/manage-arc-virtual-machines/restart-virtual-machine.png" alt-text="Screenshot of the button for restarting a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/restart-virtual-machine.png":::
259+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
244260
245-
1. Select **Yes**.
261+
1. In the list of virtual machines, select a VM that's currently running and that you want to pause.
246262
247-
1. Verify that the VM restarted.
263+
1. On the **Overview** page for the VM, on the command bar, select **Pause**.
248264
249-
## Pause a VM
265+
:::image type="content" source="./media/manage-arc-virtual-machines/pause-virtual-machine.png" alt-text="Screenshot of the button for pausing a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/pause-virtual-machine.png":::
250266
251-
Pausing a VM is useful to save compute resources when you're not using the VM. Pausing a VM stops any CPU activity.
267+
1. On the confirmation dialog, select **Yes**.
252268
253-
You can pause only running VMs. After you pause a VM, you can resume it later.
269+
1. Verify that the VM's status changed to **Paused**.
270+
271+
### [Azure CLI](#tab/azurecli)
272+
273+
To pause a VM, run the following commands in the Azure CLI on the computer that you're using to connect to Azure Local.
254274
255275
1. [Connect to a machine on your system](./azure-arc-vm-management-prerequisites.md#connect-to-the-system-directly).
256276
@@ -531,10 +551,32 @@ Inside _start_initial/subscriptions/<Subscription ID>/resourceGroups/<Resource g
531551

532552
</details>
533553

554+
---
555+
534556
## Save a VM
535557

536558
Saving a VM stores its current state to the disk and stops the VM. Saving a VM frees up memory and CPU resources. You can save only running VMs.
537559

560+
### [Azure portal](#tab/azureportal)
561+
562+
To save a VM, follow these steps in the Azure portal for your Azure Local instance:
563+
564+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
565+
566+
1. In the list of virtual machines, select a VM that's currently running and that you want to save.
567+
568+
1. On the **Overview** page for the VM, on the command bar, select **Save**.
569+
570+
:::image type="content" source="./media/manage-arc-virtual-machines/save-virtual-machine.png" alt-text="Screenshot of the button for saving a virtual machine on the overview page." lightbox="./media/manage-arc-virtual-machines/save-virtual-machine.png":::
571+
572+
1. On the confirmation dialog, select **Yes**.
573+
574+
1. Verify that the VM's status changed to **Saved**.
575+
576+
### [Azure CLI](#tab/azurecli)
577+
578+
To save a VM, run the following commands in the Azure CLI on the computer that you're using to connect to Azure Local.
579+
538580
1. [Connect to a machine on your system](./azure-arc-vm-management-prerequisites.md#connect-to-the-system-directly).
539581

540582
1. Run the following Azure PowerShell cmdlet:
@@ -813,11 +855,35 @@ Inside _start_initial/subscriptions/<Subscription ID>/resourceGroups/<Resource g
813855

814856
</details>
815857

858+
---
859+
860+
## Delete a VM
861+
862+
Deleting a VM doesn't delete all the resources associated with the VM. For example, it doesn't delete the data disks and the network interfaces associated with the VM. You need to locate and delete these resources separately.
863+
864+
To delete a VM, follow these steps in the Azure portal for your Azure Local instance:
865+
866+
1. Go to the Azure Local resource, and then go to **Virtual machines**.
867+
868+
1. In the list of virtual machines, select a VM that you want to remove from your system.
869+
870+
1. On the **Overview** page for the VM, on the command bar, select **Delete**.
871+
872+
1. On the confirmation dialog, select **Yes**.
873+
874+
:::image type="content" source="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png" alt-text="Screenshot of the warning for deleting a virtual machine." lightbox="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png":::
875+
876+
1. Go to the resource group where this VM was deployed. Verify that the VM is removed from the list of resources in the resource group.
877+
878+
1. Locate the associated resources, such as the network interfaces and data disks, and delete them. You might need to select **Show hidden types** to view the resources associated with this VM that weren't deleted.
879+
880+
:::image type="content" source="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png" alt-text="Screenshot of hidden types of resources associated with a virtual machine." lightbox="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png":::
881+
816882
## Change the local account password
817883

818884
Follow these steps to change the local account passwords for an Azure Local VM deployed on your Azure Local instance. The steps are different for Windows and Linux VMs.
819885

820-
### [Windows](#tab/windows)
886+
### Change the local account password for Windows VMs
821887

822888
1. Sign in to the Azure Local VM.
823889

@@ -849,7 +915,7 @@ Follow these steps to change the local account passwords for an Azure Local VM d
849915
}
850916
```
851917
852-
### [Linux](#tab/linux)
918+
### Change the local account password for Linux VMs
853919
854920
If Bash is in a different directory, be sure to change the `#!/bin/bash` line accordingly.
855921
@@ -883,30 +949,6 @@ If Bash is in a different directory, be sure to change the `#!/bin/bash` line ac
883949
fi
884950
```
885951
886-
---
887-
888-
## Delete a VM
889-
890-
Deleting a VM doesn't delete all the resources associated with the VM. For example, it doesn't delete the data disks and the network interfaces associated with the VM. You need to locate and delete these resources separately.
891-
892-
To delete a VM, follow these steps in the Azure portal for your Azure Local instance:
893-
894-
1. Go to the Azure Local resource, and then go to **Virtual machines**.
895-
896-
1. In the list of virtual machines, select a VM that you want to remove from your system.
897-
898-
1. On the **Overview** page for the VM, on the command bar, select **Delete**.
899-
900-
1. You're prompted to confirm the deletion. Select **Yes**.
901-
902-
:::image type="content" source="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png" alt-text="Screenshot of the warning for deleting a virtual machine." lightbox="./media/manage-arc-virtual-machines/delete-virtual-machine-warning.png":::
903-
904-
1. Go to the resource group where this VM was deployed. Verify that the VM is removed from the list of resources in the resource group.
905-
906-
1. Locate the associated resources, such as the network interfaces and data disks, and delete them. You might need to select **Show hidden types** to view the resources associated with this VM that weren't deleted.
907-
908-
:::image type="content" source="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png" alt-text="Screenshot of hidden types of resources associated with a virtual machine." lightbox="./media/manage-arc-virtual-machines/locate-network-interfaces-data-disks-deleted-virtual-machine.png":::
909-
910952
## Conduct live migration of Azure Local VMs
911953
912954
Live migration of Azure Local VMs across Azure Local nodes is supported via on-premises tools like [Failover Cluster Manager](/windows-server/manage/windows-admin-center/use/manage-failover-clusters#adding-a-failover-cluster-to-windows-admin-center) or [Windows Admin Center](/windows-server/manage/windows-admin-center/use/manage-virtual-machines#live-migrate-a-virtual-machine-to-another-cluster-node). Live migration of VM storage is not supported.
-10.9 KB
Loading
218 KB
Loading
2.61 KB
Loading
218 KB
Loading
3.33 KB
Loading
2.47 KB
Loading
-74 Bytes
Loading
2.24 KB
Loading

0 commit comments

Comments
 (0)