Solved

VMware ESXi vMotion using directly connected card without switch

Posted on 2014-11-20
7
899 Views
Last Modified: 2014-11-24
Hi guys,

I was trying to test a server that has 2x 1GB and 2x 10GB ports so I can move VMs from one host to the other using vMotion (no shared storage). The problem is, I don't have a 10GB switch so I've beem managing the servers through the 1GB ports connect to a switch, and the 10GB ports are connected directly from one server into the other, no switches in between.

On the 10GBIT cards, I set up IP address and GW (which can't really go anywhere as they are connected directly to each other) and I manage the servers using vCenter, which reach these servers through the switch using the 1GB ports. I enabled Vmotion on the 10GBIT ports, and tried to vMotion. It got stuck.

If I do the same on the 1GBIT ports, enabling vMotion on them, it works fine. I don't know if it is because the vMotion can't reach a gateway, but as everything is in the same subnet it should need a GW.

I heard that vMotion is actually a 2 item process:

1.

the cold migration will copy the VMDK files and will use the normal virtual network, not the vMotion network

2.

vMotion is actually just the memory state that will be copied over the network to the machine located on the new host, no VMDK files are involved in this step
Is this right?

Even though, I should be able to use the directly connected networks to migrate VMDK of vMotion the VMs to a different host. Why am I encountering this problem just when connecting the NICs directly to each other?

I was planning to get some infiniband cards as they are a cheap way to get 10-40GB without a switch, but if this is a limitation and I can't really internet the hosts properly and vMotion, it may not make much sense.

Thanks!
0
Comment
Question by:Alex
  • 4
  • 3
7 Comments
 
LVL 117
ID: 40454777
Your assumptions are correct.

and you can connect network ports between servers, providing you get an uplink, there is no need to use a switch.

Test your vMotion network (VMKernel Portgroups), using Ping, good communication is required between vMotion Portgroups for a vMotion to complete.

Have you tested the vMotion network?
0
 

Author Comment

by:Alex
ID: 40461859
That is why I could not understand why it didn't work.

10GB NICs have vmotion enabled, IP address and physical link.

I'm going to test again.

Also, I was wondering if I can make the normal traffic go between the hosts through the 10GB NICs, but still be managed on the 1GB NICs?

I would like to test moving VMs from one host to the other with the 10GB cards and no switch for example. I believe it can be done as people were using infiniband cards without switches.
0
 
LVL 117
ID: 40461869
You can select which interface you want to use for Management, and you can select which network interface you want to use for vMotion.

Remember vMotion network interfaces can have different interfaces, IP Addresses, and is usually recommended to be different networks.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:Alex
ID: 40461882
Can I also have multiple nics for management in a way I can force the traffic for example of moving VM to different host to got through the 10GB cards? Remember that I can't connect to these cards to manage remotely, they are connected directly to each host without a switch.

What I understand is that the management network is the network that also carries the traffic when VMs are being moved across hosts, so I'm wondering how I can achieve this.
0
 
LVL 117
ID: 40461907
VMotion of VMs, traffic goes through a vMotion Port.

Management Port is connected to vCenter Server.

Setup a new vMotion network on your 10GBe cards, with different IP Address, and ONLY flag these VMKernel Portgroups as vMotion.
0
 

Author Comment

by:Alex
ID: 40461917
This doesn't accomplish what I'm trying to do. I want to move VMDK disks over the 10GB cards too, not just the memory state through vMotion.

Can the move of VMDKs happen on a network that is not connected to vcenter?
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40461972
Okay, I understand Cold Migration and Hot Migration (vMotion).

NO, vCenter Server manages the Migration, so vCenter Server must have access to the servers, to perform the migration.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

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.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

706 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

20 Experts available now in Live!

Get 1:1 Help Now