![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| |||||||||||||||
Configuring the cluster.conf Configuration FileThe cluster.conf file requires the most information. The data in this file enables you to create the machine.conf and network.conf files. To configure the cluster.conf file, you must do the following:
The following figure shows the components that are contained in the cluster.conf file: Figure 5-2 The cluster.conf Configuration File ![]() Defining the Cluster CompositionThe cluster composition section of the cluster.conf file contains the name and contents of the cluster. The hardware contents and domain name of the cluster are described by the INVOLVE keyword. The following program listing is a cluster composition section for a twelve node cluster spanned across two shelves:
All configuration elements of the cluster definition must be defined in the cluster.conf file, during stage 1. The exception is the shelf attributes that are defined in the machine.conf file. Defining the Cluster DomainThe cluster domain definition section contains a logical definition of the cluster network parameters. In the cluster domain definition section:
The following program listing is a cluster domain section for a twelve node cluster:
Defining Nodes and Node GroupsEvery node in a cluster belongs to a node group. Node and node group attributes are defined in the cluster.conf file. Nodes belonging to a node group share the following properties:
The following table lists the attributes that must be defined for each node group. Table 5-1 Mandatory Attributes for Each Node Group Definition
For information on the syntax to use for each of the keywords, see the cluster.conf(4) man page. For information on the concepts of node groups, see Planning Node Groups. The nodes that are included in a node group are described by the INCLUDE keyword. The INCLUDE keyword is also used to embed a diskless node group in a master-eligible node group. The services that are to be run with the node group are described by the RUN keyword. Each cluster must have at least one node group consisting of the two master-eligible nodes. The following program listing is an example node group and node definition for a master-eligible node group in a two-node cluster:
| |||||||||||||||
| |||||||||||||||
![]() |