[an error occurred while processing this directive]
Documentation for clusternode_avail()
[an error occurred while processing this directive]
[an error occurred while processing this directive]
CI Project |
|
Overview |
|
License |
|
Download |
|
CVS |
|
Contributed Code |
|
Mailing Lists |
|
Goals |
|
Project List |
|
Features |
|
CLMS Features |
|
ICS Features |
|
Current Status |
|
Kernel Hooks |
|
Limitations / Enhancements |
|
|
CI Documentation |
|
Kernel Patch |
|
Cluster Tools |
|
|
[an error occurred while processing this directive]
Printer-friendly version
Manpage of LIBCLUSTER
LIBCLUSTER
Section: OpenSSI Prog Manual (3ssi)
Updated: 27 October 2003
NAME
clusternode_avail - determines if node is up
SYNOPSIS
#include <sys/cluster.h>
int clusternode_avail(clusternode_t nodenum);
cc [flag ...] file -lcluster [library ...]
DESCRIPTION
clusternode_avail() determines if the node specified by nodenum
is up and returns an appropriate value to the caller to indicate that.
This determination is made based on the node state CLUSTERNODE_UP.
For details about node states, see
cluster(8ssi).
The details of the argument to clusternode_avail are:
- nodenum
-
The number of the node for which information is returned. Values must be
between 1 and the maximum number of nodes allowed by the cluster
configuration. This number is the value returned by cluster_maxnodes().
RETURN VALUE
clusternode_avail() returns a value of 1 if the node is in
CLUSTERNODE_UP state.
A value of 0 is returned by clusternode_avail() if the node
is not in CLUSTERNODE_UP state.
If nodenum is invalid, or, if clusternode_avail() encounters
an error, while processing the request it returns -1 and sets
errno to indicate the cause of the error.
SEE ALSO
cluster(8ssi),
cluster_detailed_transition(3ssi),
cluster_maxnodes(3ssi),
cluster_membership(3ssi),
cluster_name(3ssi),
cluster_ssiconfig(3ssi),
cluster_transition(3ssi),
clusternode_info(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
Opensource.hp.com
HP Linux solutions
The Linux Clustering Information Center
This file last updated on
Tuesday, 14-May-2002 09:34:05 UTC
[an error occurred while processing this directive]