Integrity Virtual Machines Technical Overview - … Integrity Virtual Machines ... guest-to-guest...
Transcript of Integrity Virtual Machines Technical Overview - … Integrity Virtual Machines ... guest-to-guest...
HP IT-Symposium 2006
www.decus.de 1
© 2006 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice
Integrity Virtual MachinesTechnical Overview
Jörg BrandSupport Zentrum Ratingen
16. Mai. 2006 www.decus.de 2
Agenda
− What is Integrity VM?− Network-Configuation− IO – Configuration− Performance Issues
HP IT-Symposium 2006
www.decus.de 2
16. Mai. 2006 www.decus.de 3
Isolationhighest degree of separation
Flexibilityhighest degree of dynamic capabilities
Hard partitions with multiple nodes
Hard partitions within a node
Virtual partitions within a hard partition
nPartitions
PRM with psetsresource partitions w/in
a single OS image
HP Partitioning Continuum for HP-UX 11i - today
“Integrity Virtual Machines”
PRMProcess Resource
Manager
Virtual partitionsClusters 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 4
HP Integrity Virtual Machinesoptimum 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 2006Linux: 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
MemoryHardware
Host (Integrity VM + platform OS)
HP-UX 11i v2 guests2H 2005
HP IT-Symposium 2006
www.decus.de 3
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 SwitchNIC 1
Virtual Machine 2
app1 app2
OS
Virtual Machine 3
OS
app1 app2
Virtual Machine 1
OS
app1
Virtual Switch Virtual SwitchNIC 2
16. Mai. 2006 www.decus.de 6
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)
HP IT-Symposium 2006
www.decus.de 4
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 GBvm2 3 HPUX Off 2 1 2 1 GB
# hpvmnetName Number State Mode PPA MAC Address IP Address======== ====== ======= ========= ====== ============== ===============localnet 1 Up Shared N/A N/Aswitch0 2 Up Shared lan0 0x000f202bf21d 15.140.9.186switch1 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 PhysicalDevice Adaptor Bus Dev Ftn Tgt Lun Storage Device====== ========== === === === === === ========= =========================disk scsi 0 0 0 0 0 lv /dev/vg00/rvm1dvd 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-84vswitch lan switch0 0 2 0 ea-e5-24-90-3d-dfvswitch lan switch1 0 4 0 56-a1-0d-2b-cd-89
HP IT-Symposium 2006
www.decus.de 5
16. Mai. 2006 www.decus.de 9
hpvm in der Praxis (3)# modelia64 hp server Integrity Virtual Machine
# ioscan -fknCdiskClass 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
# lanscanHardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPIPath Address In# State NamePPA ID Type Support Mjr#0/0/1/0 0x22B62A23EA84 0 UP lan0 snap0 1 ETHER Yes 1190/0/2/0 0xEAE524903DDF 1 UP lan1 snap1 2 ETHER Yes 1190/0/4/0 0x56A10D2BCD89 2 UP lan2 snap2 3 ETHER Yes 119
16. Mai. 2006 www.decus.de 10
hpvm in der Praxis (4)
# hpvmconsole -P vm1
vMP MAIN MENU
CO: ConsoleCM: Command MenuCL: Console LogSL: Show Event LogsVM: Virtual Machine MenuHE: Main Help MenuX: Exit Connection
[vm1] vMP>
HP IT-Symposium 2006
www.decus.de 6
16. Mai. 2006 www.decus.de 11
PerformanceHost
# time dd if=/dev/zero of=/var/adm/crash/test bs=1024k count=1000 &1000+0 records in1000+0 records out
real 18.2user 0.0sys 0.5
#ll-rw-rw-rw- 1 root sys 1048576000 Nov 10 15:25 test
Guest:
real 28.3user 0.0sys 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
DiskLvolFile
Your mileage may will vary (file sizes, record sizes, number of VMs, etc.)
For Comparison Only
HP IT-Symposium 2006
www.decus.de 7
16. Mai. 2006 www.decus.de 13
Topic:
Managing VMs
16. Mai. 2006 www.decus.de 14
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 & seamless integration with VSE manager
HP IT-Symposium 2006
www.decus.de 8
16. Mai. 2006 www.decus.de 15
Integrity VM Manager
16. Mai. 2006 www.decus.de 16
Integrity VM Manager - Monitoring
HP IT-Symposium 2006
www.decus.de 9
16. Mai. 2006 www.decus.de 17
Integrity VM Manager – Creating a VM
16. Mai. 2006 www.decus.de 18
Integrity VM Manger – Network Visualization
HP IT-Symposium 2006
www.decus.de 10
16. Mai. 2006 www.decus.de 19
Integrity VM Manager – Storage 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
0102030405060708090
100
Serv
er A
vera
ge U
tiliz
atio
n
Servers
Utilization at an actual HP customer
Storage
Network Software
Servers
HP IT-Symposium 2006
www.decus.de 11
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
OSapp1app2
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
16. Mai. 2006 www.decus.de 22
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• Guest Toolkit may be installed providing VM utilities