We help IT Professionals succeed at work.

storage vmotion and ip address question

mokkan
mokkan asked
on
Hi,

If we have HA setup,  when one ESX host goes down,  vm guests will move over to another ESX host right? How does it keeping the same IP address? Does it control by vswitch?
Comment
Watch Question

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Storage vMotion and vMotion, move Virtual Machines in real time from ESX/ESXi host to ESX/ESXi host in real time with no downtime.

HA (which does not use vMotion), restarts Virtual Machines on another ESX/ESXi host, when an ESXi/ESX host fails.

VMware vMotion - Migrate Virtual Machines with Zero Downtime
http://www.vmware.com/products/vmotion/overview.html

VMware vMotion Product Brief
http://www.vmware.com/files/pdf/VMware-VMotion-DS-EN.pdf

VMware High Availability - Decrease Downtime and Reduce Risk
http://www.vmware.com/products/high-availability/overview.html

VMware High Availability (HA) Product Briefs

http://www.vmware.com/pdf/ha_datasheet.pdf
http://www.vmware.com/files/pdf/VMware-High-Availability-DS-EN.pdf


VMware vSphere Availability Guide ESX 4.1vSphere
http://www.vmware.com/pdf/vsphere4/r41/vsp_41_availability.pdf
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
The IP Address is stored and configured on the Virtual Machines, the virtual machines are stored on the shared storage. (and do not move anywhere).

It's just the Process (VM) which moves Host.

Author

Commented:
Yes, I understood that part, once it moved it will register with new ESX host. As long as if we have same network label, then it should work.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
That is correct.
Kerem ERSOYPresident
Commented:
Yes, I understood that part, once it moved it will register with new ESX host. As long as if we have same network label, then it should work.

This is why youe each host should have same number of interfaces and they should be attached at the same networks in the same order so that when a VM restarts on another host and it grabs the same interface it should not be attached to the wrong network.

Cheers,
K.

Author

Commented:
Thank you very much.  What do you mean by same order? IF  I have 5 ESX hosts in my farm, how do I need to setup the IP addresses?
Kerem ERSOYPresident
Commented:
Make sure that interface order is the same with all 5 of them. Since you'll have same number of interfaces try to assign networks in the same order so that first interface in each server attaches the same network etc.

Cheers,
K.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
if you have Host Profiles,  you can make sure ALL your ESXi hosts are the same configuration.

otherwise just ensure you have the same network labels on all hosts, vMotion will advise, when it checks before migration, and warns!

Also switch configurations have to be identical.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.