Virtual Machine Replication & Failover with VMWare Server & Debian Etch (4.0)
|
Submitted by thanis (Contact Author) (Forums) on Thu, 2007-08-16 16:09. :: Debian | VMware | Storage | Virtualization
Virtual Machine Replication & Failover with VMWare Server & Debian Etch (4.0)Version 1.0 This tutorial provides step-by-step instructions about how to create a highly available VMware Server environment on a Debian Etch system. With this tutorial, you will be able to create Virtual Machines that will be available on multiple systems with failover/failback capabilities. The system is based using components of "The High Availability Linux Project" , namely "DRBD" and "Heartbeat". Warning: This tutorial requires at least basic Linux & Networking knowledge and is not for so called "newbies" to Linux and/or Networking and/or Vmware ! There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you! 1. Preliminary NoteI assume you have already set up a basic Debian Etch system with VMWare Server installed on both servers as described in the following tutorials: "The Perfect Setup - Debian Etch (Debian 4.0)" !!Only the first 2 pages!! NOTE:When using a server with 4GB RAM or more, please install a "bigmem" kernel and respective headers! apt-get install linux-image-2.6.18-4-686-bigmem linux-headers-2.6.18.-4-686-bigmem Since we will be needing a separate filesystem to be replicated between both servers, I suggest using a manual partition scheme like the following: /dev/sda1 -- 500 MB /boot (primary, ext3, Bootable flag: on) You can vary the sizes of the partitions depending on your hard disk size, and the names of your partition might also vary, depending on your hardware (e.g. you might have /dev/hda1 instead of /dev/sda1 and so on) Also, make sure /dev/sda7 is identical in size on server1 and server2, and please do not mount them when the installer asks you: "How To Install VMware Server On Debian 4.0" !!Only the first page!! UNLESS OTHERWISE SPECIFIED, ALL COMMANDS ARE DONE ON BOTH SERVERS 2. Installing the required packages on both serversFirst we update our package database: apt-get update Now we install the packages required for this tutorial apt-get install ssh drbd0.7* module-assistant heartbeat build-essential psmisc
|



Recent comments
3 days 8 min ago
3 days 8 hours ago
3 days 11 hours ago
3 days 13 hours ago
3 days 14 hours ago
3 days 16 hours ago
3 days 17 hours ago
3 days 18 hours ago
4 days 10 hours ago
4 days 11 hours ago