2

Possible Duplicate:
Find out if the OS is running in a virtual environment

I don't trust my host as far as I can throw them. We are about to move, but I have got this nagging doubt that rather than being on the dedicated machine that we ordered I'm actually on a virtualised machine.

How would I go about proving this one way or the other?

johnwards
  • 765
  • 1
  • 9
  • 13
  • What OS is the server concerned? – dunxd Jan 12 '11 at 13:29
  • 2
    This question is basically a duplicate of http://serverfault.com/questions/196958/, although that one does not assume a hostile provider. If your provider is hostile and _very tricky_, you're pretty much at their mercy. – mattdm Jan 12 '11 at 13:30
  • 1
    Does your contract/service specifiy a dedicated physical machine, because a machine dedicated to your use only, whether physical or virtual, is a dedicated machine as far as I'm concerned. – joeqwerty Jan 12 '11 at 13:30
  • 3
    Note, also, that you might still be virtualized *and* getting an entire dedicated physical machine. There's management (and feature -- like failover) benefits to running your system in a VM even if it's the only one on the machine. – mattdm Jan 12 '11 at 13:31
  • mattdm is right - whether your server OS is running in a virtual layer may be proof of nothing. You probably need to weigh up the benefits of pursuing some kind of claim with your host, unless you are just looking to get out of your contract by claiming they breached it somehow. – dunxd Jan 12 '11 at 13:46
  • Yes this is a dup. Please close. Sorry about that. – johnwards Jan 12 '11 at 13:50
  • If you are interested it seems it is actually dedicated. Think the support guys are used to dealing with virtualised machines and are using "virtualised" terms in support tickets. That got me suspicious, they are a bunch of cowboys.. – johnwards Jan 12 '11 at 13:54

2 Answers2

3

For VMWare at least, either have a look at the network adapter type (it should say VMWare) or get the MAC address of the NIC and go here to look up the vendor.

August
  • 3,114
  • 15
  • 17
  • Not that the MAC couldn't be faked or anything. – Chris S Jan 12 '11 at 13:56
  • sure I admit it isn't a failproof method and there are probably other ways to figure it out, but if they haven't gone through the trouble of intentionally faking it, then it is a quick check – August Jan 12 '11 at 14:16
0

Assume your guest OS is Linux, you can do dmidecode -s system-manufacturer. In the case of VMWare it will return VMware, Inc..

Christian
  • 4,645
  • 2
  • 23
  • 27