© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
Integrity Virtual
Machines
Technical Overview
Jörg Brand
Support Zentrum Ratingen
Agenda
−
What is Integrity VM?
−
Network-Configuation
−
IO – Configuration
16. Mai. 2006 www.decus.de 3
Isolation
highest degree of separation
Flexibility
highest degree of dynamic capabilities
Hard partitions
with multiple nodesHard partitions
within a node within a hard partition
Virtual partitions
nPartitions
PRM with psets
resource partitions w/in a single OS image
HP Partitioning Continuum for HP-UX
11i - today
“Integrity Virtual
Machines”
PRM
Process Resource ManagerVirtual
partitions
Clusters
nPartitions
– Complete hardware and software isolation – Node granularity – Multiple OS images – Hardware isolation per cell – Complete software isolation – Cell granularity – Multiple OS images – Complete software isolation – Dynamic CPU migration – Sub-socket granularity (PA-8800) – Multiple OS images – Dynamic resource allocation – Share (%) granularity – 1 OS image 16. Mai. 2006 www.decus.de 4HP Integrity Virtual Machines
optimum utilization across multiple
OS
•
Sub CPU virtual machines
with shared I/O
•
Runs on a server or within an
nPar
•
Dynamic resource allocation
built in
•
Resource guarantees as low
as 5% CPU granularity
•
OS fault and security
isolation
•
Supports all (current and
future) HP Integrity servers
•
Designed for multi OS—
HP-UX 11i in first release,
Win2003 Server in 2H 2006
Linux: 2007
OS (Linux)
app1 app2
app3 app4
I/OI/OI/O
app1 app2 app3 app4 OS (HP-UX 11i v2) OS (Windows) app1 app2 app3 app4 app5 app6 Memory Hardware
Host (Integrity VM + platform OS)
HP-UX 11i v2 guests
2H 2005
16. Mai. 2006 www.decus.de 5
Dynamic I/O sharing networking
Host (Integrity VM + platform OS)
•
Virtual machine’s
I/O packets
directed to I/O
cards by the
Integrity VM Host
•
Virtual LAN may
be defined without
a physical NIC for
guest-to-guest
communication
•
I/O card can be
dedicated to a
virtual machine
for performance
isolation
Virtual Switch NIC 1 Virtual Machine 2 app1 app2 OS Virtual Machine 3 OS app1 app2 Virtual Machine 1 OS app1Virtual Switch Virtual SwitchNIC 2
I/O virtualization
Host (Integrity VM + platform OS)
SAN
•
DVD virtualized
on host by
–
Physical DVD
–
File
Virtual Machine 1 Virtual Machine 2 Virtual Machine 3
OS
app1 app1 app2
OS OS app1 app2
•
Disk virtualized on
host by
–
Physical disk
–
File
–
Logical Volume
–
SAN (LUN)
16. Mai. 2006 www.decus.de 7
hpvm in der Praxis
# hpvmstatus [Virtual Machines]
Virtual Machine Name VM # OS Type State # vCPUs # Devs # Nets Memory ==================== ===== ======= ======== ======= ====== ====== =========== vm1 2 HPUX On 2 2 3 1 GB vm2 3 HPUX Off 2 1 2 1 GB
# hpvmnet
Name Number State Mode PPA MAC Address IP Address ======== ====== ======= ========= ====== ============== =============== localnet 1 Up Shared N/A N/A
switch0 2 Up Shared lan0 0x000f202bf21d 15.140.9.186 switch1 3 Up Shared N/A N/A
16. Mai. 2006 www.decus.de 8
hpvm in der Praxis (2)
# hpvmstatus -P vm1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State ==================== ===== ======= ======== vm1 2 HPUX On
[...]
[Storage Interface Details]
Guest Physical Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
====== ========== === === === === === ========= ========================= disk scsi 0 0 0 0 0 lv /dev/vg00/rvm1
dvd scsi 0 0 0 1 0 disk /dev/rdsk/c1t2d0
[Network Interface Details]
Interface Adaptor Name/Num Bus Dev Ftn Mac Address ========= ========== ========== === === === ================= vswitch lan switch0 0 1 0 22-b6-2a-23-ea-84 vswitch lan switch0 0 2 0 ea-e5-24-90-3d-df vswitch lan switch1 0 4 0 56-a1-0d-2b-cd-89
16. Mai. 2006 www.decus.de 9
hpvm in der Praxis (3)
# model
ia64 hp server Integrity Virtual Machine
# ioscan -fknCdisk
Class I H/W Path Driver S/W State H/W Type Description =======================================================================
disk 4 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual LvDisk /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s2
disk 0 0/0/0/0.1.0 sdisk CLAIMED DEVICE HP Virtual DVD /dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI Path Address In# State NamePPA ID Type Support Mjr# 0/0/1/0 0x22B62A23EA84 0 UP lan0 snap0 1 ETHER Yes 119 0/0/2/0 0xEAE524903DDF 1 UP lan1 snap1 2 ETHER Yes 119 0/0/4/0 0x56A10D2BCD89 2 UP lan2 snap2 3 ETHER Yes 119
hpvm in der Praxis (4)
#
hpvmconsole -P vm1
vMP MAIN MENU
CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection
[vm1] vMP>
16. Mai. 2006 www.decus.de 11
Performance
Host
# time dd if=/dev/zero of=/var/adm/crash/test bs=1024k count=1000 & 1000+0 records in 1000+0 records out real 18.2 user 0.0 sys 0.5 #ll
-rw-rw-rw- 1 root sys 1048576000 Nov 10 15:25 test
Guest:
real 28.3
user 0.0
sys 1.0
FTP from host to guest:
1048576000 bytes received in 39.55 seconds (25889.77 Kbytes/s)
16. Mai. 2006 www.decus.de 12
Performance of
Mass Storage Options
0
10
20
30
40
50
60
70
80
90
100
rand read
rand write
seq read
seq write
Disk
Lvol
File
Your mileage may will vary (file sizes,
record sizes, number of VMs, etc.)
For
Co
mp
aris
on
On
16. Mai. 2006 www.decus.de 13
Topic:
Managing VMs
How do you manage and monitor
Integrity Virtual Machines?
•
Command Line Interface
−Create, modify, delete VMs, console access, and VM status
•
Integrity VM Manager
(vmmgr)
−Visualize resources assigned to VMs
−Configuration management of VMs
•
Key features
−Graphical view of virtual to physical network & storage −VM configuration including create, modify CPU entitlements, delete, reset, stop, & boot −View all VMs in a host, including utilization information
−Available from HP-UX host System Management Homepage
16. Mai. 2006 www.decus.de 15
Integrity VM Manager
16. Mai. 2006 www.decus.de 16
16. Mai. 2006 www.decus.de 17
Integrity VM Manager – Creating a
VM
Integrity VM Manger – Network
Visualization
16. Mai. 2006 www.decus.de 19
Visualization
16. Mai. 2006 www.decus.de 20
Challenge: Enterprises have unused server
capacity yet still can’t meet demand
Most reports put average utilization at approx 30%
Tremendous
amount of
unutilized
capacity
Yet these
systems are
unable to
handle the
load
0
10
20
30
40
50
60
70
80
90
100
S
e
rv
e
r A
v
e
rag
e
U
tilizat
ion
Servers
Utilization at an actual HP customer
Storage Network Software Servers
16. Mai. 2006 www.decus.de 21
Easy portability of VMs for fast offline
deployment and migration
Host (Integrity VM + platform OS) OS
app1 app2
Host (Integrity VM + platform OS) OS app1 app2 VM with unique: • Kernel parameters • Patch levels • Layered software OS app1app2 VMs can be stopped on one server and then started up on another with no changes
Development system
(ex. rx2600-2)
QA system
(ex. rx8620-32)
Recommended setup• Symbolic links on each system to VM-accessed disks, physical disk shared between hosts
• NFS mount to same disk for storage of VM specific runtime info, such as EFI settings, kernel launch options, and IPMI events
• Movement within the same subnet so IP address can be maintained
What can run Where?
−
Host-level utilities and system management tools can be
run on the Integrity VM host. These include
•
Utility pricing: Instant Capacity, PPU
•
Monitoring: Diagnostics, Glance, SPIs/agents
•
High-availability software: Auto Port Aggregators, etc.
•
Workload Management: gWLM
•
Platform OS functions: PCI OL*, Cell OL* (when available)
−
Other, end-user applications cannot be run on the
Integrity VM host.
−
Virtual Machines run off-the-shelf operating systems
•
No special release OS required
•
No patches required
16. Mai. 2006 www.decus.de 23