Integrity Virtual Machines Technical Overview Jörg Brand Support Zentrum Ratingen 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Agenda What is Integrity VM? Network-Configuation IO Configuration Performance Issues 16. Mai. 2006 www.decus.de 2 www.decus.de 1
HP Partitioning Continuum for HP-UX Integrity Virtual 11i - today Machines Hard partitions with multiple nodes Clusters Complete hardware and software isolation Node granularity Multiple images Isolation highest degree of separation Hard partitions within a node npartitions Hardware isolation per cell Complete software isolation Cell granularity Multiple images Virtual partitions within a hard partition Virtual partitions Complete software isolation Dynamic CPU migration Sub-socket granularity (PA- 8800) Multiple images PRM with psets resource partitions w/in a single image PRM Process Resource Manager Dynamic resource allocation Share (%) granularity 1 image Flexibility highest degree of dynamic capabilities 16. Mai. 2006 www.decus.de 3 HP Integrity Virtual Machines optimum utilization across multiple app1 app3 app5 (Windows) Hardware app2 app4 app6 app1 app3 app2 app4 (HP-UX 11i v2) app1 app3 Host (Integrity VM + platform ) Memory HP-UX 11i v2 guests 2H 2005 app2 app4 (Linux) I/O 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 fault and security isolation Supports all (current and future) HP Integrity servers Designed for multi HP-UX 11i in first release, Win2003 Server in 2H 2006 Linux: 2007 16. Mai. 2006 www.decus.de 4 www.decus.de 2
Dynamic I/O sharing networking Virtual Machine 1 app1 Virtual Machine 2 app1 app2 Virtual Machine 3 app1 app2 Virtual machine s I/O packets directed to I/O cards by the Integrity VM Host Virtual Switch NIC 1 Virtual Switch Host (Integrity VM + platform ) Virtual Switch NIC 2 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 16. Mai. 2006 www.decus.de 5 I/O virtualization Virtual Machine 1 Virtual Machine 2 Virtual Machine 3 app1 app1 app2 app1 app2 DVD virtualized on host by Physical DVD File Disk virtualized on host by Physical disk File Logical Volume SAN (LUN) Host (Integrity VM + platform ) SAN 16. Mai. 2006 www.decus.de 6 www.decus.de 3
hpvm in der Praxis # 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 # hpvmstatus [Virtual Machines] Virtual Machine Name VM # Type State # vcpus # Devs # Nets Memory ==================== ===== ======= ======== ======= ====== ====== =========== vm1 2 HPUX On 2 2 3 1 GB vm2 3 HPUX Off 2 1 2 1 GB 16. Mai. 2006 www.decus.de 7 hpvm in der Praxis (2) # hpvmstatus -P vm1 [Virtual Machine Details] Virtual Machine Name VM # 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 8 www.decus.de 4
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 16. Mai. 2006 www.decus.de 9 hpvm in der Praxis (4) # hpvmconsole -P vm1 vmp MAIN MENU [vm1] vmp> CO: Console CM: Command Menu CL: Console Log SL: Show Event Logs VM: Virtual Machine Menu HE: Main Help Menu X: Exit Connection 16. Mai. 2006 www.decus.de 10 www.decus.de 5
Performance Host Guest: # 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 real 28.3 user 0.0 sys 1.0 #ll -rw-rw-rw- 1 root sys 1048576000 Nov 10 15:25 test FTP from host to guest: 1048576000 bytes received in 39.55 seconds (25889.77 Kbytes/s) 16. Mai. 2006 www.decus.de 11 Performance of Mass Storage Options 100 Your mileage may will vary (file sizes, record sizes, number of VMs, etc.) 90 80 70 60 50 40 30 20 10 For Comparison Only Disk Lvol File 0 rand read rand write seq read seq write 16. Mai. 2006 www.decus.de 12 www.decus.de 6
Topic: Managing VMs 16. Mai. 2006 www.decus.de 13 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 16. Mai. 2006 www.decus.de 14 www.decus.de 7
Integrity VM Manager 16. Mai. 2006 www.decus.de 15 Integrity VM Manager - Monitoring 16. Mai. 2006 www.decus.de 16 www.decus.de 8
Integrity VM Manager Creating a VM 16. Mai. 2006 www.decus.de 17 Integrity VM Manger Network Visualization 16. Mai. 2006 www.decus.de 18 www.decus.de 9
Integrity VM Manager Storage Visualization 16. Mai. 2006 www.decus.de 19 Servers Storage Network Software Challenge: Enterprises have unused server capacity yet still can t meet demand Tremendous amount of unutilized capacity Server Average Utilization 100 90 80 70 60 50 40 30 20 10 0 Utilization at an actual HP customer Servers Most reports put average utilization at approx 30% Yet these systems are unable to handle the load 16. Mai. 2006 www.decus.de 20 www.decus.de 10
Easy portability of VMs for fast offline deployment and migration app1 app2 VM with unique: Kernel parameters Patch levels Layered software VMs can be stopped on one server and then started up on another with no changes app1 app2 Host (Integrity VM + platform ) app1app2 Host (Integrity VM + platform ) 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 21 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 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 required No patches required Guest Toolkit may be installed providing VM utilities 16. Mai. 2006 www.decus.de 22 www.decus.de 11
Q & A 16. Mai. 2006 www.decus.de 23 www.decus.de 12