Solved

Assigning IP address to Vmotion Vmkernel port

Posted on 2016-10-19
11
110 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 121
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 121
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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 121
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 121

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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 121
ID: 41855665
no probs
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

690 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