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.

Procedure

  1. (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.

  2. (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. But if service 1 uses UDP on port 80, service 2 cannot use UDP on port 80.

  3. Enter the Interval value in seconds at which a server is to be pinged.
  4. Enter the maximum Timeout value in seconds within which a response from the server must be received.
  5. Enter a Max. retries value as the number of times the server must be pinged before it is declared down.
  6. Specify additional health check settings based on your selected Health check protocol.
    1. Enter the Method to be used for detecting server status. The options are GET, OPTIONS, and POST.
    2. 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.
    3. 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.

    4. 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.

  7. 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.