| Red Hat Cluster Manager: The Red Hat Cluster Manager Installation and Administration Guide | ||
|---|---|---|
| Prev | Appendix B. Supplementary Software Information | Next |
A copy of the cluster database is located in the /etc/opt/cluster/cluster.conf file. It contains detailed information about the cluster members and services. Do not manually edit the configuration file. Instead, use cluster utilities to modify the cluster configuration.
When you run cluconfig, the site-specific information is entered into fields within the [members] section of the database. The following is each cluster member field and its subsequent description:
start member0 start chan0 device = serial_port type = serial end chan0 |
Specifies the tty port that is connected to a null model cable for a serial heartbeat channel. For example, the serial_port could be /dev/ttyS1.
start chan1 name = interface_name type = net end chan1 |
Specifies the network interface for one Ethernet heartbeat channel. The interface_name is the host name to which the interface is assigned (for example, storage0).
start chan2 device = interface_name type = net end chan2 |
Specifies the network interface for a second Ethernet heartbeat channel. The interface_name is the host name to which the interface is assigned (for example, cstorage0). This field can specify the point-to-point dedicated heartbeat network.
id = id name = system_name |
Specifies the identification number (either 0 or 1) for the cluster system and the name that is returned by the hostname command (for example, storage0).
powerSerialPort = serial_port |
Specifies the device special file for the serial port to which the power switches are connected, if any (for example, /dev/ttyS0).
powerSwitchType = power_switch |
Specifies the power switch type, either RPS10, APC, or None.
quorumPartitionPrimary = raw_disk quorumPartitionShadow = raw_disk end member0 |
Specifies the raw devices for the primary and backup quorum partitions (for example, /dev/raw/raw1 and /dev/raw/raw2).
When you add a cluster service, the service-specific information you specify is entered into the fields within the [services] section in the database. The following details each cluster service field and its subsequent description:
start service0 name = service_name disabled = yes_or_no userScript = path_name |
Specifies the name of the service, whether the service should be disabled after it is created, and the full path name of any script used to start and stop the service.
preferredNode = member_name relocateOnPreferredNodeBoot = yes_or_no |
Specifies the name of the cluster system on which you prefer to run the service, and whether the service should relocate to that system when it reboots and joins the cluster.
start network0 ipAddress = aaa.bbb.ccc.ddd netmask = aaa.bbb.ccc.ddd broadcast = aaa.bbb.ccc.ddd end network0 |
Specifies the IP address, if any, and accompanying netmask and broadcast addresses used by the service. Note that is is possible to specify multiple IP addresses for a service.
start device0 name = device_file |
Specifies the special device file, if any, that is used in the service (for example, /dev/sda1). Note that it is possible to specify multiple device files for a service.
start mount name = mount_point fstype = file_system_type options = mount_options forceUnmount = yes_or_no |
Specifies the directory mount point, if any, for the device, the type of file system, the mount options, and whether forced unmount is enabled for the mount point.
owner = user_name group = group_name mode = access_mode end device0 end service0 |
Specifies the owner of the device, the group to which the device belongs, and the access mode for the device.