LifeKeeper® for Linux v4.5.
The product described in this book is a licensed product of SteelEye® Technology, Inc. SteelEye, SteelEye Technology, and LifeKeeper are registered trademarks of SteelEye Technology, Inc. Linux is a registered trademark of Linus Torvalds. Other brand and product names used herein are for identification purposes only and may be trademarks of their respective companies. It is the policy of SteelEye Technology, Inc. to improve products as new technology, components, software, and firmware become available.
Table of Contents Introduction ................................................................................................................................................................... 3 Document Contents ................................................................................................................................................ 3 Documentation and References.........................................................................................................................
2 LVM Recovery Kit Administration Guide
Introduction LVM Recovery Kit Administration Guide Introduction The LifeKeeper for Linux Logical Volume Manager (LVM) Recovery Kit provides logical volume support for other LifeKeeper recovery kits. Thus, LifeKeeper-protected applications can take advantage of the benefits offered by the Logical Volume Manager, including simplified storage management and the ability to dynamically re-size volumes as needs change.
Introduction Documentation and References The following LifeKeeper documentation is available from SteelEye Technology, Inc.: • • LifeKeeper for Linux Release Notes LifeKeeper for Linux Online Product Manual (available from the Help menu within the LifeKeeper GUI) • LifeKeeper for Linux Planning and Installation Guide This documentation, along with documentation associated with other LifeKeeper recovery kits, is available on the LifeKeeper Documentation CD that is shipped with your software.
Requirements Requirements Your LifeKeeper configuration must meet the following requirements prior to the installation of the LifeKeeper for Linux LVM Recovery Kit. Please see the LifeKeeper for Linux Planning and Installation Guide for specific instructions regarding the configuration of your LifeKeeper hardware and software. Hardware Requirements • • Servers.
Overview Overview LVM Operation LVM is currently the standard volume management product included with all of the major Linux distributions. LVM allows multiple physical disks and/or disk partitions to be grouped together into entities known as volume groups. Volume groups may then be divided or partitioned into logical volumes. Logical volumes are accessed as regular block devices, and as such may be used by file systems or any application that can operate directly with a block device.
Overview As shown in Figure 1, each volume group has one or more logical volumes that depend on it. Conversely, each logical volume must have a volume group on which it depends. A typical LifeKeeper hierarchy containing these two LVM resources looks much like the relationships shown in Figure 1. Refer to Figure 2 in the LifeKeeper LVM Hierarchy Creation and Administration section for an example of an actual LifeKeeper hierarchy.
Overview return immediately with a success indication. This unneeded attempt to bring the logical volumes in service has no usability impact. LVM Version Support As stated previously, this release of the LVM kit has been tested and is being released only against LVM version 1. Sistina recently announced the release of LVM version 2, known as LVM2. The LVM kit does not support LVM2. This restriction likely will be removed in the future, however.
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 higherlevel resource type, likewise the delete and unextend.
LifeKeeper LVM Hierarchy Creation and Administration 2. 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.
LifeKeeper LVM Hierarchy Creation and Administration Using LVM with LifeKeeper Data Replication The LVM Recovery Kit currently supports the use of LVM “above” LifeKeeper Data Replication (LKDR), but not LKDR “above” LVM. In other words, the kit can support a configuration in which the physical volume components of a volume group are LKDR devices, but it cannot support a configuration in which the source and/or target volumes of an LKDR mirror are defined as LVM logical volumes.
LifeKeeper LVM Hierarchy Creation and Administration Volume Group Reconfiguration One of the primary benefits of using a logical volume manager is the ability to dynamically resize logical volumes as storage requirements change. Because this may involve adding or deleting physical partitions or disks from an LVM volume group definition, the LVM Recovery Kit includes a mechanism for modifying an existing resource hierarchy to reflect such a change.
LifeKeeper LVM Hierarchy Creation and Administration Clicking the Resource Configuration button initiates the mechanism for reconfiguring your hierarchy to reflect any modifications to the volume group resource. After a brief pause, an information box will display the volume group modifications that LifeKeeper has detected. Figure 5 below shows an example in which a single disk partition has been added to a volume group.
LifeKeeper LVM Hierarchy Creation and Administration After clicking the Reconfigure button, an information box will appear, showing the progress of the reconfiguration procedure, as shown in Figure 6 below. When the process has been completed successfully, the Done button will become enabled. Clicking Done will close the information box and return you to the display of the Resource Properties dialog.
LifeKeeper LVM Hierarchy Creation and Administration The following two figures show examples of the information boxes that would be displayed during the reconfiguration process when a device partition has been removed from a volume group.
Troubleshooting Troubleshooting Error Messages This section provides a list of messages that you may encounter with the use of the LifeKeeper LVM Recovery Kit. Where appropriate, it provides an additional explanation of the cause of an error and necessary action to resolve the error condition. Because the LVM Recovery Kit relies on other LifeKeeper components to drive the creation and extension of hierarchies, messages from these other components are also possible.
Troubleshooting Error Number Error Message 000023 Error bringing resource < tag name> in service on server 000024 Failed resource creation of resource < tag name> on server 000027 Removing file system dependency from to on server due to an error during creation 000028 Removing file system hierarchy created by on server due to an error during creation 000029 Switchback type mismatch between
Troubleshooting Hierarchy Restore Error Number Error Message 000023 Error bringing resource < tag name> in service on server Resource Monitoring Error Number Error Message 000001 Calling sendevent for resource < tag name> on server LVM Recovery Kit Error Messages Error Number Error Message 110000 resource type is not installed on . Action: Install the LVM Recovery Kit on the identified system.