Advanced Networking Services Guide

Table Of Contents
Create a Service Monitor
You create a service monitor to define health check parameters for a particular type of network traffic. When
you associate a service monitor with a pool, the pool members are monitored according to the service
monitor parameters.
Procedure
1 Log in to vCloud Air and navigate to the vCloud Edge Gateway Services UI.
See “Log In and Navigate to Advanced Networking Services,” on page 9 for information.
2 Click the Load Balancer tab and Service Monitoring.
3
Click the Add (
) icon.
The New Service Monitor dialog box appears.
4 Type a name for the service monitor.
5 (Optional) Configure the following options for the service monitor:
Option Description
Interval
Type the interval at which a server is to be pinged.
Timeout
Type the maximum time in seconds within which a response from the
server must be received.
Max Retries
Type the number of times the server must be pinged before it is declared
down.
Type
Select the way in which you want to send the health check request to the
server—HTTP, HTTPS, TCP, ICMP, or UDP.
Depending on the type selected, the remaining options in the New Service
Monitor dialog are enabled or disabled.
Expected
(HTTP and HTTPS only) Type the string that the monitor expects to match
in the status line of the HTTP or HTTPS response (for example, HTTP/1.1).
Method
(HTTP and HTTPS only) Select the method to be used to detect server
status.
URL
(HTTP and HTTPS only) Type the URL to be used in the sample request.
NOTE When you select the POST method, you must specify a URL.
Send
(HTTP, HTTPS, and UDP only) Type the data to be sent.
Receive
(HTTP, HTTPS, and UDP only) Type the string to be matched in the
response content.
NOTE When Expected is not matched, the monitor does not try to match
the Receive content.
Extension
(ALL) Type advanced monitor parameters as key=value pairs. For
example, warning=10 indicates that when a server does not respond within
10 seconds, its status is set as warning. All extension items should be
separated with a carriage return character. For example:
<extension>delay=2
critical=3
escape</extension>
6 Click OK.
Chapter 5 Load Balancing
VMware, Inc. 43