Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Assigning IP address to Vmotion Vmkernel port

Posted on 2016-10-19
11
Medium Priority
?
191 Views
Last Modified: 2016-10-22
I have seen scenarios when they create Vmkernel port, for instance, for Vmotion. They assign IP address to Vmkernel port. I would like to know if there is any requirement for that IP address. I mean does it have to be in a specific subnet that should match another specific subnets on the physical switch?
In other words based on what requirement they assign the IP address ?
I have also seen the same thing when they create Vmkernel for storage..

Any clarification, will be very much appreciated.

Thank you
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 124
ID: 41851737
An IP Address is required for ANY VMKernel Portgroup, whether it's used for vMotion, FT Logging, of iSCSI or NFS traffic.

The IP Address has nothing to do with the physical switch, or a specific subnet, but it does help if the IP Address chosen is UNIQUE, and Private.
0
 

Author Comment

by:jskfan
ID: 41852530
Example,
if  All ESX hosts within  clusterX are in 10.10.0.0/24 network

and you create Vmkernel for Vmotion with IP  address 192.168.0.0/24
Then it might happen that one of the VM in that clusterA  get Vmotionned to  another clusterY completely different than the cluster it was in. (Assuming that there is another cluster in the 192.168.0.0/24 Network)
0
 
LVL 124
ID: 41852706
Remember here, that vMotion is ONLY a network which is used to move the data in memory between ESXi Hosts, it does no more than this, a conduit between hosts, to move data in memory. ALL hosts MUST have access to the same VM, via shared storage!

Networking in Clusters needs to be the same, and unique..... if you move across Clusters, again networking has to be the same and unique....

So if Host A and Host B DO NOT have access to the same VM storage VM is not moving anywhere.

Also before it's vMotioned ANYWHERE, vCenter checks the destination host, to check networks are the same! well they have the same Label.

it's true, if you have network labels on Host A - NETWORK, and Host B - Network

but Network on Host A is a different Network to Host B - MACHINE FAILS!

e.g. it will have no network when it's moved, and IDIOTS do do this!
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:jskfan
ID: 41853151
Let's say we have cluster1
with multiple ESX hosts

On ESX Host 1

there is one  VM Port Group with  VMs in different Vlans.
example
Some VMs are in Vlan 10
Some VMs in Vlan 20
Some VMs in Vlan 30
etc...

Now Vmkernel for Vmotion, can have an IP address (Unique), but can be in any above Vlans. Let 's says it is in Vlan 20
Now When VM is Vmotionned from one ESX host to another, it should move to another ESX host that has VM port Group that has Vlan 20 ? otherwise it fails?
0
 
LVL 124
ID: 41853413
VMs can only migrate if everything passes in the compliance checker. Complainces checker is dumb

all it checks is if CPU types are the same, both hosts can see the same storage the VM is on and the Networking Labels are the same, it does not check if the IP Address range is working!

What happens if VMs can migrate and they do, and what stops working is networking in the VM, the VM does not physically stopped working and fail.

Try it for yourself, put a VM on VM Portgroup Labelled TEST, and try to vmotion to another host without this VM Network.... it will not move.
0
 

Author Comment

by:jskfan
ID: 41854665
Same VM Portgroup Labelled TEST  should exist on the other Host? is it case sensitive ?

So there is no requirements for the IP address that you assign to the Vmkernel for Vmotion ?
0
 
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 41854682
Same VM Portgroup Labelled TEST  should exist on the other Host? is it case sensitive ?

All Virtual Machine Portgroups *MUST* be the SAME for ALL Hosts in the Cluster. Case sensitive.

So there is no requirements for the IP address that you assign to the Vmkernel for Vmotion ?

is there something missing here ?  to be ????? what ?

What ever IP address you assign to the VMKernel Portgroup, it must be in the same subnet network for ALL the hosts to communicate, if hosts cannot communicate between vMotion Portgroups, a vMotion will not start or work, it will fail.
0
 

Author Comment

by:jskfan
ID: 41855127
What ever IP address you assign to the VMKernel Portgroup, it must be in the same subnet network for ALL the hosts to communicate, if hosts cannot communicate between vMotion Portgroups, a vMotion will not start or work, it will fail.

I believe if ESX hosts can communicate between themselves even if they are in different VLANs,
then VMkernel  vmotion IP address , if it can ping the Hosts.. there should be no problem for Vmotion to work
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 41855183
I believe if ESX hosts can communicate between themselves even if they are in different VLANs,
then VMkernel  vmotion IP address , if it can ping the Hosts.. there should be no problem for Vmotion to work

The test is VMKPING not PING.

Traffic between VMKernel vMotion Portgroups, not management interfaces! If that is correct, vMotion will start.....

easy to test and confirm.
0
 

Author Closing Comment

by:jskfan
ID: 41855633
Thank you Andrew
0
 
LVL 124
ID: 41855665
no probs
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question