Application level hypervisor issues

Status
Not open for further replies.

Scudroe

Ars Scholae Palatinae
781
So my understanding of Server 2012 R2, hypervisors, layering etc. tells me that I should be able to run the same application software on, say, Server 12 on hyper-v or server 12 on VMware without any modifications. Guest os won't even know it's virtualized unless you let it know by installing guest services, applications sit way up, lots of isolation going on there.

Right?
'these truths are self-evident' is not going to help me here.

Are there any cases / risks / known application software functional behaviour risk types moving from one hypervisor (in this case VMware to hyper-v)? Potential timing issues even? Any references?
 
An application could tell if it wanted to whether or not it was being virtualized. There are a lot of signs of this. For example, run this command on your workstation vs a VM running in ESXi.

wmic bios get serialnumber

If you've got a Dell or something, it's likely a fairly short string of letters and numbers. When run under a VMWare virtual machine it'll say something like VMWare - somelongassserialnumberIthinkitstheUUIDorsomething


But, "will an application behave differently (from one hypervisor to the next)?" Short answer is, yes it is possible that software will behave differently. Review your software, see if they have a recommended hypervisor. What do they do all of their testing on?



Long story. For example, I worked for a software company that swore up and down that the software didn't care whether you ran it on ESXi, Hyper-V, or KVM. We did all of our testing on ESXi, but if you wanted to use KVM, hey that's on you*. How likely were we to run into KVM in the wild, amirite?

Turns out one of our larger clients used KVM. I believe it was on Ubuntu 12.04 LTS, so it was a really early version of KVM. Not a whole lot of features. And in particular, a bug. Which IIRC the maintainers said was not a bug, but a larger misunderstanding of some very specific piece of NIC functionality. If I can find it again, I'll post it. It was quite the saga.

But ultimately because KVM's virtual NIC (be it VirtIO, E1000, or the Realtek virtual NIC) responded to a very specific query in a different manner than a physical NIC (or ESXi virtual NIC) would, a critical piece of our software broke on every single reboot.


Virtualization is a big, complex thing. To expect that application developers know the nitty gritty of how every aspect of each virtualization platform works is unrealistic. Especially when you add in corporate red tape.


*Not meaning to down talk KVM. Later on while I was working that job, we ran tests of the most time consuming tasks within our software against Azure VMs, ESXi VMs in Century Link's cloud, our own internal ESXi VMs, and KVM in this customer's environment. KVM blew them all out of the water.
 

Scudroe

Ars Scholae Palatinae
781
[url=http:/civis/viewtopic.php?p=30585825#p30585825:3mefcxkb said:
Scudroe[/url]":3mefcxkb]So my understanding of Server 2012 R2, hypervisors, layering etc. tells me that I should be able to run the same application software on, say, Server 12 on hyper-v or server 12 on VMware without any modifications. Guest os won't even know it's virtualized unless you let it know by installing guest services, applications sit way up, lots of isolation going on there.

Right?
'these truths are self-evident' is not going to help me here.

Are there any cases / risks / known application software functional behaviour risk types moving from one hypervisor (in this case VMware to hyper-v)? Potential timing issues even? Any references?

Edit: Should have specified. We're not doing anything interesting here. It's customized SharePoint and dynamics CRM with some web apps under iis. But comments and feedback much appreciated.
 
Status
Not open for further replies.