1 PowerVM Overview
1 PowerVM Overview
© 2011 IBM
1
Exploiting Virtualisation
on IBM Power Systems
with PowerVM v
Nigel Griffiths
IBM Power Systems
Advanced Technology Support
EMEA
© 2011 IBM
2
Old Style
Separate
Systems
Pre-2000
v
© 2011 IBM
3
Pre-2000 ~2001
© 2011 IBM
4
© 2011 IBM
6
SPLPAR
Shared Processor
automatic adjusts
at millisecond level
by Hypervisor
~2005
v
© 2011 IBM
7
SPLPAR
Shared Processor
automatic adjusts
at millisecond level
by Hypervisor
~2005
© 2011 IBM
8
SPLPAR Harvesting
Shared Processor “Spare” capacity
automatic adjusts ready for adding
at millisecond level more workloads at
by Hypervisor zero hardware cost
~2005 ~2006
v
© 2011 IBM
9
© 2011 IBM
10
}
10%
10% 40%
10% 40%
10%
10%
10%
10%
10%
© 2011 IBM
12
}
10%
10% 40%
10% 40%
10%
10%
10%
10%
10%
Virtual
SAN + Net
Cables
Switches
Ports
+ Power
Reduced Infrastructure
v
© 2011 IBM
13
}
“20 Minutes” or “20 Days”
10%
10% 40%
10% 40%
10%
10%
10%
10%
10% Quick Deployment
Economical I/O Model
Virtual
SAN + Net
Cables
Switches
Ports
+ Power
Reduced Infrastructure
© 2011 IBM
14
}
“20 Minutes” or “20 Days”
10%
10% 40%
10% 40%
10%
10%
10%
10%
10% Quick Deployment
Economical I/O Model
Virtual
SAN + Net
Cables
Switches
Ports
+ Power
Virtual Adapters
Network Disk
© 2011 IBM
16
Disk
Pure Direct
v
© 2011 IBM
17
Production Direct
Network
Network
Disk
Pure Direct
VIOS
© 2011 IBM
18
Production Direct
Network
Network
Virtual except
Disk
Pure Direct
high I/O LPARs
Network
VIOS
Disk
VIOS
VIOS
v
© 2011 IBM
19
Production Direct
Network
Network
Virtual except
Disk
Pure Direct
high I/O LPARs
Network
VIOS
Disk
VIOS
Pure Virtual
VIOS
Network
VIOS
Disk
VIOS
Reduced Cost
© 2011 IBM
Where 20
are You?
A B C D E F
4
v
© 2011 IBM
Where 21
are You?
A B C D E F
© 2011 IBM
Where 22
are You?
A B C D E F
4
v
© 2011 IBM
Where 23
are You?
A B C D E F
© 2011 IBM
24
Virtual SCSI
Adapters
SCSI
SAS vSCSI VIOS
Storage
FC Adapters Virtualiser
SAN
Virtual SCSI
Adapters
SCSI
SAS vSCSI VIOS
Virtual Tape: Easy to
Storage
FC Adapters Virtualiser move between LPARs
.iso library
SAN Virtual:
CD & DVD Read-only
DVD-RAM Read-Write
EMC LUN IBM LUN
© 2011 IBM
26
VIOS Admin
in charge
SCSI SCSI
SAS SAS
VIOS VIOS
SAN
© 2011 IBM
28
SCSI SCSI
SAS SAS
VIOS VIOS
SAN
© 2011 IBM
10GB 10GB
© 2011 IBM
32
Physical Memory
Tiny 4 KB pages
o
nd
is k
v
© 2011 IBM
33
Logical Memory
Ac
tua
ysll
Hypervisor
tor
ed
Blue Physical Loaned Memory
o
nd
Memory Pages To Hypervisor
is k
VIOS
© 2011 IBM
34
SCSI SCSI
SAS SAS
VIOS VIOS
SAN
v
© 2011 IBM
35
SCSI SCSI
SAS SAS
VIOS VIOS
SAN
Loaning Mode
© 2011 IBM
36
SCSI SCSI
SAS SAS
VIOS VIOS
SAN
v
© 2011 IBM
37
SCSI SCSI
SAS SAS
VIOS VIOS
SAN
Stealing Mode
Summary so far ….
© 2011 IBM
40
ho =
Summary so far ….
”
sc ive
he
NFS or NIM ! Virtual CD/DVD & Tape & NFS & NIM
CPU load balancing in minutes/hours CPU load balancing in milli-seconds
ex
Ex
LPARs in seconds
Also allows
1. Workload balancing across machine room
2. New machine use at day 1
3. Repair actions & upgrades
hdisk0
Server Logical Partition Server
A B
vscsi0 en0
Hypervisor
Ethernet Network
LUN
Live Partition Mobility (2 of 6)
hdisk0 hdisk0
Server Server
A B
vscsi0 en0 en0 vscsi0
AR
LP
w
en1 ne en1
vhost0 hdisk1 e hdisk1
e at
vtscsi0 en2 en2 Cr en2
SEA en2 SEA
fcs0 en0 en0 fcs0
HMC
Ethernet Network
LUN
hdisk0 hdisk0
Server Server
A B
vscsi0 en0 en0 vscsi0
Ethernet Network
LUN
Live Partition Mobility (4 of 6)
hdisk0 hdisk0
Server Server
A Logical Memory Copy B
vscsi0 en0 en0 vscsi0
LUN
hdisk0 hdisk0
Server Server
A B
vscsi0 en0 Move program execution to the target en0 vscsi0
LUN
Live Partition Mobility (6 of 6)
hdisk0
Server Server
A B
en0 vscsi0
Ethernet Network
LUN
Resource balancing
- suspend low-priority for more urgent processes
Simplified maintenance
- suspend the whole machine system updates
Debug/forensics
- a workload can be temporarily suspended
- a copy made for offline analysis for security
or performance purposes
Suspend 1) Freeze the LPAR
hdisk0
Server Server
A B
3) Remove the LPAR en0 vscsi0
Ethernet Network
LUN
Resume
4) Recreate the LPAR
hdisk0
Server Server
A B
vscsi0 en0 6) Unfreeze the LPAR
5)
Co
p ym
vhost0 hdisk1 en1 em en1
or
vtscsi0 en2 y fr o en2
en2 en2
SEA m SEA
the
fcs0 en0 V IO en0
HMC
S
dis
k
Ethernet Network
LUN
IBM Power Systems
© 2011 IBM
52
Local Disks
SCSI/SAS/SSD
3 SAN LUN
1 Logical Volume
FibreChannel
from VG Pool
Virtual
I/O Server
2 Whole Local Disk NPIV
over vFC
5 NPIV LUN
Client
VM
v
© 2011 IBM
Shared
Shared 53
Storage
Now one more Storage
Pool
Phase 1 Single VIOS
Pool Thin Provisioning
6 SAN LUN Disks
Local Disks
SCSI/SAS/SSD
3 SAN LUN
1 Logical Volume
FibreChannel
from VG Pool
Virtual
I/O Server
2 Whole Local Disk NPIV
over vFC
5 NPIV LUN
Client
VM
FibreChannel
Network
Virtual Virtual
Virtual
I/O Server I/O Server
I/O Server
vSCSI vSCSI
vSCSI
Client Client
VM Client
VM VM
Phase 2
v
Shared Storage Pool © 2011 IBM
distributed cluster Cluster
55
vSCSI vSCSI
vSCSI
Client Client
VM Client
VM VM
Phase 2
Power Systems
v
© 2011 IBM
56
Power 795
Since September 2010
Power 780
Power 770
4 - 16 core
700/1/2 Blades Power 730
Power 710
4 - 16 core
8 or 16 core