Solved

Assigning IP address to Vmotion Vmkernel port

Posted on 2016-10-19
11
51 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
  • 6
  • 5
11 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
 

Author Comment

by:jskfan
Comment Utility
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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:jskfan
Comment Utility
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 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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
Comment Utility
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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
Comment Utility
Thank you Andrew
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
no probs
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now