Skip to content

Commit a91b675

Browse files
authored
Merge pull request #99281 from KumudD/ipv6updatedec
IPv6 update - Add health probe step
2 parents 6954237 + 9b3918b commit a91b675

4 files changed

+37
-10
lines changed

articles/virtual-network/virtual-network-ipv4-ipv6-dual-stack-cli.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.devlang: na
1111
ms.topic: article
1212
ms.tgt_pltfrm: na
1313
ms.workload: infrastructure-services
14-
ms.date: 07/08/2019
14+
ms.date: 12/17/2019
1515
ms.author: kumud
1616
---
1717

@@ -146,7 +146,12 @@ az network lb address-pool create \
146146
--name dsLbBackEndPool_v6 \
147147
--resource-group DsResourceGroup01
148148
```
149+
### Create a health probe
150+
Create a health probe with [az network lb probe create](https://docs.microsoft.com/cli/azure/network/lb/probe?view=azure-cli-latest) to monitor the health of the virtual machines.
149151

152+
```azurecli
153+
az network lb probe create -g DsResourceGroup01 --lb-name dsLB -n dsProbe --protocol tcp --port 3389
154+
```
150155
### Create a load balancer rule
151156

152157
A load balancer rule is used to define how traffic is distributed to the VMs. You define the frontend IP configuration for the incoming traffic and the backend IP pool to receive the traffic, along with the required source and destination port.
@@ -162,6 +167,7 @@ az network lb rule create \
162167
--protocol Tcp \
163168
--frontend-port 80 \
164169
--backend-port 80 \
170+
--probe-name dsProbe \
165171
--backend-pool-name dsLbBackEndPool_v4
166172
167173
@@ -173,6 +179,7 @@ az network lb rule create \
173179
--protocol Tcp \
174180
--frontend-port 80 \
175181
--backend-port 80 \
182+
--probe-name dsProbe \
176183
--backend-pool-name dsLbBackEndPool_v6
177184
178185
```

articles/virtual-network/virtual-network-ipv4-ipv6-dual-stack-powershell.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.devlang: na
1111
ms.topic: article
1212
ms.tgt_pltfrm: na
1313
ms.workload: infrastructure-services
14-
ms.date: 07/08/2019
14+
ms.date: 12/17/2019
1515
ms.author: kumud
1616
---
1717

@@ -125,7 +125,11 @@ $backendPoolv4 = New-AzLoadBalancerBackendAddressPoolConfig `
125125
$backendPoolv6 = New-AzLoadBalancerBackendAddressPoolConfig `
126126
-Name "dsLbBackEndPool_v6"
127127
```
128-
128+
### Create a health probe
129+
Use [Add-AzLoadBalancerProbeConfig](/powershell/module/az.network/add-azloadbalancerprobeconfig) to create a health probe to monitor the health of the VMs.
130+
```azurepowershell
131+
$probe = New-AzLoadBalancerProbeConfig -Name MyProbe -Protocol tcp -Port 3389 -IntervalInSeconds 15 -ProbeCount 2
132+
```
129133
### Create a load balancer rule
130134

131135
A load balancer rule is used to define how traffic is distributed to the VMs. You define the frontend IP configuration for the incoming traffic and the backend IP pool to receive the traffic, along with the required source and destination port. To make sure only healthy VMs receive traffic, you can optionally define a health probe. Basic load balancer uses an IPv4 probe to assess health for both IPv4 and IPv6 endpoints on the VMs. Standard load balancer includes support for explicitly IPv6 health probes.
@@ -139,15 +143,17 @@ $lbrule_v4 = New-AzLoadBalancerRuleConfig `
139143
-BackendAddressPool $backendPoolv4 `
140144
-Protocol Tcp `
141145
-FrontendPort 80 `
142-
-BackendPort 80
146+
-BackendPort 80 `
147+
-probe $probe
143148
144149
$lbrule_v6 = New-AzLoadBalancerRuleConfig `
145150
-Name "dsLBrule_v6" `
146151
-FrontendIpConfiguration $frontendIPv6 `
147152
-BackendAddressPool $backendPoolv6 `
148153
-Protocol Tcp `
149154
-FrontendPort 80 `
150-
-BackendPort 80
155+
-BackendPort 80 `
156+
-probe $probe
151157
```
152158

153159
### Create load balancer

articles/virtual-network/virtual-network-ipv4-ipv6-dual-stack-standard-load-balancer-cli.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.devlang: na
1111
ms.topic: article
1212
ms.tgt_pltfrm: na
1313
ms.workload: infrastructure-services
14-
ms.date: 07/15/2019
14+
ms.date: 12/17/2019
1515
ms.author: kumud
1616
---
1717

@@ -145,6 +145,12 @@ az network lb address-pool create \
145145
--resource-group DsResourceGroup01
146146
```
147147

148+
### Create a health probe
149+
Create a health probe with [az network lb probe create](https://docs.microsoft.com/cli/azure/network/lb/probe?view=azure-cli-latest) to monitor the health of the virtual machines.
150+
151+
```azurecli
152+
az network lb probe create -g DsResourceGroup01 --lb-name dsLB -n dsProbe --protocol tcp --port 3389
153+
```
148154
### Create a load balancer rule
149155

150156
A load balancer rule is used to define how traffic is distributed to the VMs. You define the frontend IP configuration for the incoming traffic and the backend IP pool to receive the traffic, along with the required source and destination port.
@@ -160,6 +166,7 @@ az network lb rule create \
160166
--protocol Tcp \
161167
--frontend-port 80 \
162168
--backend-port 80 \
169+
--probe-name dsProbe \
163170
--backend-pool-name dsLbBackEndPool_v4
164171
165172
@@ -171,6 +178,7 @@ az network lb rule create \
171178
--protocol Tcp \
172179
--frontend-port 80 \
173180
--backend-port 80 \
181+
--probe-name dsProbe \
174182
--backend-pool-name dsLbBackEndPool_v6
175183
176184
```

articles/virtual-network/virtual-network-ipv4-ipv6-dual-stack-standard-load-balancer-powershell.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.devlang: na
1111
ms.topic: article
1212
ms.tgt_pltfrm: na
1313
ms.workload: infrastructure-services
14-
ms.date: 07/08/2019
14+
ms.date: 12/17/2019
1515
ms.author: kumud
1616
---
1717

@@ -126,7 +126,11 @@ $backendPoolv4 = New-AzLoadBalancerBackendAddressPoolConfig `
126126
$backendPoolv6 = New-AzLoadBalancerBackendAddressPoolConfig `
127127
-Name "dsLbBackEndPool_v6"
128128
```
129-
129+
### Create a health probe
130+
Use [Add-AzLoadBalancerProbeConfig](/powershell/module/az.network/add-azloadbalancerprobeconfig) to create a health probe to monitor the health of the VMs.
131+
```azurepowershell
132+
$probe = New-AzLoadBalancerProbeConfig -Name MyProbe -Protocol tcp -Port 3389 -IntervalInSeconds 15 -ProbeCount 2
133+
```
130134
### Create a load balancer rule
131135

132136
A load balancer rule is used to define how traffic is distributed to the VMs. You define the frontend IP configuration for the incoming traffic and the backend IP pool to receive the traffic, along with the required source and destination port. To make sure only healthy VMs receive traffic, you can optionally define a health probe. Basic load balancer uses an IPv4 probe to assess health for both IPv4 and IPv6 endpoints on the VMs. Standard load balancer includes support for explicitly IPv6 health probes.
@@ -140,15 +144,17 @@ $lbrule_v4 = New-AzLoadBalancerRuleConfig `
140144
-BackendAddressPool $backendPoolv4 `
141145
-Protocol Tcp `
142146
-FrontendPort 80 `
143-
-BackendPort 80
147+
-BackendPort 80 `
148+
-probe $probe
144149
145150
$lbrule_v6 = New-AzLoadBalancerRuleConfig `
146151
-Name "dsLBrule_v6" `
147152
-FrontendIpConfiguration $frontendIPv6 `
148153
-BackendAddressPool $backendPoolv6 `
149154
-Protocol Tcp `
150155
-FrontendPort 80 `
151-
-BackendPort 80
156+
-BackendPort 80 `
157+
-probe $probe
152158
```
153159

154160
### Create load balancer

0 commit comments

Comments
 (0)