aix virtualization

21
An Intro to AIX Virtualization Philadelphia CMG September 14, 2007 Mark Vitale

Upload: cameroon45

Post on 22-May-2015

3.297 views

Category:

Technology


14 download

TRANSCRIPT

Page 1: AIX Virtualization

An Intro to AIX Virtualization

Philadelphia CMG September 14, 2007

Mark Vitale

Page 2: AIX Virtualization

Septemberl 2007AIX Virtualization 2

Copyright The Information Systems Manager 2007 – All rights reserved

Generic disclaimer

• All trademarks referenced in this presentation are the properties of their respective companies.

• Most diagrams are from IBM Redbook SG24-7940-02 Advanced POWER Virtualization on IBM System p5: Introduction and Configuration

Page 3: AIX Virtualization

Septemberl 2007AIX Virtualization 3

Copyright The Information Systems Manager 2007 – All rights reserved

A complete solution

• Dynamic hardware management– Advanced POWER Virtualization (APV)

• Application balancing– Partition Load Manager (PLM)

• “IRD” for AIX

– Workload Manager (WLM)• “WLM” for AIX

• Availability – High Availability Clustering Multi-Processing

(HACMP)• “parallel sysplex” for AIX

Page 4: AIX Virtualization

Septemberl 2007AIX Virtualization 4

Copyright The Information Systems Manager 2007 – All rights reserved

Advanced POWER Virtualization

• available on System p5 and higher • a marketing umbrella term for a number of

hardware and software technologies:– Dynamic LPAR (DLPAR)– Shared Processor Pool (Micro-partitioning)– Virtual IO Server (VIO)– Simultaneous Multi-Threading (SMT)– Virtual LAN (VLAN)– Integrated Virtualization Manager (IVM)– Capacity on Demand (CoD)– Live Partition Mobility (POWER6 only)– Shared Dedicated Capacity (POWER6 only)

Page 5: AIX Virtualization

Septemberl 2007AIX Virtualization 5

Copyright The Information Systems Manager 2007 – All rights reserved

Overview

HMC

intranetintranet

hypervisorfirmware

AIX LPAR

Linux LPAR

VIO Server LPAR

p5 server

Page 6: AIX Virtualization

Septemberl 2007AIX Virtualization 6

Copyright The Information Systems Manager 2007 – All rights reserved

Comparison of virtualization technologies

p5 APV z9 PR/SM z9 z/VM

Max virtualized servers

Up to 254 LPARs, max 10 per processor

Up to 60 LPARs “unlimited” virtual machines

Processor allocation

Virtual - backed by physical dedicated or shared, no mixing

Logical – backed by physical dedicated or shared

Virtual – backed by physical dedicated or shared

Interpartition load management

Partition Load Manager (PLM)

Intelligent Resource Director (IRD)

Virtual Machine Resource Manager (VMRM)

I/O (network, disk)

Virtual IO Server LPAR; hypervisor VLAN

Enhanced Multiple Image Facility (EMIF); HiperSockets

Virtual devices

Memory Dedicated, dynamic

Dedicated, dynamic

Virtual memory source: Advanced POWER Virtualization on IBM System p5 – SG24-7940-02

Page 7: AIX Virtualization

Septemberl 2007AIX Virtualization 7

Copyright The Information Systems Manager 2007 – All rights reserved

POWER architecture

• RS/6000 (1990)• POWER2 (1993)• PowerPC (1993)• POWER3 (1998)• POWER4 (2001)

– first use in both AIX and AS/400 servers– static LPAR– dynamic LPAR (2002)– no resource sharing

Page 8: AIX Virtualization

Septemberl 2007AIX Virtualization 8

Copyright The Information Systems Manager 2007 – All rights reserved

POWER architecture (cont’d)

• POWER5 (2004)– aka pSeries– Hypervisor– dual cores - Simultaneous Multi-Threading (SMT)– Processor Utilization Resource Register (PURR)– shared processor pools (Micro-partitioning) (AIX 5.3 only)– Virtual IO resource sharing

• POWER5+ (2005)– aka p5– quad cores– faster, smaller, more instructions

• POWER6 (2007)– Live Partition Mobility – Shared Dedicated Capacity

• dedicated processors may donate unused cycles to the shared processor pool

Page 9: AIX Virtualization

Septemberl 2007AIX Virtualization 9

Copyright The Information Systems Manager 2007 – All rights reserved

POWER Hypervisor

• system firmware – introduced w/ POWER5– always enabled (think “NO BASIC MODE”)

• key features– Dynamic LPAR (DLPAR)

• allows dynamic reallocation of resources • ... but only if the OS supports it!

– shared processor pool (Micro-partitioning)• AIX 5.3 & Linux only (no i5/OS support)• allows fractional physical CPU entitlement

– virtual device support (VLAN, SCSI, consoles)

Page 10: AIX Virtualization

Septemberl 2007AIX Virtualization 10

Copyright The Information Systems Manager 2007 – All rights reserved

POWER Hypervisor

source: Advanced POWER Virtualization on IBM System p5 – SG24-7940-02

Page 11: AIX Virtualization

Septemberl 2007AIX Virtualization 11

Copyright The Information Systems Manager 2007 – All rights reserved

Virtual IO Server

• a software appliance that runs in a dedicated LPAR

• as the name implies, it provides virtual IO services to other (“client”) LPARs– virtual disks– virtual Ethernet adapters– shared Ethernet adapters (SEA)

• Integrated Virtualization Manager (IVM)– feature added w/ VIO Server 1.2– provides a browser-based subset of HMC function– main restriction – all resources are owned by VIO, no

dedicated resources

Page 12: AIX Virtualization

Septemberl 2007AIX Virtualization 12

Copyright The Information Systems Manager 2007 – All rights reserved

Hardware Management Console (HMC)

• hardware appliance to manage one or more managed systems (CECs)

• includes partition management and many other management functions

• provides optional web interface for remote access

Page 13: AIX Virtualization

Septemberl 2007AIX Virtualization 13

Copyright The Information Systems Manager 2007 – All rights reserved

Web-based System Manager (WebSM)

Page 14: AIX Virtualization

Septemberl 2007AIX Virtualization 14

Copyright The Information Systems Manager 2007 – All rights reserved

Processor allocations

Page 15: AIX Virtualization

Septemberl 2007AIX Virtualization 15

Copyright The Information Systems Manager 2007 – All rights reserved

Physical, virtual, and logical processors

source: Advanced POWER Virtualization on IBM System p5 – SG24-7940-02

Page 16: AIX Virtualization

Septemberl 2007AIX Virtualization 16

Copyright The Information Systems Manager 2007 – All rights reserved

SMT and PURR

source: Advanced POWER Virtualization on IBM System p5 – SG24-7940-02

Page 17: AIX Virtualization

Septemberl 2007AIX Virtualization 17

Copyright The Information Systems Manager 2007 – All rights reserved

Performance questions

• SMT on or off?• dedicated or shared processors?• real or virtual IO?

Page 18: AIX Virtualization

Septemberl 2007AIX Virtualization 18

Copyright The Information Systems Manager 2007 – All rights reserved

Best practices

• SMT– usually best to leave it on (default), but for some CPU-

intensive loads it may be better to turn it off• CPU allocation

– dedicated for sustained heavy workloads (WebSphere)– shared for light workloads (DNS)– make sure virtual processors are close to entitlement

• IO allocation– dedicated disk and network for best performance– shared Ethernet adapter and virtual SCSI can be great for

light workloads– use VLAN between LPARs when possible

• Virtual IO Server– if you use it, give it a shared, uncapped processor

entitlement

Page 19: AIX Virtualization

Septemberl 2007AIX Virtualization 19

Copyright The Information Systems Manager 2007 – All rights reserved

Prototype chart

Page 20: AIX Virtualization

Septemberl 2007AIX Virtualization 20

Copyright The Information Systems Manager 2007 – All rights reserved

Questions and Responses

Page 21: AIX Virtualization

Septemberl 2007AIX Virtualization 21

Copyright The Information Systems Manager 2007 – All rights reserved

References

• Advanced POWER Virtualization on IBM System p5: Introduction and Configuration (IBM Redbook SG24-7940-02)

• IBM System p Advanced POWER Virtualization Best Practices (IBM Redpaper)

• System p Logical Partitioning Guide (SA76-0098-00)