CLUSTERCONF(4) — HP-UX
Series 300 Diskless Only
NAME
clusterconf − cluster configuration file, cluster.h
SYNOPSIS
#include <sys/types.h>
#include <cluster.h>
DESCRIPTION
The file /etc/clusterconf describes the membership of a cluster and is used by several library routines. The file itself has the following format:
Lines starting with ’#’ are comment lines.
The first non-comment line is reserved for future use. It should be empty.
A description of each cluster node (detailed below).
A cluster node is described by a series of colon (:) separated fields, terminated by a newline character. The fields are:
machine ID The ETHERNET address of the attached LAN card. This is a 12 character hexadecimal number.
cnode ID An integer between 1 and 255 inclusive. Used to identify cnodes within a cluster. Each entry in /etc/clusterconf must have a unique cnode ID.
cnode name The name associated with this cnode of the cluster. The cnode name may be up to 8 characters long. Each entry in /etc/clusterconf must have a unique cnode name.
cnode type A single character. If this machine is the root server, the character will be ’r’; otherwise, it will be ’c’.
swap location If this machine uses the root server’s swap space, this will be the cnode ID of the root server. If swapping locally, it will be the cnode ID of itself.
csp The default number of kernel level server processes to create when the csp(1M) command is executed.
The file /etc/clusterconf is usually accessed by the routines getccent, getccmid, getccnam, setccent, endccent, and fgetccent. These routines are documented on getccent(3C).
The cct_entry structure defined in <cluster.h> is defined as follows:
| struct cct_entry { | ||
| u_char machine_id[6]; | /* Machine ETHERNET address */ | |
| cnode_t cnode_id; | /* cnode ID */ | |
| char cnode_name[15]; | /* cnode name */ | |
| char cnode_type; | /* ’r’ for root server, | |
| ’c’ for all others */ | ||
| cnode_t swap_serving_cnode; | /* swap server location */ | |
| int kcsp; | /* default number of CSPs */ | |
}
AUTHOR
Clusterconf was developed by HP.
SEE ALSO
Hewlett-Packard Company — May 11, 2021