11-29-2017
Quote:
Originally Posted by
psychocandy
How do I find out what physical host server is?
Just ask the admin(s). They should know.
There is no (reliable/supported) way to get it from a virtualized environment by design, whatever the virtualization method.
Most if not all methods can be fooled from the global/control/hypervisor/whatever level, not to mention the information retrieved might be obsoleted on a virtualized environment migrated from one physical host to another, even more when live migration is supported.
Last edited by jlliagre; 11-30-2017 at 06:22 AM..
This User Gave Thanks to jlliagre For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What command can i use to get the physical and virtual memory of a database? (7 Replies)
Discussion started by: tads98
7 Replies
2. Solaris
Hi
I have two solaris 10 virtual machines on my Vista laptop.
I want to access both machines using putty in vista. I used DHCP while installing virtual machines. one machine gets the ip address and other does not. What is the problem? can i assign a static ip address if yes how?
... (2 Replies)
Discussion started by: ankurk
2 Replies
3. Solaris
Hi,
I am on an Solaris machine "SunOS 5.10 Generic_139556-08 i86pc i386 i86pc"..how do i check if I am on an physical or an virtaul server.
Thanks. (6 Replies)
Discussion started by: jjoy
6 Replies
4. UNIX for Dummies Questions & Answers
I have a machine with Solaris OS 10 installed.
What command/file can give me the vendor of physical machine.
I have a machine with AIX OS installed.
What command/file can give me the vendor of physical machine.
I have a machine with Linux OS installed.
What command/file can give... (1 Reply)
Discussion started by: epriya2003
1 Replies
5. Solaris
Hello,
Firstly, apologies if the theme of this post is discussed elsewhere.
At the moment we have a dual-domain M5000 running. Each domain is running with equal amounts of CPU and memory.
What we'd like to do is move the 2 hosts in question (1 per domain) to a Solaris 10 zone of it's zone.... (2 Replies)
Discussion started by: nm146332
2 Replies
6. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
7. UNIX for Advanced & Expert Users
Hi All,
How can I know whether the server I am connecting to is a virtual or physical one? The server might be having any Unix OS (Linux/Solaris/HP-UX etc.).
Is there any system files / commands which can show these concrete information?
Thanks in advance for the replies.
sanzee (1 Reply)
Discussion started by: sanzee007
1 Replies
8. Solaris
hi,
I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine.
which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies
9. AIX
HI,
I need a command to find,
1) Avaiable Physical CPU
2) Avaiable virtual CPU
TIA (1 Reply)
Discussion started by: sumanthupar
1 Replies
10. Solaris
Hi All
Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies
LEARN ABOUT CENTOS
systemd-detect-virt
SYSTEMD-DETECT-VIRT(1) systemd-detect-virt SYSTEMD-DETECT-VIRT(1)
NAME
systemd-detect-virt - Detect execution in a virtualized environment
SYNOPSIS
systemd-detect-virt [OPTIONS...]
DESCRIPTION
systemd-detect-virt detects execution in a virtualized environment. It identifies the virtualization technology and can distinguish full VM
virtualization from container virtualization.
When executed without --quiet will print a short identifier for the detected virtualization technology. The following technologies are
currently identified: qemu, kvm, vmware, microsoft, oracle, xen, bochs, chroot, uml, openvz, lxc, lxc-libvirt, systemd-nspawn.
If multiple virtualization solutions are used, only the "innermost" is detected and identified. That means if both VM virtualization and
container virtualization are used in conjunction, only the latter will be identified (unless --vm is passed).
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
--version
Prints a short version string and exits.
-c, --container
Only detects container virtualization (i.e. shared kernel virtualization).
-v, --vm
Only detects VM virtualization (i.e. full hardware virtualization).
-q, --quiet
Suppress output of the virtualization technology identifier.
EXIT STATUS
If a virtualization technology is detected, 0 is returned, a non-zero code otherwise.
SEE ALSO
systemd(1)
systemd 208 SYSTEMD-DETECT-VIRT(1)