Bug 1132791 - [RFE] Report a hypervisor for LPAR systems running with shared resources
Summary: [RFE] Report a hypervisor for LPAR systems running with shared resources
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: develop
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-22 04:47 UTC by Nick Coghlan
Modified: 2020-11-19 21:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-19 21:43:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Nick Coghlan 2014-08-22 04:47:10 UTC
Currently all ppc64 logical partitions are reported by the inventory scan as "bare metal" systems (i.e. no hypervisor value).

This is fine for partitions with static resource allocations (since they should be as good as bare metal for basically any purpose you care to name), but can cause problems for partitions with shared resource allocations.

The main concern arises when looking for systems to do performance testing - for other architectures, its possible to filter for "bare metal only" systems, and be assured of being the sole tenant on the host. With ppc64, you may end up running on a logical partition with shared resources, and the benchmarking results will be affected by activity on other partitions.

This RFE proposes reporting a suitable hypervisor string (e.g. "LPAR") in cases where a ppc64 system is running in a logical partition with shared (rather than static) resources.

It assumes that it will be possible for beaker-system-scan to:

1. Detect when it's running in a logical partition
2. Detect when that partition is running with shared resources

http://www.ibmsystemsmag.com/aix/administrator/lpar/An-LPAR-Review/ provides a good conceptual overview of LPAR.

Comment 2 Nick Coghlan 2014-08-22 04:54:02 UTC
"virt-what" (see http://people.redhat.com/~rjones/virt-what/) may provide some useful hints on detecting additional hypervisor information.

Comment 3 Nick Coghlan 2014-08-22 04:56:49 UTC
The virt-what man page (linked from the above page) shows more details on what it can detect: http://people.redhat.com/~rjones/virt-what/virt-what.txt

Comment 4 Nick Coghlan 2014-08-22 05:00:40 UTC
Not directly relevant, but https://unix.stackexchange.com/questions/89714/easy-way-to-determine-virtualization-technology has some interesting answers regarding poking around trying to identify the virtualisation layer.


Note You need to log in before you can comment on or make changes to this bug.