[an error occurred while processing this directive]
Documentation for cluster_maxnodes()
[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: 30 October 2003
NAME
cluster_maxnodes - returns the maximum number of nodes allowed in the cluster
SYNOPSIS
#include <sys/cluster.h>
int cluster_maxnodes(void)
cc [flag ...] file -lcluster [library ...]
DESCRIPTION
cluster_maxnodes()
returns the maximum number of cluster nodes that the current system configuration can support. The value returned by
cluster_maxnodes
can be used to dynamically allocate arrays for
cluster_membership(3ssi)
and other similar functions. For example, in the
cluster_membership
function, allocate membershiparray dynamically, based on the value returned by
cluster_maxnodes.
In this way, you can avoid recompiling the code as cluster sizes increase.
RETURN VALUE
cluster_maxnodes()
returns the maximum nodes that the current system configuration can support, or -1 if an error occured.
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:33:21 UTC
[an error occurred while processing this directive]