Configuring HA ( IP address) between 2 VM's configured on different hosts.
Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Configuring HA ( IP address) between 2 VM's configured on different hosts.
hi,
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.
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136
Rep:
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"...do 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.
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.
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136
Rep:
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. http://www.howtoforge.com/high_avail...artbeat_centos
one last video, again using pacemaker, but this one also uses KVM virtualisation and a GUI tool LCMC to manage the cluster easier http://www.youtube.com/watch?v=lgCoFrBdQG8
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.