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
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,27 +8,27 @@ ms.date: 04/11/2023
8
8
---
9
9
10
10
# Use HCX Run Commands
11
-
In this article you learn how to use HCX run commands. Use run commands to perform operations that would normally require elevated privileges through a collection of PowerShell cmdlets. This document outlines the available HCX run commands and how to use them.
11
+
In this article, you learn how to use HCX run commands. Use run commands to perform operations that would normally require elevated privileges through a collection of PowerShell cmdlets. This document outlines the available HCX run commands and how to use them.
12
12
13
13
This article describes two HCX commands: **Restart HCX Manager** and **Scale HCX Manager**.
14
14
15
15
## Restart HCX Manage
16
16
17
-
This Command checks for active HCX migrations and replications. If none are found, it will restart the HCX cloud manager (HCX VM's guest OS).
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
19
-
1. Navigate to the run Command blade on in an AVS private cloud on the azure portal.
19
+
1. Navigate to the run Command panel in an Azure VMware private cloud on the Azure portal.
20
20
21
21
:::image type="content" source="media/hcx-commands/run-command-private-cloud.png" alt-text="Diagram that lists all available Run command packages and Run commands." border="false" lightbox="media/hcx-commands/run-command-private-cloud.png":::
22
22
23
23
1. Select the **Microsoft.AVS.Management** package dropdown menu and select the **Restart-HcxManager** command.
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 as well as 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 teach should be used.
28
28
29
-
**Hard Reboot Parameter** - Restarts the virtual machine instead of the default of a GuestOS Reboot. This is like pulling the power plug on a machine. We do not want to risk disk corruption so this should only be used if a normal reboot fails, and we have exhausted all other options.
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
-
**Force Parameter** - If there are ANY active HCX migrations/replications, this param will avoid the check for active HCX migrations/replications. If the Virtual machine is in a powered off state, this parameter will power the machine on.
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
34
Scenario 2: The HCX Manager is powered off and the customer would like to power it back on.
@@ -38,14 +38,14 @@ Optional run command parameters.
38
38
1. Wait for command to finish. It may take few minutes for the HCX appliance to come online.
39
39
40
40
## Scale HCX manager
41
-
Use the Scale HCX manager run command to increase the resource allocation of your HCX Manager virtual machine to 8 vCPUs and 24GB RAM from the default setting of 4 vCPUs and 12GB RAM, facilitating scalability.
41
+
Use the Scale HCX manager run command to increase the resource allocation of your HCX Manager virtual machine to 8 vCPUs and 24-GB RAM from the default setting of 4 vCPUs and 12-GB RAM, ensuring scalability.
42
42
43
43
**Scenario**: Mobility Optimize Networking (MON) requires HCX Scalability. For more details on [MON scaling](https://kb.vmware.com/s/article/88401)
44
44
45
45
>[!NOTE]
46
46
> HCX cloud manager will be rebooted during this operation, and this may affect any ongoing migration processes.
47
47
48
-
1. Navigate to the run Command blade on in an AVS private cloud on the azure portal.
48
+
1. Navigate to the run Command panel on in an AVS private cloud on the Azure portal.
49
49
50
50
1. Select the **Microsoft.AVS.Management** package dropdown menu and select the ``Set-HcxScaledCpuAndMemorySetting`` command.
51
51
@@ -58,7 +58,7 @@ 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.
0 commit comments