Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V...
-
Upload
emory-west -
Category
Documents
-
view
214 -
download
2
Transcript of Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V...
Spark the future.
Alessandro Cardoso, Microsoft MVP
Creating your own “Private Cloud” with Windows 10 Hyper-V
WIN443
A little intro to Hyper-V
What Hyper-V enables you to do
Hyper-V enables running virtualized computer systems on top of a physical machine *.
Virtualized systems can be used and managed just as if they were physical computer systems
Virtualization enables quick deployment of computer systems
Windows 10
Virtual Machines
NEW: you can now have nested virtualization with Windows 10
Common scenarios• A test environment consisting of multiple
virtual machines of multiple operating systems.
• You can use Hyper-V to troubleshoot virtual machines from any Hyper-V deployment.
• Using virtual networking, you can create a multi-machine environment on a laptop for demonstrating older versions of Windows or non-Windows operating systems
Windows 10
Virtual Machines
Checking if your computer have the pre-requisites
First, let check the Software side…
Make sure you have the supported version of Windows 10: • Windows 10 Enterprise
• Windows 10 Professional• Windows 10 Education
And then Hardware…
Checking Hardware Compatibility• 64-bit Processor with SLAT.• CPU support for VM Monitor Mode Extension
(VT-c on Intel CPU's).
It is recommended a minimum of 4 GB memory
Checking Hardware Compatibility
If you run systeminfo.exe on an existing Hyper-V host
On the command prompt, type systeminfo.exe
Enabling BIOSBoot your computer and go to BIOS setup to enable both Virtualization Technology and Data Execution Prevention
Installing Hyper-V
Install Hyper-V
Go to Control Panel → Programs → Turn Windows features on or off, check Hyper-V
Demo: Let’s get hands onInstalling Hyper-VAlessandro Cardoso
Hyper-V Manager
Hyper-V Manager
External – if a virtual machine needs to get access to a physical network directly.Internal – if no need to get access to physical network. however network connectivity exists between virtual machines and Hyper-V host.Private – if a virtual machine only runs on this host and connectivity does not exist between virtual machines and Hyper-V host.
Networking
You may want to create a virtual switch for both the wired and wireless network cards.
With this configuration you can change your virtual machines between theses switches dependent on how the laptop is network connected.
Virtual Switches and Laptops
Creating Virtual Switches
Demo: Let’s get hands onNetworkingAlessandro Cardoso
Supported Guest OS
Supported Windows GuestsGuest operating system Max
VP Notes
Windows 10 32
Windows 8/ 8.1 32
Windows 7 / SP1 4 Ultimate, Enterprise, and Professional editions (32-bit and 64-bit).
Windows Vista SP2 2 Business, Enterprise, and Ultimate, including N and KN editions.
Windows Server 2012 / R2 64
Windows Server 2008 R2 SP 1 64 Datacenter, Enterprise, Standard and Web editions.
Windows Server 2008 SP 2 4 Datacenter, Enterprise, Standard and Web editions (32-bit and 64-bit).
Windows Home Server 2011 4
Windows Small Business Server 2011 Essentials edition – 2 VP’s, Standard edition – 4 VP’s
Supported Linux Guests• CentOS and Red Hat Enterprise
Linux • Debian • SUSE• Oracle Linux• Ubuntu• FreeBSD
Demo: Let’s get hands onCreating Virtual MachinesAlessandro Cardoso
CheckPointsYou may want to create a virtual machine checkpoint before making software configuration changes, applying a software update, or installing new software
CheckpointsOne of the great benefits to virtualization is the ability to easily save the state of a VM•Standard Checkpoints – takes a snapshot of the VM and VM memory state at the time the checkpoint is initiated.•Production Checkpoints – uses VSS or File System Freeze on a Linux virtual machine to create a data consistent back of the VM.
Demo: Let’s get hands onCheckpointsAlessandro Cardoso
Import/Export a VM
An export can be used for backup, restoration, or a way to move a virtual machine between hosts
Export VM
When creating an export of a virtual machine, all associated files are bundled in the export. This includes configuration files, hard drive files and also any existing checkpoint files
A virtual machine export can be imported back into the host from which it was derived or new host.
Register in-place – Keep the same ID. VM files are on location where it should be run. If the virtual machine is already registered with Hyper-V it needs to be deleted before the import will work. Restore the virtual machine – Creates a copy of the exported file and moves them to a selected location. If the VM is already running in Hyper-V it needs to be deleted before the import can be completed. Copy the virtual machine – The imported VM has a new unique ID which means that it can be imported into the same host many times.
Export VM
Virtual Machine Configuration Version
What version of Hyper-V the VM configuration, saved state, and snapshot files is compatible with?
Checking the Configuration Version
Get-VM * | Format-Table Name, Version
Important: The .VMCX file is a binary format. Directly editing the .VMCX or .VMRS file isn't supported.
Connected Standby
When Hyper-V is enabled on a computer that uses the Always On/Always Connected (also known as InstantON) power model
Connected Standby is now available
Windows PowerShell Direct
• The host needs to a Windows 10 or Windows Server 2016• The guest VM’s needs to run Windows 10 or Windows Server
2016.• You need to be logged on the host with Hyper-V Administrator
account.• You need User credentials for the virtual machine.• The VM you want to connect to must be running
Requirements for PowerShell Direct
Demo: Let’s get hands onPowerShell DirectAlessandro Cardoso
Nested Virtualisation
Demo: Let’s get hands onNEW: Nested VirtualizationAlessandro Cardoso
What is not available in Win10 Hyper-V
Windows Server featuresNot included on Windows 10 Hyper-V:
• The Remote FX capability to virtualize GPUs • Live migration of virtual machines from one host to another• Hyper-V Replica• Virtual Fibre Channel• SR-IOV networking• Shared .VHDX
License
You'll need to have a valid license for any operating systems you use in the VMs.
http://msdn.com //OS Subscription
Complete your session evaluation on My Ignite for your chance to win one of many daily prizes.
Continue your Ignite learning pathVisit Microsoft Virtual Academy for free online training visit https://www.microsoftvirtualacademy.comVisit Channel 9 to access a wide range of Microsoft training and event recordings https://channel9.msdn.com/Head to the TechNet Eval Centre to download trials of the latest
Microsoft products http://Microsoft.com/en-us/evalcenter/
© 2015 Microsoft Corporation. All rights reserved.Microsoft, Windows and other product names are or may be registered
trademarks and/or trademarks in the U.S. and/or other countries.MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
AS TO THE INFORMATION IN THIS PRESENTATION.