BACK
Manpage of LIBCLUSTER

LIBCLUSTER

Section: OpenSSI Prog Manual (3ssi)
Updated: 27 October 2003

 

NAME

clusternode_info - returns detailed information about a node  

SYNOPSIS

#include <sys/cluster.h>

int clusternode_info(clusternode_t nodenum,
                     int sizeof(clusternode_info_t),
                     clusternode_info_t *nodeinfo);

cc [flag ...] file -lcluster [library ...]
 

DESCRIPTION

Returns cluster node status information into nodeinfo for the node specfied by nodenum.

For details about node status information, see the cluster(8ssi) manual page.  

PARAMETERS

nodenum
The number of the cluster node for which information is returned. Values must be between 1 and the value returned by cluster_maxnodes(3ssi).
nodeinfo
A pointer to a structure of type clusternode_info_t that contains state, transition, and other information for the node specified.
 

RETURN VALUE

Upon successful execution, clusternode_info returns 0, otherwise it returns -1 and sets errno to indicate the cause of the error.  

ERRORS

If the call to clusternode_info fails, errno is set to the following value to indicate the cause of the error:
EINVAL
The specified nodenum was not a valid cluster node or the nodeinfo pointer was invalid.
 

SEE ALSO

cluster(8ssi), cluster_detailed_transition(3ssi), cluster_maxnodes(3ssi), cluster_membership(3ssi), cluster_name(3ssi), cluster_ssiconfig(3ssi), cluster_transition(3ssi), clusternode_avail(3ssi), clusternode_num(3ssi), clusternode_setinfo(3ssi)


This document was created by man2html, using the manual pages.
Time: 21:59:39 GMT, May 19, 2004