You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-vmware/use-hcx-run-commands.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ In this article, you learn how to use HCX run commands. Use run commands to perf
12
12
13
13
This article describes two HCX commands: **Restart HCX Manager** and **Scale HCX Manager**.
14
14
15
-
## Restart HCX Manage
15
+
## Restart HCX Manager
16
16
17
17
This Command checks for active HCX migrations and replications. If none are found, it restarts the HCX cloud manager (HCX VM's guest OS).
18
18
@@ -24,14 +24,14 @@ This Command checks for active HCX migrations and replications. If none are foun
24
24
1. Set parameters and select **Run**.
25
25
Optional run command parameters.
26
26
27
-
If the parameters are used incorrectly, they can halt active migrations, and replications and cause other issues. Brief description of each parameter with an example of when teach should be used.
27
+
If the parameters are used incorrectly, they can halt active migrations, and replications and cause other issues. Brief description of each parameter with an example of when it should be used.
28
28
29
29
**Hard Reboot Parameter** - Restarts the virtual machine instead of the default of a GuestOS Reboot. This command is like pulling the power plug on a machine. We don't want to risk disk corruption so this should only be used if a normal reboot fails, and we have exhausted all other options.
30
30
31
31
**Force Parameter** - If there are ANY active HCX migrations/replications, this parameter avoids the check for active HCX migrations/replications. If the Virtual machine is in a powered off state, this parameter powers the machine on.
32
32
33
33
**Scenario 1**: A customer has a migration that has been stuck in an active state for weeks and they need a restart of HCX for a separate issue. Without this parameter, the script will fail due to the detection of the active migration.
34
-
Scenario 2: The HCX Manager is powered off and the customer would like to power it back on.
34
+
**Scenario 2**: The HCX Manager is powered off and the customer would like to power it back on.
35
35
36
36
:::image type="content" source="media/hcx-commands/restart-command.png" alt-text="Diagram that shows run command parameters for Restart-HcxManager command." border="false" lightbox="media/hcx-commands/restart-command.png":::
37
37
@@ -49,7 +49,7 @@ Use the Scale HCX manager run command to increase the resource allocation of you
49
49
50
50
1. Select the **Microsoft.AVS.Management** package dropdown menu and select the ``Set-HcxScaledCpuAndMemorySetting`` command.
51
51
52
-
:::image type="content" source="media/hcx-commands/set-hcx-scale.png" alt-text="Diagram that shows run command parameters for Set-HcxScaledCpuAndMemorySetting Command." border="false" lightbox="media/hcx-commands/set-hcx-scale.png":::
52
+
:::image type="content" source="media/hcx-commands/set-hcx-scale.png" alt-text="Diagram that shows run command parameters for Set-HcxScaledCpuAndMemorySetting command." border="false" lightbox="media/hcx-commands/set-hcx-scale.png":::
53
53
54
54
1. Agree to restart HCX by toggling ``AgreeToRestartHCX`` to **True**.
55
55
You must acknowledge that the virtual machine will be restarted.
@@ -58,10 +58,10 @@ Use the Scale HCX manager run command to increase the resource allocation of you
58
58
>[!NOTE]
59
59
> If this required parameter is set to false that cmdlet execution will fail.
60
60
61
-
1. Select **Run** to execute.
62
-
This process may take between 10-15 minutes.
63
-
64
-
>[!NOTE]
61
+
1. Select **Run** to execute.
62
+
This process may take between 10-15 minutes.
63
+
64
+
>[!NOTE]
65
65
> HCX cloud manager will be unavailable during the scaling.
0 commit comments