Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csp(1M)

rbootd(1M)

getccent(3C)

clusterconf(4)

NAME

clusterconf − HP Cluster configuration file, cluster.h

SYNOPSIS

#include <sys/types.h>
#include <cluster.h>

DESCRIPTION

The file /etc/clusterconf describes the membership of an HP 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 should contain the link-level address of the cluster server followed by a colon (:) character. 

A description of each cluster node (detailed below). 

A cluster node is described by a series of colon (:) separated fields, terminated by a new-line 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.  By convention, the cnode ID of the cluster server is 1. 

cnode name The name associated with this cnode of the cluster.  The cnode name can 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 cluster server, the cnode type is r; otherwise, it is c. 

swap location If this machine uses the cluster server’s swap space, swap location is the cnode ID of the cluster server.  If swapping locally, swap location is the cnode ID of the client machine.  If swapping through an auxiliary swap server, swap location is the cnode ID of the auxiliary swap server. 

csp The default number of kernel-level server processes to create when the csp command is executed (see csp(1M)). The number of CSP s allowed on the system at any given time is limited by the value of the HP-UX tuneable parameter ngcsp. 

The file /etc/clusterconf is usually accessed by the routines getccent(), getccmid(), getccnam(), setccent(), endccent(), and fgetccent() (see getccent(3C)).

The cct_entry structure defined in <cluster.h> is defined as follows:

struct cct_entry {              /* cluster configuration table entry */
    u_char machine_id[M_IDLEN]; /* Machine ETHERNET address */
    cnode_t cnode_id;           /* cnode ID */
    char cnode_type;            /* ’r’ for cluster server,
                                   ’c’ for all others */
    char cnode_name[15];        /* cnode name */
    cnode_t swap_serving_cnode; /* swap server location */
    int kcsp;                   /* default number of CSPs */
}

AUTHOR

clusterconf was developed by HP. 

SEE ALSO

csp(1M), rbootd(1M), getccent(3C). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026