[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Best way to differentiate between virtual servers and non-virtual servers
On Wed, May 16, 2012 at 10:43 AM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote: A: Because it messes up the order in which people normally read text. Sorry for the top-posting. simon hobson wrote: If the hypervisor is installed, and there's a /proc/xen directory with stuff in it, and Xen commands (eg "xm list") do stuff - then you'll know that this is a host system running under Xen. If there's no Xen stuff installed, and no /proc/xen directory - then you're likely running on bare metal. I agree with Xen that I can have information from /proc/xen for both virtual machine and domain0. simon hobson wrote: However, you really should not be having to do this. You should **KNOW** without having to go looking around on a machine what it is. If you are working on machines, and your management systems (even just a basic list of what you have or are responsible for) does not give you this information then you need to address that. Traditionally people would keep "some sort of list" which would say "what is it", "where is it", and "what's the admin/root password". These days that should also include "is it a virtual host or client" - and have an easy way to find out "what virtual machines does this host" or "where is this hosted" depending on whether it's a host or guest. However, think about this case. I want to distribute a client software to my customers and they can install wherever they want to control from the management server. While customers install the client, they may insert a wrong information. Later, it will bring a big trouble when the manager thinks he reboots a virtual machine, but actually he reboots a physical machine which has lots of virtual machines on it. I can not trust customers' setting. I need to make sure that the machine is a virtual machine or not. Thanks for your consideration. Jinho _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |