48
Virtualization on your Desktop Presented by: Terry Edwards

Virtualization on your Desktop Presented by: Terry Edwards

Embed Size (px)

Citation preview

Virtualization on your Desktop

Presented by: Terry Edwards

Virtualization on your Desktop

Agenda

• Does your CPU support Virtualization?• Three Different Virtualization Products• Product Comparison• Other Useful Things to Know• Links

Hypervisors

• When we talk about Virtualization on your desktop we are taking about a “Hosted” hypervisor or a “Type 2” hypervisor not a “Bare-metal” or “Type 1” hypervisor which would run directly on the hardware.

• Hosted hypervisors require an existing operating system to be installed.

Does your CPU support Virtualization?

• Do you have a modern processor?• Intel “A processor with Intel VT does not

guarantee that virtualization works on your system”

• SLAT – Second Level Address Translation– Introduced around 2007– Intel Version is EPT– AMD Version is RVI

How do I check?

• Microsoft has a tool called “CoreInfo”

Does Not Support SLAT

Dell Latitude D630

Dell Vostro 1500

Virtualization Products

• Oracle VirtualBox• VMware Player 7• Microsoft Hyper-V Client

Oracle VirtualBox• Free for Individual use - Enterprise customers are

encouraged to purchase commercial licenses• 105 MB Download• Version 4.3.26 – Released 2015-03-16• Runs on Windows, Linux, Macintosh and Solaris• Virtual Disks files have a .VDI extension• Virtual machines can be easily imported and exported

using the Open Virtualization Format (OVF)• No hardware virtualization required: VirtualBox doesn’t

require the processor have Intel VT or AMD-V. It will run on older hardware

• They have pre-build virtual machines for developers– Oracle Linux, Solaris, MySQL

Oracle VirtualBox Con’t• Support Guest Additions:

– Shared folders, seamless windows, 3D virtualization (Video Acceleration).

• Hardware support: – Guest multiprocessing (SMP) – up to 32 virtual CPU’s to each

virtual machine– USB 2.0 device support – no device-specific drivers required– Full ACPI support – Power management– Multiscreen resolutions – allowing on resolution to be

spread over a large number of screens– Built-in iSCSI support – allows virtual machine direct access

to an iSCSI storage server without going through the host– PXE Network Boot - Preboot Execution Environment (PXE)

Oracle VirtualBox Con’t

• Multigeneration branching snapshots– Create different snap shot trees off the same vm.– Delete snapshots while VM is running

• VM group– Manage vm’s in a group, start, pause, reset, close, etc

• Remote machine display– does not rely on the RDP server that is built into windows;

instead, it is plugged directly into the virtualization layer

List of Support Hosts

• Windows hosts:– Windows 3.1, 95, 98, ME, NT 4, 2000– Windows XP, all service packs (32-bit)– Windows Server 2003 (32-bit)– Windows Vista (32-bit and 64-bit[1]).– Windows Server 2008 (32-bit and 64-bit)– Windows 7 (32-bit and 64-bit)– Windows 8 (32-bit and 64-bit)– Windows Server 2012 (64-bit)– Windows 10 (32-bit and 64-bit)

List of Support Hosts Con’t

• Mac OS X hosts:– 10.6 (Snow Leopard, 32-bit and 64-bit)– 10.7 (Lion, 32-bit and 64-bit)– 10.8 (Mountain Lion, 64-bit)– 10.9 (Mavericks, 64-bit)

List of Support Hosts Con’t• Linux hosts (32-bit and 64-bit[3]). Among others, this

includes:– 10.04 ("Lucid Lynx"), 10.10 ("Maverick Meerkat), 11.04

("Natty Narwhal"), 11.10 ("Oneiric Oncelot"), 12.04 ("Precise Pangolin"), 12.10 ("Quantal Quetzal"), 13.04 ("Raring Ringtail"), 13.10 ("Saucy Salamander")

– Debian GNU/Linux 6.0 ("squeeze") and 7.0 ("wheezy")– Oracle Enterprise Linux 5, Oracle Linux 6– Redhat Enterprise Linux 5 and 6– Fedora Core 6 to 19– Gentoo Linux– openSUSE 11.0, 11.1, 11.2, 11.3, 11.4, 12.1, 12.2– Mandriva 2010 and 2011

List of Support Hosts Con’t

• Solaris hosts (64-bit only) are supported with the restrictions– Solaris 11 including Solaris 11 Express– Solaris 10 (u8 and higher)

Demo – Oracle VirtualBox

VMware Player 7• Free for personal non-commercial use – VMware Player 7 Pro required for commercial use

• 75 MB Download• Version 7.1 – Released 2015-02-17• Runs on Windows, Linux, Macintosh and Solaris• Virtual Disks files have a .VMDK extension• You can only have one version of VMware player

installed at a time• Three different versions available

VMware Player 7 Con’t

• Different Versions– VMware Player 7• Create, Run and Evaluate different OS’s and software

– VMware Player 7 Pro• Allows you to run Restricted Virtual Machines• Can be transferred to partners or potential customers

– VMware Workstation 11• This is where you get the snapshots, cloning, remote

connections to vSphere, sharing VMs, create Restricted VM’s and advanced virtual machine settings• Allows Export to Open Virtualization Format (OVF)

VMware Player 7 Con’t

• Support for Windows 10 Technical Preview• Support for Restricted VMs– Prevents users from changing devices, memory, removable

devices, etc• Password require to make changes

• VMware Tools:– Print to Host, USB 3.0, Share Bluetooth, 3D virtualization

(Video Acceleration)– Unity Mode

List of Support Hosts• Windows hosts:

– Windows 10– Windows Server 2012 / 2012 R2– Windows 8 / 8.1– Windows Server 2008 / 2008 R2– Windows 7– Windows Vista– Windows Server 2003– Windows XP– Windows 2000– Windows NT 4.0– Windows ME– Windows 98– Windows 95– MS-DOS 6.22 and Windows 3.1x

List of Support Hosts Con’t

• Mac OS X hosts:– OS X 10.10– OS X 10.9– OS X 10.8– OS X 10.7– Mac OS X Server 10.6– Mac OS X Server 10.5

List of Support Hosts Con’t• Linux hosts:– Asianux Server– CentOS– Debian– Fedora– Mandrake– Mandiva– Novell– openSUSE– Oracle Linux

• Linux hosts:– Red Hat Enterprise– Red Hat– Sun Java Desktop

System– SUSE Linux

Enterprise– SUSE Linux– Turbolinux– Ubuntu

List of Support Hosts Con’t

• Solaris hosts:– Solaris 11– Solaris 10– Solaris 9– Solaris 8

List of Support Hosts Con’t

• Other hosts:– eComStation– FreeBSD– IBM OS/2– Netware– SCO

Demo –VMware Player 7

Microsoft Hyper-V Client• Free for Individual use if you are Running Windows 8

Pro or Enterprise– You must be running Pro or Enterprise. It’s not even an

option to install on the Base version of Windows 8– The upgrade from the base version to the Windows 8.1 Pro

Pack is $139 CDN• Available through Windows Update• CPU must support Virtualization (Intel VT or AMD-V) as

well as Second Level Address Translation (SLAT)• Does not support Mac OS X hosts

– Saw a couple of posts where people tried but were unsuccessful

Microsoft Hyper-V Client Con’t

Microsoft Hyper-V Client Con’t• Virtual Disks files have a .VHD or .VHDX extensions– VHD • is limited to 2TB• Easy to convert to VHDX through the “Edit Virtual Hard

Disk” wizard– VHDX • have a 64 TB capacity• 4 KB logical sector size that improves performance• Protects against file corruption by keeping track of

metadata• Will not work on Windows Server 2008

• Supporting passing through directly to disk

Microsoft Hyper-V Client Con’t• Support Guest Additions:– Full multimedia support, Share clipboard and files, USB

• What isn’t supported?– Live migration of virtual machines from one host to

another– Hyper-V Replica– Virtual Fibre Channel– 32-bit SR-IOV networking– Shared .VHDX– Guest don’t automatically move between wired to wireless

connections

List of Support Hosts• Windows hosts:– Windows Server 2012– Windows Home Server 2011– Windows Server 2008 R2 SP1– Windows Server 2008 SP2– Windows Server 2003 SP2– Windows Server 2003 R2– Windows 2000 Server SP4– Windows 7– Windows Vista– Windows XP SP2-SP3– Windows XP x64 SP2

List of Support Hosts Con’t• Linux hosts:– CentOS– Debian– Oracle Linux– Red Hat Enterprise– SUSE Linux Enterprise– Ubuntu

Demo – Microsoft Hyper-V Client

Comparison• Oracle VirtualBox– Portability and Cross-platform capabilities that allow it to

function seamlessly on Windows, MAC OS X, Solaris and Linux

– Built-in snapshots, Clone Virtual machine and OVA (Open Virtualization Archive)

• VMware Player 7– Listed as “the most efficient way to run Windows XP on

new OS’s like Windows 7 and Windows 8”– Larger list of supported Guest OS’s– USB 3– Snapshots not available in free version

Comparison Con’t• Microsoft Hyper-V Client– Manages the RAM of your Virtual Machines dynamically

using SLAT– Built-in snapshots– Only runs on Windows 8 Pro or higher– PowerShell integration

• Run PowerShell commands on the Host that affect the Guest

Other Useful things to know

• Converting vhdx to vhd or vhd to vhdx with PowerShell– Convert-VHD– PS C:\> Convert-VHD –Path c:\test\testvhd.vhd –

DestinationPath c:\test\testvhdx.vhdx

• Copy files into a VM with PowerShell– Copy-VMFile– PS C:\> Copy-VMFile "Test VM" -SourcePath "D:\Test.txt" -

DestinationPath "C:\Temp\Test.txt" -CreateFullPath -FileSource Host

Which One is the Best?

It depends…

Oracle VirtualBox Links

• Main Site - https://www.virtualbox.org/• Manual -

https://www.virtualbox.org/manual/ch01.html• Pre-Built Developer VM’s -

http://www.oracle.com/technetwork/community/developer-vm/index.html

• Pre-Build OS VM’s - http://www.osboxes.org/vmware-images/

VMware Player 7 Links

• Download - https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0

• Version Compare - http://www.vmware.com/ca/en/products/player/compare.html#player7

• Pre-Build OS VM’s - http://www.osboxes.org/vmware-images/

• Virtual Application Marketplace - https://solutionexchange.vmware.com/store/category_groups/19

Questions

My Sites

• WWITPRO: www.meetup.com/WWITPRO• LinkedIn Group: https://

www.linkedin.com/groups/WWITPRO-4375833• LinkedIn: ca.linkedin.com/in/terryedwards519/• Cooking Blog: www.terryedwards.ca• Email: [email protected]