Skip to content

Commit d277c0a

Browse files
Merge pull request #273657 from vamckMS/adh-redeploy
ADH Redeploy
2 parents 9aa4ee1 + 84425bc commit d277c0a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

articles/virtual-machines/dedicated-hosts-how-to.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,39 @@ $hostRestartStatus.InstanceView.Statuses[1].DisplayStatus;
728728

729729
[!INCLUDE [dedicated-hosts-resize](includes/dedicated-hosts-resize.md)]
730730

731+
732+
733+
## Redeploy a host
734+
735+
If a VM or the underlying host remains unresponsive after following all the potential troubleshooting steps users can trigger service healing of the host and not wait for the platform to initiate the repair. Redeploying a host will move the host and all associated VMs to a different node of the same SKU. None of the host parameters would change except for the ‘Host asset ID’, which corresponds to the underlying Node Id.
736+
737+
> [!WARNING]
738+
> Redeploy operation involves service healing hence would result in loss of any non-persistent data such as data stored on ephemeral disks. Save your work before redeploying.
739+
740+
### [Portal](#tab/portal)
741+
742+
1. Search for and select the host.
743+
1. In the top menu bar, select the **Redeploy** button.
744+
1. In the **Essentials** section of the Host Resource Pane, host's provisioning state will switch to **Updating** during the redeploy operation.
745+
1. Once the redeploy operation is completed, host's provisioning state will revert to **Provisioning succeeded**.
746+
1. In the **Essentials** section of the Host Resource Pane, **Host asset ID** would be updated to a new ID
747+
748+
### [CLI](#tab/cli)
749+
750+
Redeploying the host using [az vm host redeploy](/cli/azure/vm#az-vm-host-redeploy).
751+
752+
```azurecli-interactive
753+
az vm host redeploy \
754+
--resource-group myResourceGroup \
755+
--host-group myHostGroup \
756+
--name myDedicatedHost
757+
```
758+
### [PowerShell](#tab/powershell)
759+
760+
PowerShell support coming soon.
761+
762+
---
763+
731764
## Deleting a host
732765

733766
You're being charged for your dedicated host even when no virtual machines are deployed on the host. You should delete any hosts you're currently not using to save costs.

0 commit comments

Comments
 (0)