Patent ID: 7913105

Claim:
A method for monitoring resources in a high availability (HA) cluster, wherein the HA cluster comprises a plurality of nodes, the method comprising: registering with a resource module to receive a notification of a change of an availability state of a first resource on a first node in the HA cluster, wherein the first resource is of a first resource type, wherein the resource module is configured to monitor a plurality of resources of the first resource type including the first resource, and wherein the registering comprises sending a unique identifier of the first resource to the resource module; blocking for receipt of the notification in response to the registering with the resource module; unblocking in response to the resource module detecting the change in the availability state of the first resource of the first node in the HA cluster; receiving the notification of the change of the availability state of the first resource on the first node in the HA cluster, wherein the notification is received from the resource module after the change in the availability state of the first resource is detected by the resource module, wherein the notification comprises the unique identifier of the first resource; and automatically performing one or more actions to ensure high availability of the first resource in response to the notification.