Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Given access to separate two Xen instances running Linux, is there some way to identify if the two instances are running on the same physical machine?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

No. Anything you can try can be faked by the hypervisor. Even if you're not running in a hostile environment, the hypervisor blocks all of the interesting hardware calls you can make normally (lshw shows a wealth of component serial numbers on a real machine), and obviously the MAC addresses of all your domUs will be virtual and fake.

You're trying to answer the wrong question, though. Any possible scenario I can imagine this being useful in is better solved with either comprehensive system monitoring or contractual guarantees with visibility of compliance.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.