Concept - IOM Server Health Check

Table of Contents


Product Version

3.1

Product To Version


Status

1 Introduction

This concept gives an overview of IOM server health checks and how they can be used within an HA installation of IOM. The document is mainly addressed to application administration.

1.1 Glossary

Wording
Description

API

Application Programming Interface

HAHigh Availability
IOMThe abbreviation for Intershop Order Management
RESTRepresentational State Transfer
WatchdogA tool of IOM to monitor and manage the availability of IOM application servers

1.2 References

2 Health Status of Application Servers

An application server is one single application server within a cluster of multiple application servers.

The health status of an application server reflects whether the server is able to adequately fulfill all tasks it is responsible for.

For Intershop Order Management, the status can be requested using the REST API. Additionally, the result will be persisted to the database as part of the cluster status.

The health check includes basic connecting to the database. Further checks, e.g., access to shared file-system is possible.

2.1 Application Server Monitoring

The main purpose of health status support is to enable server monitoring applications to manage the application cluster, i. e., not to host unhealthy/broken servers and/or to trigger the repair/restart of unhealthy/broken servers.

Especially in the case of HA health checks are required to always ensure a running application.

The IOM provides Watchdog to monitor the application server's health statuses and to control the application server based on this information.

3 Cluster Status

The cluster status reflects the general health status of each application server of a server cluster. Basically, it can be used to give a quick overview of the healthiness of the server cluster.

The cluster status can be requested using REST API which returns the persisted results from the last health status check of each application server.

4 REST

The REST response for the application server health status will return a status code that reflects the health status and can be used by the server monitoring application.

An additional payload gives detailed information on the processed checks and their results.

5 Further Information

5.1 Deployment

To offer the health check for an IOM application server, the artifact oms.monitoring must be deployed.

5.2 Configuration of Checked Services

The following list describes the current checks that are done by a health check.

CheckDescriptionRequired/Configurable
DatabaseA connection to the database will always be established.Always performed

Also, see Guide - Operate Intershop Order Management 3.X or later, see Overview - IOM Setup, for cluster properties.

5.3 Triggering Health Checks

Each performed check will be cached, and subsequent requests are served from that cache as long as the lastCheck time was not older than the value configured with is.oms.healthcheck.cachelivetime.

Health checks are performed by a Java timer and cannot be triggered by the REST requests. The result will be cached for responding to REST calls.

With this improvement, the signification of the property is.oms.healthcheck.cachelivetime has changed and is.oms.healthcheck.recurringtime has been added.

Also, see Guide - Operate Intershop Order Management 3.X or later, see Overview - IOM Setup, for cluster properties.

5.4 Expandability

The health check can be extended within HealthServiceBean.java of artifact oms.monitoring by adding a new check.

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets