UnixServerAdmin

Server Administration & Management

How to check Server is running on Baremetal or VMWare

How we can identity that server os is running on single standalone hardware or vmware virtual machine. you can type one of the following commands to see if the server you are in is VMWare VM.

# /sbin/lspci | grep -i vmware
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)

# grep -i vmware /proc/scsi/scsi
Vendor: VMware Model:  Virtual disk  Rev: 1.0

# dmidecode | grep -A4 “System Information”
System Information
    Manufacturer: VMware, Inc.
    Product Name: VMware Virtual Platform
    Version: None
    Serial Number: VMware-56 4d 65 bb 9c e1 8e f0-6c db 0e 6b 2f a6 bb fd

# dmidecode | grep -A4 “System Information”
System Information
    Manufacturer: Acer
    Product Name: Veriton Series
    Version:
    Serial Number: AWI44RT263B349056IE

Advertisements

January 7, 2013 Posted by | Tips & Tricks, Unix/Linux, Virtualization, VMWare | , , , , | 2 Comments