server virtualization: the essentials · what is virtualization? virtualization creates a level of...

36
TeamQuest and the TeamQuest logo are registered trademarks in the US, EU and elsewhere. All other trademarks and service marks are the property of their respective owners. Copyright © 2007 TeamQuest Corporation. All Rights Reserved. Server Virtualization: The Essentials Part 1 of 4 Jim Smith TeamQuest

Upload: others

Post on 21-Sep-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

TeamQuest and the TeamQuest logo are registered trademarks in the US, EU and elsewhere. All other trademarks and service marks are the property of their respective owners.Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Server Virtualization: The Essentials Part 1 of 4

Jim SmithTeamQuest

Page 2: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

2Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Agenda

Server Virtualization: The Essentials• What is virtualization? • Why consolidation and virtualization?• Advantages of Virtualization• Disadvantages of Virtualization• Different Approaches• CPU Measurements

Page 3: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

3Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

What is virtualization?

Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application.

Storage virtualization refers to the presentation of a simple file, logical volume or other storage object (ie. disk drive) to an application in such a way that allows the physical complexity of the storage to be hidden from both the storage administrator and theapplication.

Virtualization involves the process of presenting computing resources in ways that users and applications can easily get value out of them, rather than presenting them in a way dictated by their implementation, geographic location, or physical packaging.

Virtualization is an abstraction layer that decouples the physical hardware from the operating system to deliver greater IT resource utilization and flexibility.

Page 4: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

4Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Why consolidation and virtualization?

Mainframes (Centralized Computing)

Open Systems (Distributed Computing)

Computer Sprawl (Application-driven)

Service Level (Business-driven)

Page 5: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

5Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Advantages of Virtualization

Increased server utilization

Rapid service deployment

Hidden complexity

Reduction of datacenter footprint

Page 6: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

6Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Disadvantages of Virtualization

Administration complexity

Skilled personnel

Confusion over different approaches

Confusion regarding standard statistics

Licensing issues

Page 7: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

7Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches

IBM (AIX)

Hewlett-Packard (HP-UX)

Sun Microsystems (Solaris)

VMware (ESX)

Microsoft (Windows Virtual Server)

Page 8: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

8Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: IBM LPARs

Software

Hardware

Applications

AIX

Applications

AIX

CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Presenter
Presentation Notes
No hardware sharing. Separate instances of the operating system.
Page 9: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

9Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: IBM LPARs

Single OS in each LPARCPUs are not shared across LPARsCPUs are provisioned by whole CPUs

Software

Hardware

Applications

AIX

Applications

AIX

CPU CPU CPU CPU

Presenter
Presentation Notes
Each operating system instance knows the physical CPU usage of CPUs under its control.
Page 10: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

10Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Firmware, IBM Micropartitions

Software

Firmware

Hardware CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

POWER Hypervisor

Applications ApplicationsAIX AIX

Presenter
Presentation Notes
Hardware sharing Multiple operating systems Hypervisor
Page 11: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

11Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Firmware, IBM Micropartitions

Multiple OSsPartial CPU configurationCPUs can be shared across LPARAIX sees physical and virtual CPUs

Software

Firmware

Hardware

Applications Applications

CPU CPU CPU CPU

AIX AIX

POWER Hypervisor

Presenter
Presentation Notes
Operating system knows about both virtual and physical CPUs.
Page 12: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

12Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Hardware, NPAR

Software

Hardware

Applications

HPUX

Applications

HPUX

CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Presenter
Presentation Notes
No hardware sharing. Separate instances of the operating system.
Page 13: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

13Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Hardware, NPAR

Single OS in each NPAR CPUs are not shared across NPARCPUs are provisioned by whole CPUs

Software

Hardware

Applications

HPUX

Applications

HPUX

CPU CPU CPU CPU

Presenter
Presentation Notes
Each operating system instance knows the physical CPU usage of CPUs under its control.
Page 14: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

14Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Firmware, HP VPAR

Software

Firmware

HardwareCPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Virtual Partition Monitor

HP 9000 Firmware

Applications ApplicationsHPUX HPUX

Presenter
Presentation Notes
Hardware sharing Multiple operating systems Hypervisor
Page 15: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

15Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Firmware, HP VPAR

Multiple O.S.sNo Partial CPU configuration (Core Granularity)CPUs can be shared across VPAR

Software

Firmware

Hardware

Applications Applications

CPU CPU CPU CPU

HPUX HPUX

Virtual Partition Monitor

HP 9000 Firmware

Presenter
Presentation Notes
Operating system knows about both virtual and physical CPUs.
Page 16: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

16Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Hardware, Sun Domains

Software

Hardware

Applications

Solaris

Applications

Solaris

CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Presenter
Presentation Notes
No hardware sharing. Separate instances of the operating system.
Page 17: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

17Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Hardware, Sun Domains

Single OS in each domain CPUs are not shared across domainsCPUs are provisioned by whole CPUs

Software

Hardware

Applications

Solaris

Applications

Solaris

CPU CPU CPU CPU

Presenter
Presentation Notes
Each operating system instance knows the physical CPU usage of CPUs under its control.
Page 18: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

18Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Software, Solaris Zones

Software

Hardware

Applications

Solaris 10

Applications

CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Zone Zone

Presenter
Presentation Notes
Hardware sharing. Single instance of operating system.
Page 19: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

19Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Software, Solaris Zones

Single OS Physical CPUs are visible to the OS

Software

Hardware

Applications

Solaris 10

Applications

CPU CPU CPU CPU

Zone Zone

Presenter
Presentation Notes
A single operating system instance controls all CPUs. LDOMS – Logical Domains – Sparc Hypervsor –T1 processor Only
Page 20: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

20Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Firmware, Solaris LDOMS

Software

Firmware

Hardware CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Solaris Hypervisor

Applications ApplicationsSolaris Solaris

Presenter
Presentation Notes
Hardware sharing Multiple operating systems Hypervisor
Page 21: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

21Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Firmware, Solaris LDOMS

Multiple OSsPartial CPU configurationSolaris sees physical and virtual CPUs

Software

Firmware

Hardware

Applications Applications

CPU CPU CPU CPU

Solaris Solaris

Solaris Hypervisor

Presenter
Presentation Notes
Operating system knows about both virtual and physical CPUs.
Page 22: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

22Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Software, VMware ESX Server

Software

Hardware

Applications

VMware ESX

Applications

CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Windows Linux

Presenter
Presentation Notes
Hardware sharing Single “host” operating system. Multiple guest operating systems.
Page 23: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

23Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Software, VMware ESX Server

Single “host” OSPhysical CPUs visible to the host OS“Guest” OS sees virtual CPUs

Software

Hardware

Applications

VMware ESX

Applications

CPU CPU CPU CPU

Windows Linux

Presenter
Presentation Notes
Single “host” operating system instance controls all CPUs and knows their usage. “Guest” operating systems don’t know about physical CPUs. Guests know about virtual CPUs.
Page 24: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

24Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Software, Windows Virtual Server

Software

Hardware

Windows

CPU CPU

Memory Memory

I/O I/O

CPU CPU

Memory Memory

I/O I/O

Windows Virtual Server

Applications ApplicationsWindows Windows

Presenter
Presentation Notes
Hardware sharing Single “host” operating system. Application (WVS) enables “guest” operating systems. Multiple guest operating systems.
Page 25: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

25Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Different Approaches: Software, Windows Virtual Server

Single “host” OSPhysical CPUs visible to the host OS“Guest” OS sees virtual CPUs

Software

Hardware

Applications

Windows

Applications

CPU CPU CPU CPU

Windows Windows

Windows Virtual Server

Presenter
Presentation Notes
Single “host” operating system instance controls all CPUs and knows their usage. “Guest” operating systems don’t know about physical CPUs. Guests know about virtual CPUs.
Page 26: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

26Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

CPU Measurements

Traditional CPU measurements now have very different meaningsCPU measurements are gathered from operating system APIsPay close attention to where you look for CPU resource usageThere is still real hardware somewhere

Page 27: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

27Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Example Configuration – IBM Micropartition

POWER Hypervisor

Shared Pool Dedicated

Applications

AIX

VCPU

PCPU

VCPU

Applications

AIX

VCPU

Applications

AIX

VCPU VCPU

PCPU PCPU

VCPU

VS1 Configuration• 2-Virtual CPUs, 1-Entitled Capacity• Capped, SMT off, Shared Processor Pool

Single process running in VS1 using 45 seconds of a physical CPU in a 60 second interval

PCPU PCPU PCPU PCPU

VCPU VCPU VCPU VCPU

PCPU

VS1 VS2 VS3

Page 28: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

30Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Virtual Processor

POWER Hypervisor

Shared Pool Dedicated

Applications

AIX

VCPU

CPU:Summary::%busyThe percentage of the virtual processor capacity consumed. Affected by both SMT and Capping.

PCPU PCPU

VCPU

Applications

AIX

VCPU VCPU

Applications

AIX

VCPU VCPU

PCPU PCPU

PCPU PCPU PCPU PCPU

VCPU VCPU VCPU VCPU

VS3VS2VS1

%busy = 37.5%

Presenter
Presentation Notes
SMT introduces more virtual CPUs. Capping stretches CPU time used.
Page 29: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

31Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Entitled ProcessorCPU:by LPAR::%entcThe percentage of the entitled processor capacity consumed by the partition.

POWER Hypervisor

Shared Pool Dedicated

Applications

AIX

VCPU

PCPU

VCPU

Applications

AIX

VCPU VCPU

Applications

AIX

VCPU VCPU

PCPU PCPU

PCPU PCPU PCPU PCPU

VCPU VCPU VCPU VCPU

PCPU

VS3VS2VS1

%entc = 75%

Page 30: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

32Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Processor PoolCPU:by LPAR::%lpar_pool_busyThe percentage of the processor pool capacity consumed by the partition.

POWER Hypervisor

Shared Pool Dedicated

Applications

AIX

VCPU

PCPU PCPU

VCPU

Applications

AIX

VCPU VCPU

Applications

AIX

VCPU VCPU

PCPU PCPU

PCPU PCPU PCPU PCPU

VCPU VCPU VCPU VCPU

VS3VS2VS1

%lpar_pool_busy = 18.75%

Page 31: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

33Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

All ProcessorsCPU:by LPAR::%lpar_phys_busyThe percentage of the physical processor capacity consumed by the partition.

POWER Hypervisor

Shared Pool Dedicated

Applications

AIX

VCPU

PCPU PCPU

VCPU

Applications

AIX

VCPU VCPU

Applications

AIX

VCPU VCPU

PCPU PCPU

PCPU PCPU PCPU PCPU

VCPU VCPU VCPU VCPU

VS3VS2VS1

%lpar_phys_busy = 9.38%

Page 32: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

34Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Processor PoolCPU:by LPAR::%total_pool_busyThe percentage of the processor pool capacity consumed by all partitions using the pool.

POWER Hypervisor

Shared Pool Dedicated

Applications

AIX

VCPU

PCPU PCPU

VCPU

Applications

AIX

VCPU VCPU

Applications

AIX

VCPU VCPU

PCPU PCPU

PCPU PCPU PCPU PCPU

VCPU VCPU VCPU VCPU

VS3VS2VS1

%total_pool_busy = 32%

Page 33: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

35Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

CPU Chart

Page 34: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

36Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Additional Statistics

CPU:by LPAR::physcThe number of physical processors consumed by the partition.

CPU:by LPAR::appThe number of available processors in the shared pool.

Page 35: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

37Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Is Capacity Planning Important?

What happens to response times when activity changes?When will my guest get “full”?When will my application activity exceed my server capacity?When will my application activity exceed my cluster capacity?TeamQuest solutions tell you what you will need before you need it

Presenter
Presentation Notes
Modeling Predicts the level of activity where architectural limits exist or bottlenecks occurs. Based on this information, we can devise a plan to deal with potential issues before the running applications encounter them. Predicts the effects of changes in business activity. We can determine when hardware upgrades or expansion may need to take place. Predicts the effects of configuration changes. We can determine the appropriate configuration to satisfy service level objectives. Modeling helps tell you what you need before you need it.
Page 36: Server Virtualization: The Essentials · What is virtualization? Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing application

38Copyright © 2007 TeamQuest Corporation. All Rights Reserved.

Conclusion of Part 1

For more discussion on this topic, please contact Jim Smith at: [email protected]

To view demos on how to better manage the capacity of virtualized VMware ESX, Sun Solaris and IBM AIX server environments, simply close this video and return to the TeamQuest website

For Capacity Planning solutions please call:Corporate Offices and Americas Europe, Middle East, Africa Asia Pacific United Kingdom+1 800-551-8326 +46 (0) 31 80 95 00 +61 3 9641 2288 +44 (0) 1865 338031

Thank you for joining us.