© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice OpenVMS Guests Under HPVM Barry Kierstein Availability Manager Project Leader OpenVMS System Management Group Content contributed by Lars Sundqvist Business Critical Systems
April 12, Agenda What is virtualization? What is HPVM? Configuring and starting an OpenVMS Guest
April 12, Virtualization in General Virtual machines run in software that emulates computer hardware −Host machine – hardware running the virtual machine software −Host operating system – operating system running the virtual machine software −Hypervisor – slimmed down host operating system that virtualizes the physical hardware −Guest system – operating system Examples of Virtual Machines −Simh, Charron VAX for VAX hardware −Personal Alpha for Alpha hardware −Virtual PC, Boot camp, VMWare, Hyper-V for x86/x64 hardware, HPVM for Itanium hardware
April 12, Virtualization in General Advantages of virtual machines −Run operating systems where the physical hardware is unavailable −Easier to create new machines, backup machines, etc. −Software testing using “clean” installs of operating systems and software −Emulate more machines than are physically available −Timeshare lightly loaded systems on one host −Debug problems (suspend and resume the problem machine) −Easy migration of virtual machines (shutdown needed or not)
April 12, HPVM history Started with 1 engineer in 2000 Added 2 engineers in 2002 Team organized in end of 2003 November 2005 – first boot of OpenVMS as a guest HP goal - allow HPVM guests to migrate from one host to another without rebooting
April 12, What is Integrity VM? VM 3 VM 2 Virtual Machine (VM) 1 I/O Memory Hardware Integrity VM Host Windows guest OSLinux guest OS OpenVMS guest OS app1app2app1 Terms and Acronyms: VM Host or Host VM Guest OS Guest Physical Node: a single server or nPar
April 12, 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 Resource guarantees as high as 100% of 4 CPU’s OS fault and security isolation Supports all (current and future) HP Integrity servers Designed for multi OS −HP-UX 11i v2/v3 guests −Windows 2003 guests −Linux guests −OpenVMS guests in future Integrated with VSE HP Integrity Virtual Machines Optimum utilization across multiple OS HP-UX 11i v3 app1app2 VM Host Memory Hardware I/O Windows app1 Linux (Suse) HP-UX 11i v2 app1app2 app1 Linux (Redhat)OpenVMS app1
April 12, Dynamic I/O and Network Sharing Host (Integrity VM + platform OS) Virtual server’s I/O packets directed to I/O cards by the Platform Manager Virtual Server 1 Virtual Server 2Virtual Server 3 I/O card can be dedicated to a virtual machine for performance isolation
April 12, Dynamic I/O and Network Sharing Host (Integrity VM + platform OS) Virtual machine’s network packets directed to physical NIC by the Integrity VM Host NIC can be isolated to a virtual machine Virtual Machine 2 app1app2 OS Virtual Machine 3 Virtual Machine 1 OS app1 Virtual NIC may be defined without a logical port for guest-to-guest communication Virtual Switch OS app1 app2 Logical port – either physical (lan) port, or APA port
April 12, I/O Virtualization and Integrity VM Host (Integrity VM + platform OS) SAN DVD virtualized on host by: -Physical DVD -File Disk virtualized on host by: - Physical disk - File - Logical volume - SAN
April 12, ServiceGuard – clustering in the host Host A Host B VM host (SG node) VM host (SG node) OpenVMS guest
April 12, HP-UX 11i v3 host AVIO for “other” guests OpenVMS guest On-Line guest migration More and bigger Enhanced performance Integrity VM futures, sooner or later
April 12, Configuring an OpenVMS Guest Configuring by Virtual Machine Manager - an HP SIM plug-in Configuring by HP-UX commands
April 12,
April 12, HPVM OpenVMS Guest Creation
April 12, HPVM Hands-on - Overview HP-UX system setup −HP-UX 11i v3 on BL860c Blade −HPVM V4 BL6 −OpenVMS V8.4 development
April 12, HPVM Hands-on - Overview HP-UX system setup −HP-UX 11i v3 on BL860c Blade −HPVM V4 BL6 −OpenVMS V8.4 development
April 12, HPVM Hands-on - Overview HP-UX system setup −HP-UX 11i v3 on BL860c Blade −HPVM V4 BL6 −OpenVMS V8.4 development
April 12, HPVM Hands-on - Overview HP-UX system setup −HP-UX 11i v3 on BL860c Blade −HPVM V4 BL6 −OpenVMS V8.4 development
April 12, HPVM Hands-on - Overview HP-UX system setup −HP-UX 11i v3 on BL860c Blade −HPVM V4 BL6 −OpenVMS V8.4 development
April 12, HPVM Hands-on - Overview HP-UX system setup −HP-UX 11i v3 on BL860c Blade −HPVM V4 BL6 −OpenVMS V8.4 development
April 12, HPVM Hands-on - Overview HP-UX system setup −HP-UX 11i v3 on BL860c Blade −HPVM V4 BL6 −OpenVMS V8.4 development
April 12, Configuring an OpenVMS Guest by HP-UX commands Log onto root / alphabits Create directory /var/openvms_guests −mkdir /var/openvms_guests Create a virtual disk (4GB) −hpvmdevmgmt -S 4000M \ /var/openvms_guests/disk1
April 12, Configuring an OpenVMS Guest by HP-UX commands Set up an account for the console (optional) −useradd -d /var/opt/hpvm/guests/vms \ − -c ‘VMS console' \ − -s /opt/hpvm/bin/hpvmconsole vmsmp −passwd vmsmp
April 12, Configuring an OpenVMS Guest by HP-UX commands Set up the virtual switch −Lanscan Find LAN adapter to use −hpvmnet -c -S vswitch0 -n 0 Create switch −hpvmnet -b -S vswitch0 Start switch −Hpvmnet See status
April 12, Configuring an OpenVMS Guest by HP-UX commands Create the virtual machine −hpvmcreate -P vms -c 1 -r 800m -e 50 -O openvms \ − -u vmsmp \ − -a network:lan::vswitch:localnet \ − -a network:lan:vswitch:vswitch0:portid:1 \ − -a disk:scsi::file:/var/openvms_guests/disk1 \ − -a disk:scsi::file:/usr/OpenVMS/jedi_bl1- i64xbsx.iso −hpvmstatus
April 12, Configuring an OpenVMS Guest by HP-UX commands Start the virtual machine −hpvmstart -P vms Connect to the console −hpvmconsole -P vms
April 12, Configuring an OpenVMS Guest by HP-UX commands Additional commands −Stop the virtual machine hpvmstop -P vms −Remove the virtual machine hpvmremove -P vms −Delete the virtual switch hpvmnet -S vswitch0 -h hpvmnet -S vswitch0 -d −Escape to the virtual MP Ctrl/X instead of Ctrl/B
April 12, OpenVMS Contacts (Our manager)