Sun Cluster Data Services Developer's Guide for Solaris OS

Contents of an SC_EVENT Message

The SC_EVENT message contains the actual message that is generated within the cluster, translated to fit into the SC_EVENT XML message format. The following table describes the event types that the CRNP delivers, including the name and value pairs, publisher, and vendor.


Note –

The positions of the array elements for state_list are synchronized with those of the node_list. That is, the state for the node that is listed first in the node_list array is listed first in the state_list array.

Additional names starting with ev_ and their associated values might be present, but are not intended for client use.


Class and Subclass 

Publisher and Vendor 

Name and Value Pairs 

EC_Cluster

ESC_cluster_membership

Publisher: rgm

Vendor: SUNW 

Name: node_list

Value type: string array 

Name: state_list

The state_list contains only numbers that are represented in ASCII. Each number represents the current incarnation number for that node in the cluster. If the number is the same as the number that was received in a previous message, the node has not changed its relationship to the cluster (departed, joined, or rejoined). If the incarnation number is –1, the node is not a member of the cluster. If the incarnation number is a number other than a negative number, the node is a member of the cluster.

Value type: string array 

EC_Cluster

ESC_cluster_rg_state

Publisher: rgm

Vendor: SUNW 

Name: rg_name

Value type: string 

Name: node_list

Value type: string array 

Name: state_list

The state_list contains string representations of the state of the resource group. Valid values are those values that you can retrieve with the scha_cmds(1HA) commands.

Value type: string array 

EC_Cluster

ESC_cluster_r_state

Publisher: rgm

Vendor: SUNW 

Name: r_name

Value type: string 

Name: node_list

Value type: string array 

Name: state_list

The state_list contains string representations of the state of the resource. Valid values are those values that you can retrieve with the scha_cmds(1HA) commands.

Value type: string array