This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
•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
[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
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