Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-22-2013, 12:57 AM   #1
LQ Newbie
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
Configuring HA ( IP address) between 2 VM's configured on different hosts.


we have 2 hosts (H1,H2) on which VMs has been configured.
We need to configure IP based HA between VMs confgured on H1 And H2 ( One VM is on H1 while another is on H2 )

Both the VMs have full IP reachability .

Kindly suggest any procedure to configure the same.

Thanks and Regards

Old 06-22-2013, 02:06 PM   #2
Registered: Aug 2012
Location: earth
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136

Rep: Reputation: 1
could you be more clear? what do you mean by HA? if you mean hardware address that is not ip related and happens on different layer of the OSI model. also what virtualization software are you using? what are you trying to accomplish exactly? i have no idea what you mean by "configure the same" you mean on the same sub-net? your current nic set-up on the virtualization software would help. is it NAT or Bridged? are you using the host as the gateway or router? are they using the same gateway? your post will never be answered as written because it is so vague.
Old 06-24-2013, 12:07 AM   #3
LQ Newbie
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
High Availability between Virtual Machines


We have two host machines ( H1, H2) on which Virtual machines has been configured ( V1, V2 ).
OS is RHEL 6.3 and KVM is used for virtulization.

Virtual machine V1 is configured on Host H1 and Virtual machine V2 is configured on Host H2.
Both the host and the virtual machines are in the same subnet connected to switch.
We are able to ping from vm V1 to vm V2 .

We need to configure high availability cluster ip based so virtual ip can be accessed from outside even in case of failure for on VM.

Kindly refer the diagram attached

Thanks And Regards

Attached Thumbnails
Click image for larger version

Name:	Slide1.GIF
Views:	11
Size:	21.6 KB
ID:	12784  
Old 06-24-2013, 12:31 PM   #4
Registered: Aug 2012
Location: earth
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136

Rep: Reputation: 1
i will assume this is for a webserver, you didn't specify. but here is a "how to" on configuring a two node HTTP HA cluster with CentOS. it should be the same on RHEL given CentOS is so similar. this turorial uses the heartbeat daemon to handle the cluster infrastructure. again i'm not really sure how much progress you have made or exactly where you are stuck. do you have a different tool handling the cluster infrastructure or is that where your stuck? as for the VM part since you are using bridged adapters you can treat them as standalone machines like in the tutorial since the host is not doing any ip forwarding like in a NAT adapter.

here is a video for using pacemaker instead of heartbeat if you prefer video tutorials

one last video, again using pacemaker, but this one also uses KVM virtualisation and a GUI tool LCMC to manage the cluster easier

Last edited by minty33; 06-24-2013 at 12:46 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
loopback ip address to be configured on SUSE version 10 ChiragN Linux - Newbie 2 12-04-2010 12:59 AM
Snapgear SG300 getting an ip address not in the configured range zillah Linux - Networking 5 12-03-2009 01:43 AM
[SOLVED] Local DNS configured through /etc/hosts bartonski Linux - Wireless Networking 3 10-14-2009 07:38 AM
virtual hosts already configured, adding an additional one fails? elby Linux - Newbie 2 05-24-2009 01:00 AM
IP address pingable but not configured... ringding Linux - Networking 1 04-19-2007 02:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration