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.

Linux
Multi-Linux Manager, what makes this product interesting for the Enterprises.

Interesting links: [1] https://documentation.suse.com/liberty/7/html/suma-quickstart/art-suma-quickstart.html[2] https://documentation.suse.com/liberty/7/html/compliance-scans/art-compliance-scans.html[3] https://documentation.suse.com/liberty/7/html/quickstart-scc/art-quickstart-scc.html[4] https://documentation.suse.com/liberty/9/[5] https://documentation.suse.com/en-us/sles/15-SP7/html/SLES-all/cha-klp.html[6] https://documentation.suse.com/multi-linux-manager/5.1/en/docs/administration/maintenance-windows.html[7] https://documentation.suse.com/multi-linux-manager/5.1/en/docs/administration/maintenance-windows.html

Linux
Creating random (not empty, thin provisioned) files in Linux

Recently I have found the command that can generate random file in linux environment where non empty (thin provisioned) files are required for testing: todo: combine that command with parallel command (or parallel that in python).

VMware
Adding vCenter inventory into VCF Automation

4. From tree, expand vCenter and run workflow: Add a vCenter instance. It might be required to disable option “Do you want to create a session per user to the vCenter?” 5. Under Administration -> Inventory, select vCenter and verify if Datacenters folder is visible Now you can run workflows …