Installation guide

32 Chapter 2. Hardware Installation and Operating System Configuration
Figure 2-3. Single UPS System Configuration
Many vendor-supplied UPS systems include Red Hat Enterprise Linux applications that
monitor the operational status of the UPS system through a serial port connection. If the
battery power is low, the monitoring software initiates a clean system shutdown. As this
occurs, the cluster software is properly stopped, because it is controlled by a SysV runlevel
script (for example, /etc/rc.d/init.d/rgmanager).
Refer to the UPS documentation supplied by the vendor for detailed installation informa-
tion.
2.5.3.1. Partitioning Disks
After shared disk storage has been set up, partition the disks so they can be used in the
cluster. Then, create file systems or raw devices on the partitions.
Use parted to modify a disk partition table and divide the disk into partitions. While in
parted, use the p to display the partition table and the mkpart command to create new
partitions. The following example shows how to use parted to create a partition on disk:
Invoke parted from the shell using the command parted and specifying an available
shared disk device. At the (parted) prompt, use the p to display the current partition
table. The output should be similar to the following:
Disk geometry for /dev/sda: 0.000-4340.294 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
Decide on how large of a partition is required. Create a partition of this size using the
mkpart command in parted. Although the mkpart does not create a file system, it
normally requires a file system type at partition creation time. parted uses a range
on the disk to determine partition size; the size is the space between the end and the