3.2 Sample Code

The NCSSDK Test Harness demonstrates how to implement many of the functions described in this document. See examples in the NCSHARN.C or NCSHARN.IMP sample code files.

The Health Monitor Object (HMO) sample code demonstrates how to write an HMO for cluster-enabled services. Use of this sample code is discussed in the Section D.0, Health Monitor Object Sample.

For a Perl script example to test cluster operations, see the Cluster.pl Perl script sample code. Also see Section A.0, Managing Novell Cluster Services Through XML.