Receiving Cluster Events

An application or resource DLL can monitor events occurring within the cluster by creating a notification port. A notification port stores information about events as a queue of notifications (messages). Once a notification port has been created, an application typically spawns a thread to monitor the port, periodically retrieving event data and taking appropriate action in response to the events.

An application can create multiple notification ports, but this is usually unnecessary. One notification port per application per cluster is sufficient in most cases to monitor any events of interest, and it requires only one thread.

Note that the Cluster Automation Server does not support event monitoring at this time.

For information on how to use notification ports, see the following sections: