The Health Monitor Object (HMO) sample code demonstrates how to write an HMO for cluster-enabled services. This NetWare™ Loadable Module™ (NLM™) sample is delivered with the Novell® Cluster Services™ Developer SDK and consists of two components:
ldaphmo.c and hmoldap.imp—Implements a simple HMO NLM for LDAP services. This section discusses some of the key concepts required to enable this feature.
hmo.c and hmo.h—Provides a generic HMO NLM for various services in cluster environments. (This component provides the skeleton tier of the NLM described below.) Use the same concepts describing the LDAP HMO NLM in this section to create an HMO for other services that you want to cluster enable.
Both of these samples are included with NetWare 6.5 or later. You also can download all of the cluster development components from Novell Cluster Services SDK.