IBM Support

Health checking the IBM WebSphere DataPower SOA Appliance and its services

Question & Answer


Question

What are some common methods to use health checks against an IBM WebSphere DataPower SOA Appliance from an external scanner or load balancer?

Cause

There are many considerations to evaluate for a particular environment and requirements. Refer to the pertinent load balancer or external scanner manuals for configuration options.

Answer

There are many different ways to do health checking; this document covers some common methods that you may want to consider:

  1. Simple TCP connection/port check (a lightweight example)

    Depending on requirements, you may want to use the most simple and "lightweight" health check that accomplishes the desired result while minimizing overhead on the backend/network.

    One method that could be used to mark a DataPower Appliance as "down", could be to configure the Load Balancer or External Scanner to do a simple TCP Connection/Port check to see if DataPower is responding on the network.

    Advantage: extremely simple, lightweight, and low overhead

    Disadvantage: can only determine TCP layer response and may mark the Appliance up even though the actual HTTP/HTTPS response for a Service may be wrong, empty, incomplete, or unavailable.
  2. Full Request and Response check (a heavyweight example)

    One method to make sure a particular DataPower Service Object is up and responding with the full expected response is for you to configure the Load Balancer to send a full request to that service and expect a particular response or string in the full response.

    Advantage: can confirm the proper full response is generated and available since this checks the whole service.

    Disadvantage: can create unnecessary overhead and load on the Service, especially if the health check occurs often.
  3. Check if the Service Object is operational (a middleweight example)

    Another method could be to configure the DataPower Service Object to match on a particular URI on the Front-End request rule (for example /healthcheck) and generate a static response.

    The Load Balancer could be configured to send a request that targets this particular DataPower Service Object with this particular URI (/healthcheck) and the Load Balancer could respond appropriately depending on the response.

    This would check to make sure a specific Service Object within DataPower is "up" and goes beyond a simple TCP check.

    Furthermore, at the same time, you could configure within the DataPower Service Object to use a Load Balancer Group for the backend.

    This could leverage the "built-in" DataPower Load Balancer Group health check to determine if the backend (relative from DataPower) is up/down.
  4. Service Monitoring

    The most sophisticated approach utilizes extensive monitoring and logging, which is referred to as Service Monitoring. IBM offers a service monitoring product. See your sales representative if you'd like more information.

[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0.2;4.0.1;4.0;3.8.2;3.8.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 June 2021

UID

swg21418648