VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
7 Replies Last post: Apr 10, 2008 6:41 AM by Roman_Romano  

Vmotion and DMZ: how to solve ? posted: Apr 10, 2008 3:16 AM

Click to view StefanoChiappini's profile Enthusiast 57 posts since
Sep 27, 2007

Hello,

I have two ESX 3.5 hosts configured in a cluster (enterprise license with HA and Vmotion) with about 20 VMs. One of these VM runs a firewall, and other VMs are on a DMZ zone (Web server, ftp servers, etc...). The DMZ zone is made with a dedicated virtual switch, obviuosly not linked to any phisical nic, because access to it must be provided only through the dedicated firewall.

Now the issue: I replicated the whole network configuration (virtual switches with same names and nics) on both hosts, but when I try to migrate a VM on DMZ, I get an error, saying: "Unable to migrate from host1 to host2: Currently connected network interface 'Network Adapter 1' uses network 'DMZ' which is a 'virtual intranet' ".

Please, can anybody tell me the way on how to solve this error, and take advantage og HA and Vmotion features of my licences ?

Thanks in advance, Stefano


Re: Vmotion and DMZ: how to solve ?

1. Apr 10, 2008 3:35 AM in response to: StefanoChiapp…
Click to view Roman_Romano's profile Enthusiast 73 posts since
Nov 10, 2006

i seem to remember a post that said you have to make some modification to the vpxd.cfg file on the VirtualCenter. Some thing like:

<migrate>

<test>

<CompatibleNetworks>

<VMOnVirtualIntranet>false</VMOnVirtualIntranet>

</CompatibleNetworks>

</test>

</migrate>

I think you have to create the section at the end of the vpxd.cfg file but still within the <config> section.

regards


Re: Vmotion and DMZ: how to solve ?

2. Apr 10, 2008 5:44 AM in response to: StefanoChiapp…
Click to view Ken.Cline's profile Champion 5,146 posts since
Jul 7, 2004
If you can work around this (I've never tried...), you will have to be very certain of what you're doing. HA will not be a problem - if the host fails, all of the VMs will be restarted on another host (assuming there's capacity) - make sure you set DRS affinity rules to keep them together. VMotion could be another can of worms! Do the VMs behind the firewall need to talk to each other? If so, then once you migrate one of them to another host, it will become isolated - there is no connectivity between the two vNetworks (isolated vSwitches) on the two hosts. While the IP configuration may work, it may be that nothing else does!

As an example, let's assume you have something like this:

(HOST 1) pNIC <-> vSwitch <-> Firewall VM <-> vSwitch (vNetwork) <-> Web Server | FTP Server | DNS Server | DB Server
(HOST 2) pNIC <-> vSwitch <-> Firewall VM <-> vSwitch (vNetwork) <-> <No VMs>

Now, what happens when you VMotion the DB server to the other host? You now have a configuration like this:

(HOST 1) pNIC <-> vSwitch <-> Firewall VM <-> vSwitch (vNetwork) <-> Web Server | FTP Server | DNS Server
(HOST 2) pNIC <-> vSwitch <-> Firewall VM <-> vSwitch (vNetwork) <-> DB Server

Your DB Server is now isolated behind a vSwitch (with the same name on both hosts...), but it can't talk to anything - and nothing can talk to it. Are you sure this is what you want?

Ken Cline
Technical Director, Virtualization
Wells Landers
VMware Communities User Moderator

Re: Vmotion and DMZ: how to solve ?

3. Apr 10, 2008 5:50 AM in response to: StefanoChiapp…
Click to view Chris_S_UK's profile Expert 598 posts since
Feb 20, 2006

Re: Vmotion and DMZ: how to solve ?

4. Apr 10, 2008 6:14 AM in response to: Chris_S_UK
Click to view Ken.Cline's profile Champion 5,146 posts since
Jul 7, 2004
Thanks Chris! I didn't think it was supported...just too lazy to look for the KB article.

Ken Cline
Technical Director, Virtualization
Wells Landers
VMware Communities User Moderator

Re: Vmotion and DMZ: how to solve ?

5. Apr 10, 2008 6:33 AM in response to: StefanoChiapp…
Click to view kjb007's profile Guru 5,476 posts since
Sep 18, 2006

If you only have two ESX hosts, and are not planning on adding more quickly, you can connect a crossover between the two and create a similar effect of the internal only network, and now the two DMZ VM's can still talk to each other, and you will be using a supported config.

-Kj*B*

Re: Vmotion and DMZ: how to solve ?

7. Apr 10, 2008 6:41 AM in response to: StefanoChiapp…
Click to view Roman_Romano's profile Enthusiast 73 posts since
Nov 10, 2006

That was the thread! i knew i'd saw it somewhere. Glad it helped.

Regards


VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities