![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| ||
Configuring the machine.conf Configuration FileThe machine.conf configuration file describes the target cluster in terms of hardware components, disk layout for master-eligible nodes and dataless nodes, and file system configuration. The network interface parameters can be defined in configuration stage 3. You must configure machine.conf to define the following parameters:
Note - If you configure the network interfaces in stage 1, you must also complete the network.conf file in stage 1. Alternatively, you can configure the network interfaces in the machine.conf and network.conf files in stage 3. For more details, see Adding Cluster-Specific Configuration Data to the machine.conf File and Adding Cluster-Specific Configuration Data to the network.conf File. In addition, the disk controllers can be changed during stage 3 by modifying the configuration element disk.device. The following figure shows the components contained in the machine.conf configuration file. Figure 5-3 Components Contained in the machine.conf Configuration File ![]() Defining the Cluster HardwareThe cluster hardware definition is a hierarchical description of the cluster hardware. The definition begins with a top level description of the contents of the shelf. The shelf typically contains drawers and switches. The ELEMENT keyword identifies the element that is being defined, the CONTAIN and USE keywords describe the content of the element. For example:
Each drawer is then described in terms of disks and boards. These disks and boards are referred to by the node defined in the cluster.conf file. The ELEMENT keyword is used to describe each node in terms of disks, boards, and interfaces. The content of each ELEMENT is described by the CONTAIN keyword. For example, the ELEMENT disk is described in terms of slices. The one exception to this is the ELEMENT board that is described in terms of nic interfaces by the USE keyword. The following program listing is an example of a drawer that contains a master-eligible node:
Network configuration parameters are added to the machine.conf file in stage 3. For more information, see Adding Cluster-Specific Configuration Data to the machine.conf File. Defining the Disk LayoutThis section describes the disk layout of master-eligible nodes and dataless nodes. You must define your disk partitions as described in Planning Disk Layout and File Systems. Each partition on the disk is described by the ELEMENT keyword in terms of the following parameters:
Note - If you are using the volume management software, see Planning Disk Layout and File Systems for Master-Eligible Nodes. You must use volume management software if you are using a Netra-20 as a master-eligible node. Each time you define a physical partition by using volume management software, define a logical partition to be managed by the volume management software. For examples of disk layout definition sections of the machine.conf file, see Appendix B, Configuration File Examples for the machine.conf File. For information on the syntax used in the machine.conf file, see the machine.conf(4) man page. Defining File SystemsThe file system definitions specify the file systems on each disk. The file system definitions are associated to the partition definitions through the MAP configuration block. Each file system is described by the ELEMENT keyword in terms of root directories, read-write permissions, and whether the file system is exported or shared. For information on defining file systems, see Planning Disk Layout and File Systems. You must define the following roles in the file system definition section by using the role attribute:
Only the following parameters can be modified by the user:
| ||
| ||
![]() |