Configuring your Environment for Software RAID
Configuring the Environment
that are of identical sizes. Differences in disk set size results in a mirror being created of a size equal to the smaller of the two disks. Be sure to create the mirror using the persistent device names of the component devices. For more information on creating and managing a mirrored device, see “Creating a Multiple Disk Device” on page 72.
4.Create volume groups and logical volumes on the MD mirror device
Once the MD mirror device is created, you need to create volume groups and logical volumes on it. You must use the Volume Group Exclusive activation feature. This protects against a volume group which is already active on one node to be activated again (accidentally or on purpose) on any other node in the cluster. For more information on creating volume groups and configuring exclusive activation, see “Creating Volume Groups and Configuring VG Exclusive Activation on the MD Mirror” on page 74.
5.Configure the package control script and the Extended Distance cluster configuration script
In order to let Serviceguard know of the existence of the mirror created in the previous step and hence make use of it, it must be configured as part of a package. This MD device must be specified in the Extended Distance Cluster configuration file raid.conf. Copy the raid.conf.template in the software bundle as raid.conf to the package directory and edit it to specify the RAID configuration parameters for this package. Using the details mentioned in this file Serviceguard will start, stop and monitor this MD mirror for the package. For details on how to configure the package control script and raid.conf see “Configuring the Package Control Script and RAID Configuration File” on page 76.
IMPORTANT | Every time you edit the raid.conf file, you must copy this edited file |
| to all nodes in the cluster. |
|
|
6.Start the package
Starting a package configured for Software RAID is the same as starting any other package in Serviceguard for Linux.
You also need to keep in mind a few guidelines before you enable Software RAID for a particular package. Following are some of these guidelines you need to follow:
Chapter 3 | 67 |