sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Contents Index Next
# Netra High Availability Suite Foundation Services 2.1 6/03 CMM Programming Guide # Preface This book describes how to write applications that use the Cluster Membership Manager API for the Netra™ High Availability (HA) Suite Foundation Services 2.1 6/03. ## Who Should Use This Book This book is for application developers who are writing programs for clusters running the Foundation Services. This book describes how to perform the following tasks: Create and use a development environment Develop, compile, link, and execute applications across the cluster Monitor and manage nodes in the cluster by using the CMM API ## Before You Read This Book To write applications for the Foundation Services, you must have experience the C programming language. Knowledge of using and deploying highly available applications on a cluster, and knowledge of the developer tools offered by the Solaris™ operating system is an advantage. Before reading this book, read the Netra High Availability Suite Foundation Services 2.1 6/03 Overview. ## How This Book Is Organized This book is divided into the following parts and chapters: Part I, Introduction to the CMM API contains the following chapters: Chapter 1, The Foundation Services CMM API provides an overview of the basic functions and characteristics of the CMM API. Chapter 2, Introduction to the Properties of a Node describes the roles, qualification levels, and attributes that a node can have. Part II, Setting Up the Development Environment contains the following chapters: Chapter 3, Setting up the Development Environment describes the requirements of a development host on which to write applications that use the CMM API. Chapter 4, Building CMM Applications describes how to install, compile, and run your applications. Part III, Programming By Using the CMM API contains the following chapters: Chapter 5, Retrieving Node Information Using the CMM API describes how to identify and retrieve data about nodes in the cluster. Chapter 6, Understanding Change Notifications describes the `nhcmmd` daemon, the notifications this daemon sends, and how to interpret these notifications. Chapter 7, Managing Changes in the Cluster State describes how to retrieve and react to cluster notifications, and how to modify the cluster if necessary. Chapter 8, Debugging Applications in the Foundation Services describes how to debug your applications. This chapter also describes the return values provided by the CMM API. Appendix A, Source Code Examples contains the code examples provided with the Foundation Services product. ## Related Books You will require some of the following books from the Foundation Services documentation set: Netra High Availability Suite Foundation Services 2.1 6/03 Overview Netra High Availability Suite Foundation Services 2.1 6/03 Glossary What's New in Netra High Availability Suite Foundation Services 2.1 6/03 Netra High Availability Suite Foundation Services 2.1 6/03 Quick Start Guide Netra High Availability Suite Foundation Services 2.1 6/03 Hardware Guide Netra High Availability Suite Foundation Services 2.1 6/03 Custom Installation Guide Netra High Availability Suite Foundation Services 2.1 6/03 Cluster Administration Guide Netra High Availability Suite Foundation Services 2.1 6/03 Troubleshooting Guide Netra High Availability Suite Foundation Services 2.1 6/03 CMM Programming Guide Netra High Availability Suite Foundation Services 2.1 6/03 NMA Programming Guide Netra High Availability Suite Foundation Services 2.1 6/03 Reference Manual Netra High Availability Suite Foundation Services 2.1 6/03 Standalone CGTP Guide Netra High Availability Suite Foundation Services 2.1 6/03 Release Notes Netra High Availability Suite Foundation Services 2.1 6/03 README
Contents Index Next

Copyright 1994-2004 Sun Microsystems