Configure an HWLB Health Monitor for the Service Manager server

The health monitor helps the HWLB to identify whether a Service Manager servlet can accept a new connection. This prevents the servlet returning errors if the HWLB directs a request to the servlet when the servlet is at full capacity or when Service Manager is running in Quiesce mode.

This section describes how to configure and use a health monitor with an F5 HWLB.

Prerequisites

Before you begin this process, verify that the HWLB is configured to accept client requests in HTTPS mode (if you use an SSL port) or in HTTP mode (if you use a non-SSL port). For more information about how to do this, see Configure an HWLB to accept client requests in HTTP mode.

Step 1: Create the health monitor on the F5 HWLB

To create the health monitor on the F5 HWLB, follow these steps:

  1. Click Local Traffic > Monitors > Create.
  2. Type a name for the health monitor, such as TEST_MONITOR.
  3. Select HTTP or HTTPS as the type, depending on the connection type between the F5 HWLB and the Service Manager server.
  4. In the Send String field, type GET /mbeanclient-X.XX/Action?getattribute= AcceptNewConnection \r\n.
  5. In the Receive String field, type true.
  6. If you use an SSL connection between the F5 HWLB and the Service Manager server, select TEST_SSL_SERVER in the Client Certificate and Client Key fields.

  7. Click Finished.

Step 2: Update the pool list

  1. Click Pools > Pool List.
  2. Select the pool that your virtual server uses.
  3. In the Health Monitors section, move TEST_MONITOR from the Available side to the Active side.
  4. Click Update.

Step 3: Modify the sm.ini file and restart Service Manager

  1. Add the following line to the sm.ini file:

    JVMOption999:../../lib/mbeanclient- X.XX.war
  2. Restart the Service Manager servers.

Related topics

Access Service Manager through an F5 HWLB in HTTP mode

Access Service Manager on a Windows client through an F5 HWLB in HTTP mode

Access Service Manager on a web client through an F5 HWLB in HTTP mode