This function returns statistics that are maintained for network and cluster levels.
MCO_RET mco_cluster_info ( /*IN*/ mco_db_h db, /*OUT*/ mco_cluster_info_t* cl_info )
db | Connection to the database. |
cl_info | The address of a mco_cluster_info_t structure |
This function returns statistics that are maintained for network and cluster levels in the following structure: (Note: The two elements rtrans_commit
and rtrans_rback
ignore "local" transactions (those that were initiated on this node.)
MCO_S_OK | Cluster info returned successfully |
MCO_E_CLUSTER_NOT_INITIALIZED | The database was not created by mco_cluster_db_open(). Note: it may have been created by mco_db_open_dev() by mistake |