Designing High-Availability for Xen Virtual Machines with HP Serviceguard for Linux

Executive Summary .............................................................................................................................. 3
Introduction ......................................................................................................................................... 3
Scope ................................................................................................................................................ 3
Support requirements ........................................................................................................................... 4
Xen Host (Dom0) Configuration ............................................................................................................. 4
Xen Dom0 Installation and Configuration on x86_64 platforms ............................................................. 4
Xen Dom0 Installation and Configuration on HP Integrity Server platforms .............................................. 5
Serviceguard for Linux Configuration ..................................................................................................... 6
Storage Configuration ...................................................................................................................... 6
Network Configuration ..................................................................................................................... 6
Secure Linux Settings ........................................................................................................................ 7
Domain Memory Ballooning .............................................................................................................. 7
Serviceguard for Linux on Xen host ........................................................................................................ 7
RPM package dependency for installing Serviceguard for Linux 11.18 or later ........................................ 7
Packaging the Xen virtual machine with Serviceguard for Linux ............................................................. 8
Creation of Xen VM and dependencies ........................................................................................... 8
Consolidate all Xen Guest VM files in one Volume Group ................................................................. 8
Modify the Serviceguard for Linux Package Configuration File ........................................................... 9
Basic Principles of Xen Control and Management .................................................................................. 10
Xen VM Startup ............................................................................................................................. 10
Xen VM Shutdown ......................................................................................................................... 11
Xen VM Monitoring ........................................................................................................................ 11
Virtualization-mode independent approach ................................................................................... 11
Virtualization-mode dependent approach ...................................................................................... 12
Pros and Cons of Independent vs. Dependent Approach ................................................................. 12
Monitoring Xen virtual machine network interfaces ......................................................................... 12
Xen VM Application High Availability through Application Monitoring ................................................. 13
Summary .......................................................................................................................................... 14
Requirements: ................................................................................................................................ 14
For more information: ......................................................................................................................... 15
Appendix Section I ............................................................................................................................ 16
Xen Legacy Configuration File (xenhost.cnf) ....................................................................................... 16
Appendix Section II ............................................................................................................................ 17
Xen Legacy Control Script (xenhost.sh) .............................................................................................. 17
Appendix Section III ........................................................................................................................... 22
Xen Legacy Monitor Script (cmxenvmd) ............................................................................................. 22
Appendix IV ...................................................................................................................................... 23
Table of Acronyms and Abbreviations .............................................................................................. 23