r20 - 2014-03-17 - 17:41:17 - Main.gcovellYou are here: TWiki >  Deployment Web > DeploymentPlanningAndDesign > PrinciplesOfGoodVirtualization

Principles of good virtualization

Authors: GrantCovell, HarryIAbadi

IBM supports virtualization and consequently, IBM Rational products are supported on virtualized servers. In a properly managed VM, Rational software products can perform properly. However, the virtualized infrastructure must be properly managed and monitored. It is crucial to understand how your virtualized infrastructure uses affinity and overcommitment, and to be sure you are using affinity and overcommitment in a way that ensures the best performance of your IBM Rational products.

Affinity

Affinity (also called entitlement, pinning, and dedication) is the ability to dedicate one or more resources on a virtual machine (for example: memory, processor, etc.) to the corresponding resources on the hypervisor. The host parcels out resources as the virtual machines need them. Affinity ensures that the wanted resources are dedicated to that virtual machine and are always available when the virtual machine requires them. Remember that virtual machines share system resources with all the other virtual machines on the same host.

Overcommitment

Overcommitment is when the total amount of virtual image resource allocation exceeds the physical resources of the hardware. In many common configurations to satisfy a virtual machine’s peak needs, the hypervisor may take resources from other virtual machines. Sometimes the combined needs of all the virtual machines may exceed the actual resources of the hypervisor. (When calculating the combined resources used, be sure to count the hypervisor resources as well). Sometimes over-commitment can cause all the virtual machines on a host to suffer.

Virtualization advantages

  • Well-managed virtualized servers permit modifying CPU, RAM, and disc image sizes with much greater ease than physical servers.
  • A virtualized infrastructure can offer several capabilities of high-availability, such as the ability for the VM infrastructure to mirror standby servers in case of failure.

Virtualization strategies

  • Virtualization must be managed and monitored.

  • Ensure that CPU, memory, and network resources are dedicated and uncapped. Ensure that CPU, memory, and network resources have minimum allocations or reservations.

  • For each hypervisor (VM host), the number of virtual CPUs should never exceed the number of physical CPUs. Be aware of the trick played by some hypervisors, which may count multi-threaded processors as separate processors (a dual-threaded 16-processor server may appear to the hypervisor as a 32-processor server and allocating 2 of these processors actually allocates half of a real processor).

  • The CPU allocation for each VM corresponds to actual physical CPUs.

  • There is ample access (bandwidth, network cards) to network and storage.

  • If the server that is hosting your VMs (hypervisor or host) is not fully dedicated to your VMs, be aware of the usage and load of those other VMs.

Related topics:

External links:

Additional contributors: MikeDonati, RyanSmith

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r20 < r19 < r18 < r17 < r16 | More topic actions
 
This site is powered by the TWiki collaboration platformCopyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use. Please read the following disclaimer.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.