SteelEye 4.5.0 LifeKeeper LVM Hierarchy Creation and Administration, Hierarchy Creation Procedure

Page 11
LifeKeeper LVM Hierarchy Creation and

LifeKeeper LVM Hierarchy Creation and Administration

LifeKeeper LVM Hierarchy Creation and

Administration

LifeKeeper LVM hierarchies are created automatically during the hierarchy creation process for resources that sit on top of logical volumes. The creation and extension of hierarchies containing the LVM resource types will always be driven by the create and extend processes of a higher- level resource type, likewise the delete and unextend.

The figure below is a LifeKeeper GUI screen shot showing a complete hierarchy containing LVM resources. Note that the resources in the hierarchy are displayed by their LifeKeeper IDs for clarity, rather than the default display by tags.

Figure 2: LifeKeeper hierarchy containing LVM resources

The hierarchy pictured in Figure 2 is a file system hierarchy, created by selecting the File System recovery kit under the Edit > Resource > Create Resource Hierarchy menu selection. It consists of a file system resource, /lv1.1fs, mounted on an LVM logical volume, /dev/vg1/lv1.1. That logical volume is a part of the vg1 volume group, represented with the LifeKeeper ID lvmvg-vg1. The volume group vg1 is composed of two physical disk partitions, /dev/sdc1 and /dev/sdd1. The hierarchy also includes the underlying disk devices, /dev/sdc and /dev/sdd, below each of the disk partitions.

Hierarchy Creation Procedure

To create a hierarchy in which a file system or higher-level application uses an LVM logical volume, the following high-level procedure should be followed.

1.Determine the desired configuration of your LVM volume groups and logical volumes. In doing this, keep in mind the following points.

All of the disk resources associated with a given volume group must move together from one server to another in the LifeKeeper cluster.

All of the logical volumes associated with a given volume group (and any file systems or applications which use them) must move together from one server to another in the LifeKeeper cluster.

LifeKeeper for Linux

9

Image 11
Contents Revision A 06/2004 Logical Volume Manager LVM Recovery Kit Administration GuideLifeKeeper for Linux ip@steeleye.com Linux is a registered trademark of Linus TorvaldsTable of Contents LVM Recovery Kit Administration Guide LVM Recovery Kit Administration Guide Document ContentsIntroduction LifeKeeper for Linux Release Notes LifeKeeper for Linux Planning and Installation GuideDocumentation and References Software Requirements RequirementsHardware Requirements LVM Operation LifeKeeper for Linux LVM Recovery KitOverview Support for Raw I/O and Entire Disks LVM Recovery Kit Notes and RestrictionsLinux Boot Script Modifications Volume Group ActivationLVM Version Support Hierarchy Creation Procedure LifeKeeper LVM Hierarchy Creation and Administration2. On the system which is to be the primary server for your application, create and activate the desired volume groups and logical volumes using the tools provided by the LVM package, and described in the LVM HowTo document referenced in the Documentation and References section above Figure 3 Hierarchy with LVM above LKDR Using LVM with LifeKeeper Data ReplicationFigure 4 LVM volume group Resource Properties dialog Volume Group ReconfigurationFigure 5 LVM volume group reconfiguration for added device Figure 6 LVM volume group reconfiguration for added device Figure 8 LVM volume group reconfiguration for deleted device Figure 7 LVM volume group reconfiguration for deleted deviceHierarchy Creation TroubleshootingError Messages Common Error MessagesHierarchy Extension Resource Monitoring Hierarchy RestoreLVM Recovery Kit Error Messages