Skip to content

Commit ba2ff6e

Browse files
authored
Merge pull request #15714 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-stack-docs (branch main)
2 parents 2da2013 + ed65dd3 commit ba2ff6e

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

azure-stack/hci/upgrade/install-enable-network-atc.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Before you install and enable Network ATC on your existing Azure Stack HCI, make
4141
## Steps to install and enable Network ATC
4242

4343
> [!IMPORTANT]
44-
> If you don't have running workloads on your nodes, just add your intent command as if this was a new cluster. You don't need to continue with the next set of instructions.
44+
> If you don't have running workloads on your nodes, execute [Step 4: Remove the existing configuration on the paused node without running VMs](#step-4-remove-the-existing-configuration-on-the-paused-node-without-running-vms) to remove any previous configurations that could conflict with Network ATC, then add your intent(s) following the standard procedures found in [Deploy host networking with Network ATC](../deploy/network-atc.md)
4545
4646
### Step 1: Install Network ATC
4747

@@ -51,21 +51,21 @@ In this step, you install Network ATC on every node in the cluster using the fol
5151
Install-WindowsFeature -Name NetworkATC
5252
```
5353

54-
### Step 2: Pause one node in the cluster
54+
### Step 2: Stop the Network ATC service
5555

56-
When you pause one node in the cluster, all workloads are moved to other nodes, making your machine available for changes. The paused node is then migrated to Network ATC. To pause your cluster node, use the following command:
56+
To prevent Network ATC from applying the intent while VMs are running, stop or disable the Network ATC service on all nodes that aren't paused. Use these commands:
5757

5858
```powershell
59-
Suspend-ClusterNode
59+
Set-Service -Name NetworkATC -StartupType Disabled
60+
Stop-Service -Name NetworkATC
6061
```
6162

62-
### Step 3: Stop the Network ATC service
63+
### Step 3: Pause one node in the cluster
6364

64-
To prevent Network ATC from applying the intent while VMs are running, stop or disable the Network ATC service on all nodes that aren't paused. Use these commands:
65+
When you pause one node in the cluster, all workloads are moved to other nodes, making your machine available for changes. The paused node is then migrated to Network ATC. To pause your cluster node, use the following command:
6566

6667
```powershell
67-
Set-Service -Name NetworkATC -StartupType Disabled
68-
Stop-Service -Name NetworkATC
68+
Suspend-ClusterNode
6969
```
7070

7171
### Step 4: Remove the existing configuration on the paused node without running VMs
@@ -98,7 +98,7 @@ If your nodes were configured via Virtual Machine Manager (VMM), those configura
9898

9999
### Step 5: Start the Network ATC service
100100

101-
As a precaution, to control the speed of the rollout, we paused the node and then stopped or disabled the Network ATC service in the previous steps. Since Network ATC intents are implemented cluster-wide, perform this step only once.
101+
As a precaution, to control the speed of the rollout, we paused the node and then stopped and disabled the Network ATC service in the previous steps. Since Network ATC intents are implemented cluster-wide, perform this step only once.
102102

103103
To start the Network ATC service, on the paused node only, run the following command:
104104

@@ -109,13 +109,9 @@ Set-service -Name NetworkATC -StartupType Automatic
109109

110110
### Step 6: Add the Network ATC intent
111111

112-
There are various intents that you can add. Identify the intent or intents you'd like using the examples in the next section.
112+
There are various intents that you can add. Identify the intent or intents you'd like by using the examples in the next section.
113113

114-
To add the Network ATC intent, run the following command:
115-
116-
```powershell
117-
Set-Service -Name NetworkATC -StartupType Automatic
118-
```
114+
To add the Network ATC intent, run the `Add-NetIntent` command with the appropriate options for the intent you want to deploy.
119115

120116
### Example intents
121117

@@ -153,7 +149,7 @@ In this example, there's a single intent managed across cluster nodes.
153149
Here's an example to implement this host network pattern:
154150
155151
```powershell
156-
Add-Netintent -Name MgmtComputeStorage -Management -Compute -Storage -AdapterName pNIC1, pNIC2
152+
Add-NetIntent -Name MgmtComputeStorage -Management -Compute -Storage -AdapterName pNIC1, pNIC2
157153
```
158154
159155
#### Group compute and storage traffic on one intent with a separate management intent
@@ -227,27 +223,30 @@ ProvisioningStatus : Completed
227223

228224
Ensure that each intent added has an entry for the host you're working on. Also, make sure the **ConfigurationStatus** shows **Success**.
229225

230-
If the **ConfigurationStatus** shows **Failed**, check to see if the error message indicates the reason for the failure. For some examples of failure resolutions, see [Common Error Messages](../deploy/network-atc.md#common-error-messages).
226+
If the **ConfigurationStatus** shows **Failed**, check to see if the error message indicates the reason for the failure. You can also review the Microsoft-Windows-Networking-NetworkATC/Admin event logs for more details on the reason for the failure. For some examples of failure resolutions, see [Common Error Messages](../deploy/network-atc.md#common-error-messages).
231227

232228
### Step 8: Rename the VMSwitch on other nodes
233229

234230
In this step, you move from the node deployed with Network ATC to the next node and migrate the VMs from this second node. You must verify that the second node has the same `VMSwitch` name as the node deployed with Network ATC.
235231

236-
This is a nondisruptive change and can be done on all the nodes simultaneously. Run the following command:
232+
> [!IMPORTANT]
233+
> After the virtual switch is renamed, you must disconnect and reconnect each virtual machine so that it can appropriately cache the new name of the virtual switch. This is a disruptive action that requires planning to complete. If you do not perform this action, live migrations will fail with an error indicating the virtual switch doesn't exist on the destination.
234+
235+
Renaming the virtual switch is a non-disruptive change and can be done on all the nodes simultaneously. Run the following command:
237236

238237
```powershell
239238
#Run on the node where you configured Network ATC
240-
Get-VMSwitch | ft name
239+
Get-VMSwitch | ft Name
241240
242241
#Run on the next node to rename the virtual switch
243242
Rename-VMSwitch -Name 'ExistingName' -NewName 'NewATCName'
244243
```
245244

246-
After your switch is renamed, disconnect and reconnect your vNICs for the `VMSwitch` name change to go through. Once the change goes through, on each node, run the following commands:
245+
After your switch is renamed, disconnect and reconnect your vNICs for the `VMSwitch` name change to go through. The command below can be used to perform this action for all VMs:
247246

248247
```powershell
249248
$VMSW = Get-VMSwitch
250-
$VMs = get-vm
249+
$VMs = Get-VM
251250
$VMs | %{Get-VMNetworkAdapter -VMName $_.name | Disconnect-VMNetworkAdapter ; Get-VMNetworkAdapter -VMName $_.name | Connect-VMNetworkAdapter -SwitchName $VMSW.name}
252251
```
253252

@@ -265,7 +264,7 @@ Resume-ClusterNode
265264
```
266265

267266
> [!NOTE]
268-
> To apply the Network ATC settings across the cluster, repeat steps 1 through 5, step 7, and step 9 for each node of the cluster.
267+
> To apply the Network ATC settings across the cluster, repeat steps 1 through 5 (skip deleting the virtual switch as it was renamed), step 7, and step 9 for each node of the cluster.
269268
270269
## Next step
271270

0 commit comments

Comments
 (0)