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/load-balancer/load-balancer-troubleshoot.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.devlang: na
11
11
ms.topic: article
12
12
ms.tgt_pltfrm: na
13
13
ms.workload: infrastructure-services
14
-
ms.date: 08/09/2018
14
+
ms.date: 11/19/2019
15
15
ms.author: genli
16
16
---
17
17
@@ -23,6 +23,8 @@ This page provides troubleshooting information for common Azure Load Balancer qu
23
23
- VMs behind the Load Balancer are not responding to health probes
24
24
- VMs behind the Load Balancer are not responding to the traffic on the configured port
25
25
26
+
When the external clients to the backend VMs go through the load balancer, the IP address of the clients will be used for the communication. Make sure the IP address of the clients are added into the NSG allow list.
27
+
26
28
## Symptom: VMs behind the Load Balancer are not responding to health probes
27
29
For the backend servers to participate in the load balancer set, they must pass the probe check. For more information about health probes, see [Understanding Load Balancer Probes](load-balancer-custom-probe-overview.md).
28
30
@@ -92,18 +94,20 @@ If a VM does not respond to the data traffic, it may be because either the targe
92
94
2. Open a command prompt and run the following command to validate there is an application listening on the data port:
93
95
netstat -an
94
96
3. If the port is not listed with State “LISTENING”, configure the proper listener port
95
-
4. If the port is marked as Listening, then check the target application on that port for any possible issues.
97
+
4. If the port is marked as Listening, then check the target application on that port for any possible issues.
96
98
97
99
### Cause 2: Network security group is blocking the port on the Load Balancer backend pool VM
98
100
99
101
If one or more network security groups configured on the subnet or on the VM, is blocking the source IP or port, then the VM is unable to respond.
100
102
101
-
* List the network security groups configured on the backend VM. For more information, see [Manage network security groups](../virtual-network/manage-network-security-group.md).
102
-
* From the list of network security groups, check if:
103
+
For the public load balancer, the IP address of the Internet clients will be used for communication between the clients and the load balancer backend VMs. Make sure the IP address of the clients are allowed in the backend VM's network security group.
104
+
105
+
1. List the network security groups configured on the backend VM. For more information, see [Manage network security groups](../virtual-network/manage-network-security-group.md)
106
+
1. From the list of network security groups, check if:
103
107
- the incoming or outgoing traffic on the data port has interference.
104
-
- a **Deny All** network security group rule on the NIC of the VM or the subnet that has a higher priority that the default rule that allows Load Balancer probes and traffic (network security groups must allow Load Balancer IP of 168.63.129.16, that is probe port)
105
-
* If any of the rules are blocking the traffic, remove and reconfigure those rules to allow the data traffic.
106
-
* Test if the VM has now started to respond to the health probes.
108
+
- a **Deny All** network security group rule on the NIC of the VM or the subnet that has a higher priority that the default rule that allows Load Balancer probes and traffic (network security groups must allow Load Balancer IP of 168.63.129.16, that is probe port)
109
+
1. If any of the rules are blocking the traffic, remove and reconfigure those rules to allow the data traffic.
110
+
1. Test if the VM has now started to respond to the health probes.
107
111
108
112
### Cause 3: Accessing the Load Balancer from the same VM and Network interface
# Troubleshoot a problem Azure VM by using nested virtualization in Azure
@@ -68,70 +68,55 @@ To mount the problem VM, the Rescue VM must meet the following prerequisites:
68
68
69
69
## Step 2: Create the problem VM on the Rescue VM’s Hyper-V server
70
70
71
-
1.Record the name of the disk in the problem VM, and then delete the problem VM. Make sure that you keep all attached disks.
71
+
1.[Create a snapshot disk](troubleshoot-recovery-disks-portal-windows.md#take-a-snapshot-of-the-os-disk) for the OS disk of the VM that has problem, and then attach the snapshot disk to the recuse VM.
72
72
73
-
2.Attach the OS disk of your problem VM as a data disk of the Rescue VM.
73
+
2.Remote desktop to the Rescue VM.
74
74
75
-
1. After the problem VM is deleted, go to the Rescue VM.
75
+
3. Open Disk Management (diskmgmt.msc). Make sure that the disk of the problem VM is set to **Offline**.
76
76
77
-
2. Select **Disks**, and then **Add data disk**.
77
+
4. Open Hyper-V Manager: In **Server Manager**, select the **Hyper-V role**. Right-click the server, and then select the **Hyper-V Manager**.
78
78
79
-
3. Select the problem VM’s disk, and then select **Save**.
79
+
5. In the Hyper-V Manager, right-click the Rescue VM, and then select **New** > **Virtual Machine** > **Next**.
80
80
81
-
3.After the disk has successfully attached, remote desktop to the Rescue VM.
81
+
6.Type a name for the VM, and then select **Next**.
82
82
83
-
4.Open Disk Management (diskmgmt.msc). Make sure that the disk of the problem VM is set to **Offline**.
83
+
7.Select **Generation 1**.
84
84
85
-
5.Open Hyper-V Manager: In **Server Manager**, select the **Hyper-V role**. Right-click the server, and then select the **Hyper-V Manager**.
85
+
8.Set the startup memory at 1024 MB or more.
86
86
87
-
6. In the Hyper-V Manager, right-click the Rescue VM, and then select **New** > **Virtual Machine** > **Next**.
87
+
9. If applicable select the Hyper-V Network Switch that was created. Else move to the next page.
88
88
89
-
7. Type a name for the VM, and then select **Next**.
90
-
91
-
8. Select **Generation 1**.
92
-
93
-
9. Set the startup memory at 1024 MB or more.
94
-
95
-
10. If applicable select the Hyper-V Network Switch that was created. Else move to the next page.
96
-
97
-
11. Select **Attach a virtual hard disk later**.
89
+
10. Select **Attach a virtual hard disk later**.
98
90
99
91

100
92
101
-
12. Select **Finish** when the VM is created.
93
+
11. Select **Finish** when the VM is created.
102
94
103
-
13. Right-click the VM that you created, and then select **Settings**.
95
+
12. Right-click the VM that you created, and then select **Settings**.
104
96
105
-
14. Select **IDE Controller 0**, select **Hard Drive**, and then click **Add**.
97
+
13. Select **IDE Controller 0**, select **Hard Drive**, and then click **Add**.
106
98
107
99

108
100
109
-
15. In **Physical Hard Disk**, select the disk of the problem VM that you attached to the Azure VM. If you do not see any disks listed, check if the disk is set to offline by using Disk management.
101
+
14. In **Physical Hard Disk**, select the disk of the problem VM that you attached to the Azure VM. If you do not see any disks listed, check if the disk is set to offline by using Disk management.
110
102
111
103

112
104
113
105
114
-
17. Select **Apply**, and then select **OK**.
106
+
15. Select **Apply**, and then select **OK**.
115
107
116
-
18. Double-click on the VM, and then start it.
108
+
16. Double-click on the VM, and then start it.
117
109
118
-
19. Now you can work on the VM as the on-premises VM. You could follow any troubleshooting steps you need.
110
+
17. Now you can work on the VM as the on-premises VM. You could follow any troubleshooting steps you need.
119
111
120
-
## Step 3: Re-create your Azure VM in Azure
112
+
## Step 3: Replace the OS disk used by the problem VM
121
113
122
114
1. After you get the VM back online, shut down the VM in the Hyper-V manager.
123
115
124
-
2. Go to the [Azure portal](https://portal.azure.com) and select the Rescue VM > Disks, copy the name of the disk. You will use the name in the next step. Detach the fixed disk from the Rescue VM.
125
-
126
-
3. Go to **All resources**, search for the disk name, and then select the disk.
127
-
128
-

129
-
130
-
4. Click **Create VM**.
131
-
132
-

133
-
134
-
You can also use Azure PowerShell to create the VM from the disk. For more information, see [Create the new VM from an existing disk by using PowerShell](../windows/create-vm-specialized.md#create-the-new-vm).
116
+
2.[Unmount and detach the repaired OS disk](troubleshoot-recovery-disks-portal-windows.md#unmount-and-detach-original-virtual-hard-disk
117
+
).
118
+
3.[Replace the OS disk used by the VM with the repaired OS disk](troubleshoot-recovery-disks-portal-windows.md#swap-the-os-disk-for-the-vm
0 commit comments