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-custom-probe-overview.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,9 @@ Health probes support multiple protocols. The availability of a specific health
34
34
>[!IMPORTANT]
35
35
>Load Balancer health probes originate from the IP address 168.63.129.16 and must not be blocked for probes to mark up your instance. Review [probe source IP address](#probesource) for details.
36
36
37
+
>[!IMPORTANT]
38
+
>Regardless of configured time-out threshold, HTTP(S) Load Balancer health probes will automatically probe down an instance if the server returns any status code that is not HTTP 200 OK or if the connection is terminated via TCP reset.
39
+
37
40
## <aname="probes"></a>Probe configuration
38
41
39
42
Health probe configuration consists out of the following elements:
@@ -52,22 +55,22 @@ Health probe configuration consists out of the following elements:
52
55
The number of probe responses applies to both
53
56
54
57
- the number of successful probes that allow an instance to be marked as up, and
55
-
- the number of failed probes that cause an instance to be marked as down.
58
+
- the number of timed-out probes that cause an instance to be marked as down.
56
59
57
60
The timeout and interval values specified determine whether an instance will be marked as up or down. The duration of the interval multiplied by the number of probe responses determines the duration during which the probe responses have to be detected. And the service will react after the required probes have been achieved.
58
61
59
-
We can illustrate the behavior further with an example. If you have set the number of probe responses to 2 and the interval to 5 seconds, this means 2 probe failures must be observed within a 10 second interval. Because the time at which a probe is sent is not synchronized when your application may change state, we can bound the time to detect by two scenarios:
62
+
We can illustrate the behavior further with an example. If you have set the number of probe responses to 2 and the interval to 5 seconds, this means 2 probe time-out failures must be observed within a 10 second interval. Because the time at which a probe is sent is not synchronized when your application may change state, we can bound the time to detect by two scenarios:
60
63
61
-
1. If your application starts producing a failing probe response just before the first probe arrives, the detection of these events will take 10 seconds (2 x 5 second intervals) plus the duration of the the application starting to signal a failure to when the the first probe arrives. You can assume this detection to take slightly over 10 seconds.
62
-
2. If your application starts producing a failing probe response just after the first probe arrives, the detection of these events will not begin until the next probe arrives (and fails) plus another 10 seconds (2 x 5 second intervals). You can assume this detection to take just under 15 seconds.
64
+
1. If your application starts producing a time-out probe response just before the first probe arrives, the detection of these events will take 10 seconds (2 x 5 second intervals) plus the duration of the the application starting to signal a time-out to when the the first probe arrives. You can assume this detection to take slightly over 10 seconds.
65
+
2. If your application starts producing a time-out probe response just after the first probe arrives, the detection of these events will not begin until the next probe arrives (and times out) plus another 10 seconds (2 x 5 second intervals). You can assume this detection to take just under 15 seconds.
63
66
64
67
For this example, once detection has occurred, the platform will then take a small amount of time to react to this change. This means a depending on
65
68
66
69
1. when the application begins changing state and
67
70
2. when this change is detected and met the required criteria (number of probes sent at the specified interval) and
68
71
3. when the detection has been communicated across the platform
69
72
70
-
you can assume the reaction to a failing probe will take between a minimum of just over 10 seconds and a maximum of slightly over 15 seconds to react to a change in the signal from the application. This example is provided to illustrate what is taking place, however, it is not possible to forecast an exact duration beyond the above rough guidance illustrated in this example.
73
+
you can assume the reaction to a time-out probe response will take between a minimum of just over 10 seconds and a maximum of slightly over 15 seconds to react to a change in the signal from the application. This example is provided to illustrate what is taking place, however, it is not possible to forecast an exact duration beyond the above rough guidance illustrated in this example.
71
74
72
75
## <aname="types"></a>Probe types
73
76
@@ -91,7 +94,7 @@ TCP probes initiate a connection by performing a three-way open TCP handshake wi
91
94
The minimum probe interval is 5 seconds and the minimum number of unhealthy responses is 2. The total duration of all intervals cannot exceed 120 seconds.
92
95
93
96
A TCP probe fails when:
94
-
* The TCP listener on the instance doesn't respond at all during the timeout period. A probe is marked down based on the number of failed probe requests, which were configured to go unanswered before marking down the probe.
97
+
* The TCP listener on the instance doesn't respond at all during the timeout period. A probe is marked down based on the number of timed-out probe requests, which were configured to go unanswered before marking down the probe.
95
98
* The probe receives a TCP reset from the instance.
96
99
97
100
The following illustrates how you could express this kind of probe configuration in a Resource Manager template:
0 commit comments