By selecting the Customize option on the General tab, you can specify how, or if, the NSX load balancer performs health checks on pool members within the virtual server.
About this task
The default health check protocol and health check port settings match the protocol and port settings on the General tab.
For related information see Create a Service Monitor in NSX Product Documentation at https://www.vmware.com/support/pubs/nsx_pubs.html. Note that the NSX documentation refers to the virtual server member as a pool member.
- (Optional) : Select a heath check protocol in the Health check protocol drop-down menu to specify how the pool member is accessed when the load balancer listens to determine the health of the pool member.
The protocol options are HTTP, HTTPS, TCP, ICMP, UDP, and None.
You can also accept the default protocol as specified on the General tab.
- (Optional) : Enter a value in the Health check port box to specify on which port the load balancer listens to monitor the health of the virtual server member or pool member.
Note that the NSX documentation refers to a virtual server member as a pool member.
The HTTP, HTTPS, and TCP protocols can share a port with UDP. For example, if service 1 uses TCP, HTTP, or HTTPS on port 80, service 2 can use UDP on port 80. If service 1 uses UDP on port 80 though, service 2 cannot use UDP on port 80.
- Enter the Interval value in seconds at which a server is to be pinged.
- Enter the maximum Timeout value in seconds within which a response from the server must be received.
- Enter a Max. retries value as the number of times the server must be pinged before it is declared down.
- Specify additional health check settings based on your selected Health check protocol.
- Enter the Method to be used for detecting server status. The options are GET, OPTIONS, and POST.
- Enter the URL to be used in the request for detecting server status. This is the URL that is used for by GET and POST ("/" by default) method options.
- In the Send text box, enter the string to be sent to the server after a connection is established.
In the Send text box, enter the string to be sent to the server after a connection is established.
- In the Receive text box, enter the string expected to receive from the server.
Only when the received string matches this definition is the server is considered as up.
The string can be a header or in the body of the response.
- Click the Advanced tab and proceed to the Define Virtual Server Advanced Settings topic to continue defining the virtual server in the NSX load balancer component.
To specify logging options, see Define Load Balancer Logging Options.