Oracle VM VirtualBox: The Best Tool I Ever Used

  • 2,840 views
Uploaded on

Oracle VM VirtualBox provides high performance, support for numerous virtual appliances available in the Open Virtualization Format (OVF), multiplatform application development and testing, 2-D/3-D …

Oracle VM VirtualBox provides high performance, support for numerous virtual appliances available in the Open Virtualization Format (OVF), multiplatform application development and testing, 2-D/3-D graphics acceleration, and cutting-edge features—including the ability to teleport a running virtual machine between hosts. Oracle VM VirtualBox is a useful tool for developers who need to port code across different operating environments. Because Oracle VM VirtualBox enables hosting of multiple guest operating systems on a single machine, a developer can easily switch operating systems in no time, simply by changing between different desktop windows. In this session, you will understand why it will be your favorite tool as well.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,840
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
93
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 2. Oracle VM VirtualBox:The Best Tool I Ever UsedAndy HallDirector of Product Management2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 3. Oracle VM VirtualBox Cross-platform Virtualization Software • For Windows, Linux, Solaris and Guest Platforms Mac Hosts Oracle VM VirtualBox • Leverage existing hardware and Host Platforms skillsets • Huge Guest Coverage x86 Hardware • Easy to install and use • Fast and powerful • Free for Personal Use3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 4. Oracle VM VirtualBox Cross-platform Virtualization Software New in 4.24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 5. Performance High Performance Virtual Hardware • Processor: 1-32 vCPUs per guest; 32-bit and 64-bit guests; PAE support; with or without VT-x/AMD-V (EPT/Nested Paging, VPID supported) • RAM: up to 1TB per guest • Storage: SATA, SAS, SCSI or IDE controllers; >100 disks; integrated iSCSI initiator • Network: up to 36 NICs per guest; Intel gigabit; virt-io; PCnet • Virtual USB Controller: USB 1.1 and 2.0; pass-through and virtual devices • Audio: Intel High Definition Audio • Full ACPI Support: guests show real power status • Virtual CD/DVD: pass-through for CD/DVD writing, multiple concurrent • Display Adaptor: multi-monitor capable with graphics acceleration: OpenGL for Windows, Linux, Solaris Guests; Direct3D for Windows; 2D Video acceleration, built-in RDP Server5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 6. Introductory Demo6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 7. Demo  Creating a new client vm  Suspend and resume Guest Platforms Oracle VM VirtualBox  Display modes  Copy and paste Host Platforms  USB x86 Hardware  Shared folders  Command Line Interface7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 8. Architecture VirtualBox Manager Command line interface Web Services API VirtualBox API layer language neutral programming interface Resource Teleportation VRDP Server UserPortability Mode Monitor Virtual Layer Devices cross platform VirtualBox Hypervisor binary compatible abstraction Windows, Linux, OS X, Solaris, FreeBSD interface, 3rd Party plug-in layer Kernel Mode• Web Service interfaces • Command line interface VBoxManage• COM/XPCOM interfaces • Pluggable Virtual Device architecture and APIs• Python interfaces and interactive shell8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 9. VirtualBox Front-ends Command Line Interface • Powerful command line tools # VBoxManage … • Python shell # python vboxshell.py9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 10. Oracle VM VirtualBox Manager New in 4.2 Organize – VM groups to manage and control guests collectively – Nested groups – Enter/Leave group contexts Create – “Express” mode guest creation – New Guest types Start – Launch groups – Launch headless Stop – Stop vm or groups using Shutdown, Suspend, Poweroff 10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 11. Host-Guest Interoperability New in 4.2 Shared clipboard – Controllable copy and paste – Backwards compatible Drag and Drop – Linux guests only (as yet) Extended Guest Control commands – Files commands Copy from/to, Create directory, Stat – Execution – Update Guest Additions 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 12. Autostart New in 4.2 Using guests to deliver services Guest Platforms Oracle VM VirtualBox Uses host’s native service mechanism – Linux - /etc/init – Solaris – SMF framework Host Platforms – Mac - Launchd x86 Hardware 12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 13. The Server in your Lap The IT Pro“I need to be able to work anywhereand anytime. Id love to carry myentire work environment with meeverywhere.”13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 14. VirtualBox NAT Networking Zero Guest Configuration • Guests sit on own private LAN • VirtualBox acts as a DHCP Server • VirtualBox NAT engine translates en0: 129.156.4.212 addresses Built-in DHCP server for guests Gateway: 10.0.2.2 Host Platform • Destination servers see traffic originating from VirtualBox host vm1: 10.0.2.15 vm2: 10.0.2.15 vm3: 10.0.2.15 • No configuration needed on Host or Guest Guest Platform Guest Platform Guest Platform • Great when guests are clients • Not good for guests as servers14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 15. VirtualBox Bridged Networking Guests are Full Network Citizens • VirtualBox bridges to Host Network • Good for clients or server guests • Consumes IP addresses • May involve configuration of guest • Best for production environments vm1: 129.156.4.10 vm2: 129.156.4.11 vm3: 129.156.4.12 en0: 129.156.4.212 Guest Platform Guest Platform Guest Platform Host Platform15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 16. VirtualBox Internal Networking Totally Isolated Network • Guests can see other guests on same internal network • Host cannot see internal network • Network configuration needed en0: 129.156.4.212 Host Platform • Functions even when Host disconnected. VBoxNet0 vm1: 10.0.2.1 vm2: 10.0.2.2 vm3: 10.0.2.3 • Can be used in conjunction with Bridged • Good for multi-tier solutions Guest Platform Guest Platform Guest Platform16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 17. VirtualBox Host-only Networking Convenient Internal Networking • VirtualBox creates a private internal network for guests and host • Host sees a new software NIC en0: 129.156.4.212Built-in DHCP server for guests • VirtualBox provides a DHCPen0: 192.168.56.1 server VBoxNet0 • Guests cannot see outside world vm1: 192.168.56.101 vm2: 192.168.56.102 vm3: 192.168.56.103 • Guests function even when host disconnected Guest Platform Guest Platform Guest Platform • Great for development17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 18. VirtualBox Port Forwarding with NAT For Mobile Server-based Guests  Guests connect out via NAT as usual  Clients on the network can connect to host:port and be mapped to a guest:port en0: 129.156.4.212 Built-in DHCP server for guests  No guest reconfiguration required Gateway: 10.0.2.2 Host Platform when host moves across networks vm1: 10.0.2.15 vm2: 10.0.2.15 vm3: 10.0.2.15 Guest Platform Guest Platform Guest Platform18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 19. Networking Demo19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 20. A Server in your Lap Demo • Networking modes – NAT (client) Guest Platforms – Bridged (full network citizen) Oracle VM VirtualBox – Internal Host Platforms – Host-only networking – Port-forwarding x86 Hardware • 32-bit or 64-bit Servers • SMP Servers • Headless-mode Servers20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 21. Improved Networking Scale – Up to 36 virtual NICs using ICH9 chipset Network I/O Bandwidth Throttle – VBoxManage bandwidthctl "VM name" add Limit - en0: 129.156.4.212 -type network --limit 20m Built-in DHCP server for guests Gateway: 10.0.2.2 Host Platform – VBoxManage modifyvm "VM name" -- nicbandwidthgroup1 Limit VLAN support with E1000 vm1: 10.0.2.15 vm2: 10.0.2.15 vm3: 10.0.2.15 Guest Platform Guest Platform Guest Platform 21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 22. Fear-free Development Developer/System Architect“You never know when a change in theenvironment or stack is going to biteyou. You can sometimes spend somuch time diagnosing what changed.”22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 23. Snapshots Testing – Create a snapshot – Modify guest (e.g. patches, install apps, etc.) – Revert back to initial state Branching – Use different software levels of the guest (e.g. IE5, IE6, IE7, ...) Backup – Revert to a pristine base (e.g. viruses, ...)23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 24. Snapshots How Snapshots work24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 25. Cloning Exact copy of VM either as full copy or in some linked way  Use cases: – Backup: create a full copy of an existing VM to have a backup – Branching/Testing: like Snapshots – Template: allow to create several VMs (which could than be modified) from one base state – Replication: the same VM could be started more than once after cloning (e.g. clusters, grids) Virtual Machine A Clone of Virtual Machine Copy of VM VM Configuration Configuration Copy of Virtual Virtual Disks and Disks and Snapshots Snapshots25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 26. Clones Duplicate Virtual Machines  Full Clones Virtual Machine A Clone of Virtual Machine – Full copy Copy of VM VM Configuration Configuration – Disk UUIDs automatically made unique Copy of Virtual – Optionally MAC addresses made unique Virtual Disks and Disks and Snapshots Snapshots – VirtualBox Manager and CLI  Linked clones Virtual Machine A Clone of – VM config is copied Virtual Machine – A snapshot is taken at source VM Configuration Copy of VM Configuration – The clone uses a child differencing disk Virtual Disks and Differencing disk with source snapshot as parent Snapshots26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 27. Snapshots and Clones Demo27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 28. Snapshot and Cloning Demo Summary  Snapshots – How to take a snapshot – Reverting to a snapshot – Deleting a snapshot  Clones – Full and Linked28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 29. Team working Team members“I work with some great guys who aresuper-smart.I wish we could clone them somehow, orbe able to use them and their outputmore intelligently.” 29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 30. Collaborative Working Client-side or Server-side StorageServer Virtual Disk Virtual Disk Virtual Disk Virtual Disk (ubuntu 9) (ubuntu 10) (Windows 7) (Windows XP) iSCSI or Virtual Disk Shared filesystemsClient VirtualBox VirtualBox (NFS, VirtualBox SMB, etc)30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 31. VirtualBox Remote Display Built-in access to virtual machine console  High performance Remote Display Server Guest Guest Guest Guest  Microsoft RDP compatible Hypervisor  Sits “beneath” guests VRDP Server  No RDP requirement on guest  Delivers boot-time display of VM consoles  Companion Flash RDP client Standalone Browser-based RDP Client Flash RDP (e.g. Microsoft RDC, rDesktop) Client31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 32. Collaborative Working Remote Access to Virtual Machines VM VirtualBox RDP VRDP ServerClient RDP client32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 33. Collaborative Working Remote Access to Virtual MachinesServer VM VM VM VM VM VirtualBox RDPClient ...33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 34. Remote Access Demo34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 35. Oracle Virtualization The Full Stack, End-to-End DATA CENTER Software Delivery Cloud BROWSER Virtualization Oracle Desktop Siebel Oracle Secure Global Desktop Oracle Application Stack CRM VM VM Enterprise VMs USERS VM Manager Siebel Contact Center VM VM VM 12c Oracle VM Servers THIN CLIENTS Network Oracle Sun Ray Clients Oracle VM Servers Servers Servers Storage Storage Templates PCs, MACs, & MOBILE Assemblies DEVICES Oracle Virtual Desktop Client Server Virtualization Network Virtualization Desktop Virtualization • Oracle VM Server for x86 • Oracle Xsigo Data Center Fabric • Oracle Virtual Desktop • Oracle VM Server for SPARC Infrastructure (LDoms) • Sun Ray Clients • Oracle Secure Global Desktop • Oracle VM VirtualBox35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 36. Enterprise Desktop use of VirtualBox Other sessions  “Bring Your Own Device for Enterprise Application Access in 2012 and Beyond” – Tuesday, October 2nd. 1:15 PM - Moscone South – 270  “The Desktop Cloud: Simplified, Reliable, and Secure Access to Oracle Applications” – Tuesday, October 2nd. 5:00 PM - Moscone South – 25236 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 37. New Deployment ApproachesVirtual Appliances or VM Templates “So often problems are introduced by people not deploying our stuff correctly. But we cant ship a human being with every copy of the software.” 37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 38. Virtual Appliances Built-in Support for OVF Templates or Appliances  Export and Import of VMs – Industry Standard “Open Virtualization Format” – Easy to use wizard – Command-line interface38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 39. Virtual Appliances Downloadable appliances  Enterprise Java Development  Database App Development  Oracle VM Manager & Server VMs  Solaris 11 Admin VM  Sun ZFS Storage Appliance Simulator  Oracle Tuxedo Web Application Server Demo  Oracle Business Intelligence SampleAppV207  SOA & BPM Development VM  Enterprise PHP Development VM39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 40. Virtual Appliance Demo40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 41. Desktop Virtualization Product Demonstrations DEMOgrounds  Oracle Virtual Desktop Infrastructure and Sun Ray Clients Moscone South, Center S- 139  Oracle Secure Global Desktop Moscone South, Center S- 140  Oracle VM VirtualBox Moscone South, Center S- 17441 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 42. Learn More: Oracle Desktop Virtualization  Home Page oracle.com/virtualization www.virtualbox.org  Blog blogs.oracle.com/virtualization blogs.oracle.com/fatbloke  Download oracle.com/technetwork/server- storage/virtualbox/downloads/index.ht ml virtualbox.org/wiki/Downloads42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 43. Join the conversation @ORCL_Virtualize @VirtualBox facebook.com/OracleVirtualization facebook.com/OracleVMVirtualBox youtube.com/OracleVirtualization youtube.com/user/TheFatBloke00743 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 44. Questions?44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 45. 45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 46. 46 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.