Skip to content

Commit 2fdb936

Browse files
committed
Doc updates
1 parent a80ea6b commit 2fdb936

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/azure-arc/vmware-vsphere/enable-guest-management-at-scale.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ Ensure the following before you install Arc agents at scale for VMware VMs:
2626
- All the target machines are:
2727
- Powered on and the resource bridge has network connectivity to the host running the VM.
2828
- Running a [supported operating system](../servers/prerequisites.md#supported-operating-systems).c
29-
- VMware tools are installed on the machines. If VMware tools aren't installed, the enable guest management operation is grayed out in the portal.
29+
- VMware tools are installed on the machines. If VMware tools aren't installed, enable guest management operation is grayed out in the portal.
3030
>[!Note]
3131
>You can use the [out-of-band method](./enable-guest-management-at-scale.md#approach-d-install-arc-agents-at-scale-using-out-of-band-approach) to install Arc agents if VMware tools aren't installed.
3232
- Able to connect through the firewall to communicate over the internet, and [these URLs](../servers/network-requirements.md#urls) aren't blocked.
3333

3434
> [!NOTE]
3535
> If you're using a Linux VM, the account must not prompt for login on sudo commands. To override the prompt, from a terminal, run `sudo visudo`, and add `<username> ALL=(ALL) NOPASSWD:ALL` at the end of the file. Ensure you replace `<username>`. <br> <br>If your VM template has these changes incorporated, you won't need to do this for the VM created from that template.
3636
37-
### Approach A: Install Arc agents at scale from portal
37+
## Approach A: Install Arc agents at scale from portal
3838

3939
An admin can install agents for multiple machines from the Azure portal if the machines share the same administrator credentials.
4040

@@ -56,7 +56,7 @@ An admin can install agents for multiple machines from the Azure portal if the m
5656
> [!NOTE]
5757
> For Windows VMs, the account must be part of local administrator group; and for Linux VM, it must be a root account.
5858
59-
### Approach B: Install Arc agents using AzCLI commands
59+
## Approach B: Install Arc agents using AzCLI commands
6060

6161
The following Azure CLI commands can be used to install Arc agents.
6262

@@ -74,11 +74,11 @@ az connectedvmware vm guest-agent enable --password
7474
[--no-wait]
7575
```
7676

77-
### Approach C: Install Arc agents at scale using helper script
77+
## Approach C: Install Arc agents at scale using helper script
7878

7979
Arc agent installation can be automated using the helper script built using the AzCLI command provided [here](./enable-guest-management-at-scale.md#approach-b-install-arc-agents-using-azcli-commands). Download this [helper script](https://aka.ms/arcvmwarebatchenable) to enable VMs and install Arc agents at scale. In a single ARM deployment, the helper script can enable and install Arc agents on 200 VMs.
8080

81-
#### Features of the script
81+
### Features of the script
8282

8383
- Creates a log file (vmware-batch.log) for tracking its operations.
8484

@@ -94,15 +94,15 @@ Arc agent installation can be automated using the helper script built using the
9494

9595
Before running this script, install az cli and the connectedvmware extension.
9696

97-
#### Prerequisites
97+
### Prerequisites
9898

9999
Before running this script, install:
100100

101101
- Azure CLI from [here](/cli/azure/install-azure-cli).
102102

103103
- The `connectedvmware` extension for Azure CLI: Install it by running `az extension add --name connectedvmware`.
104104

105-
## Usage
105+
### Usage
106106

107107
1. Download the script to your local machine.
108108

@@ -112,7 +112,7 @@ Before running this script, install:
112112

113113
4. Run the script with the required parameters. For example, `.\arcvmware-batch-enablement.ps1 -VCenterId "<vCenterId>" -EnableGuestManagement -VMCountPerDeployment 3 -DryRun`. Replace `<vCenterId>` with the ARM ID of your vCenter.
114114

115-
## Parameters
115+
### Parameters
116116

117117
- `VCenterId`: The ARM ID of the vCenter where the VMs are located.
118118

@@ -122,7 +122,7 @@ Before running this script, install:
122122

123123
- `DryRun`: If this switch is specified, the script will only create the ARM deployment files. Else, the script will also deploy the ARM deployments.
124124

125-
## Running as a Cron Job
125+
### Running as a Cron Job
126126

127127
You can set up this script to run as a cron job using the Windows Task Scheduler. Here's a sample script to create a scheduled task:
128128

@@ -140,11 +140,11 @@ To unregister the task, run the following command:
140140
Unregister-ScheduledTask -TaskName "EnableVMs"
141141
```
142142

143-
### Approach D: Install Arc agents at scale using out-of-band approach
143+
## Approach D: Install Arc agents at scale using out-of-band approach
144144

145-
Arc agents can be installed directly on machines without relying on VMware tools or APIs. By following the out-of-band approach, initially onboard the machines as Arc-enabled Server resources with Resource type as Microsoft.HybridCompute/machines. After that, perform **Link to vCenter** operation to update the machine's Kind property as VMware, enabling virtual lifecycle operations.
145+
Arc agents can be installed directly on machines without relying on VMware tools or APIs. By following the out-of-band approach, first onboard the machines as Arc-enabled Server resources with Resource type as Microsoft.HybridCompute/machines. After that, perform **Link to vCenter** operation to update the machine's Kind property as VMware, enabling virtual lifecycle operations.
146146

147-
a. **Connect the machines as Arc-enabled Server resources:** Install Arc agents using Arc-enabled Server scripts.
147+
1. **Connect the machines as Arc-enabled Server resources:** Install Arc agents using Arc-enabled Server scripts.
148148

149149
You can use any of the following automation approaches to install Arc agents at scale:
150150

@@ -154,7 +154,7 @@ You can use any of the following automation approaches to install Arc agents at
154154
- [Install Arc agents at scale using Group policy](../servers/onboard-group-policy-powershell.md).
155155
- [Install Arc agents at scale using Ansible playbook](../servers/onboard-ansible-playbooks.md).
156156

157-
b. **Link Arc-enabled Server resources to the vCenter:** The following commands will update the Kind property of Hybrid Compute machines as **VMware**. Linking the machines to vCenter will enable virtual lifecycle operations and power cycle operations (start, stop, etc.) on the machines.
157+
2. **Link Arc-enabled Server resources to the vCenter:** The following commands will update the Kind property of Hybrid Compute machines as **VMware**. Linking the machines to vCenter will enable virtual lifecycle operations and power cycle operations (start, stop, etc.) on the machines.
158158

159159
- The following command scans all the Arc for Server machines that belong to the vCenter in the specified subscription and links the machines with that vCenter.
160160

0 commit comments

Comments
 (0)