6.4 Cluster Services API Resource Alerts

See these values in callback. Sends a NCS_ResourceControl (Handle, NCS_MAPI_ALERT, pRes) in NCS_RESOURCE.

state = ALERT

alert = NCS_ALERT_ACK for YES

= –1 for NO.

Resource alert flags used by NCS_ResourceControl:

Attribute ID

Value

Description

NCS_ALERT_ACK

0

Acknowledge this alert.

NCS_ALERT_START

1

Start resource?

NCS_ALERT_FAILOVER

2

Failover resource?

NCS_ALERT_FAILBACK

3

Failback resource?