Na jakim hypervisor(ze) pracuje?

Linux

Zastanawialiście się kiedyś jak sprawdzić na jakim wirtualizatorze pracuje system?

Ostatnio siedziałem trochę w Azure (west us) pracując na ubuntu. Jako koleś od dawna związany z różnymi wirtualizatorami, zacząłem zastanawiać się czy aby Microsoft nie wprowadza mnie w błąd opowiadając, że Azure pracuje na specjalnej, zminimalizowanej wersji Hyper-V.

Jako, że soft zawsze da się oszukać to dalsze badania raczej traktuję z przymrużeniem oka. Sprawdziłem kilka możliwości – jak mówią, miliony much nie może się mylić w swoim kulinarnym menu. A może, może 🙂

Co wyszło z poszukiwań prezentuję poniżej:

sudo dmesg | grep -i "hypervisor"
[ 0.000000] Hypervisor detected: Microsoft Hyper-V

hostnamectl
Static hostname: vm-db
Icon name: computer-vm
Chassis: vm
Machine ID: d0ad90d2a00645009eafaf4da8e4e567
Boot ID: dece2d9b36244662a37181a9a92cd849
Virtualization: microsoft
Operating System: Ubuntu 18.04.4 LTS
Kernel: Linux 5.0.0-1032-azure
Architecture: x86-64

systemd-detect-virt
microsoft

lshw -class system
vm-db
description: Desktop Computer
product: Virtual Machine
vendor: Microsoft Corporation
version: 7.0
serial: 0000-0009-3751-2752-4391-2079-71
width: 64 bits
capabilities: smbios-2.3 dmi-2.3 vsyscall32
configuration: boot=normal chassis=desktop uuid=CF241B82-53D7-2344-9355-5506B869A6D3

dmidecode -s system-product-name
Virtual Machine

dmidecode | grep Product
Product Name: Virtual Machine
Product Name: Virtual Machine
dmidecode -s system-manufacturer
Microsoft Corporation

A Wy sprawdziliście na czym działacie? Pewnie stary, dobry VMware?

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

VMware
VCF, backup configuration

Backup implementation for VMware component is fairly easy. Just the requirements is to configure SFTP server in proper way and make it network available to the VMware components. SDDC Manager and NSX Manager backup In VCF Operations it is possible to configure backup for SDDC Manager and NSX Manager. Go …

VMware
VCF Automation, fresh environment configuration with identity providers and access control.

Introduction Login Login as user admin to the Organization name: system or if selected manual: Check the connections (in Administration section), where you should see connection to the vCenter and NSX-t manager as those are provided automatically via VCF Operations: the same for VCF Instances: Also check your networking: Identity …

VMware
VCF SoS

SoS (Supportability and Serviceability) command can be used for troubleshooting purpose to generate VCF (per component) log bundle, massively enable/disable ssh service on ESXi, vCenter, password and certificates expiry status, verify cluster health and many other. while troubleshooting, the following commands can be helpful: