Hyper-V Over SMB

download Hyper-V Over SMB

of 17

Transcript of Hyper-V Over SMB

  • 7/28/2019 Hyper-V Over SMB

    1/17

  • 7/28/2019 Hyper-V Over SMB

    2/17

    Windows Server 2012Beyond VirtualizationEnabling Hyper-V over SMB

  • 7/28/2019 Hyper-V Over SMB

    3/17

    Enabling Hyper-V over SMB

    Why should I care?

    Technology Overview

    Demo

    Next Steps

  • 7/28/2019 Hyper-V Over SMB

    4/17

    Enabling Hyper-V over SMB

  • 7/28/2019 Hyper-V Over SMB

    5/17

    Is a network file sharing protocol that allows applications on a computeand write to files and to request services from server programs in a comnetwork

    Windows Server 2012 introduces the new 3.0 version of the SMB protoc

    Hyper-V over SMB

    With Windows Server 2012, Hyper-V

    Can store virtual machine files (configuration, VHD, snapshots) in files sh

    over the SMB 3.0 protocol Is supported for both stand-alone and clustered servers that use Hyper-

    shared file storage for the cluster Can support scale-out file shares and clusters Can leverage SMB Multi-Channel

    Server Message Block (SMB) protocol

  • 7/28/2019 Hyper-V Over SMB

    6/17

    Enabling Hyper-V over SMBWhy should I care?

  • 7/28/2019 Hyper-V Over SMB

    7/17

    Why should I care?

    Ease of provisioning and management

    You can manage file shares instead of storage fabric and logical unit n(LUNs).

    Increased flexibility You can dynamically migrate virtual machines or databases in the dat

    Ability to take advantage of existing investment in a converged net You can use your existing converged network with no specialized stor

    networking hardware.

    Reduced capital expenditures Capital expenses (acquisition costs) are reduced.

    Reduced operating expenditures You can reduce operating costs because there is no need for specializ

    expertise.

  • 7/28/2019 Hyper-V Over SMB

    8/17

    Enabling Hyper-V over SMBTechnical Overview

  • 7/28/2019 Hyper-V Over SMB

    9/17

    One or more computers running Windows Server 2012 with the File Ser

    role installed One or more computers running Windows Server 2012 with the Hyper-installed (separate from the file server)

    A common Active Directory infrastructure The servers running Active Directory Domain Services (AD DS) do not

    to run Windows Server 2012 Supported configurations

    Standalone Hyper-V servers (no a high-availability solution) Hyper-V servers configured in a Failover Cluster

    Requirements

    Although not required, Failover Clustering is supportedon the Hyper-V side, the File Services side, or both.

    They must be separate clusters.

  • 7/28/2019 Hyper-V Over SMB

    10/17

    Common Configurations

  • 7/28/2019 Hyper-V Over SMB

    11/17

    1. Install the Hyper-V role on a Windows Server 2012 machine

    2. Install the File Services role on a Windows Server 2012 machin

    3. Create an SMB file share

    4. Create a virtual machine and virtual machine hard disk on the

    5. Migrate existing virtual machine storage to the file share

    Hyper-V Over SMB Workflow

  • 7/28/2019 Hyper-V Over SMB

    12/17

    Creating an SMB ShareFrom Server Manager:

    1. Log on or connect to a

    Windows Server 2012computer on which theFile and Storage role isinstalled. Open ServerManager and navigateto File and StorageServices

    2. In Server Manager, startthe New Share Wizard

    #Create folder MD X:\VMS #Create file share New-SmbShare -Name VMS1-Path X:\VMS -FullAccess Domain\HVAdmin, Domain\HV1$, Domain\HV2$,Domain\HVC$ #Set NTFS permissions from the file share permissions (Get-Sm

    VMS1).PresetPathAcl | Set-Acl

    With PowerShell:

  • 7/28/2019 Hyper-V Over SMB

    13/17

    Migrating Storage to an SMB Share

    1. To determine the current storage being used by a virtual machine:

    2. To migrate the virtual machine storage to an SMB file share:

    3. To confirm migration:

    Get-VM VM1 | FT Name, Path, State Get-VMHardDiskDrive VM1 | FT VMName, P

    Move-VMStorage VMName VM1 DestinationStoragePath \\FST\VMS

    Get-VM VM1 | FT Name, Path, State Get-VMHardDiskDrive VM1 | FT VMName, P

    You can migrate from Direct-Attached Storage to SMB file share

    SMB file share to another SMB file share

  • 7/28/2019 Hyper-V Over SMB

    14/17

    Enabling Hyper-V over SMBDEMO

  • 7/28/2019 Hyper-V Over SMB

    15/17

    Windows Server 2012 Product Downloadhttp://aka.ms/hwws2012

    System Center 2012 Evaluation Downloadhttp://aka.ms/hwsc2012

    SMB 3.0 Overviewhttp://technet.microsoft.com/en-us/library/hh831795.

    Microsoft Virtual Academyhttp://aka.ms/virtualacademy

    Windows Server 2012 Virtual Labs

    http://technet.microsoft.com/en-us/windowsserver/hh

    http://aka.ms/hwws2012http://aka.ms/hwsc2012http://technet.microsoft.com/en-us/library/hh831795.aspxhttp://aka.ms/virtualacademyhttp://technet.microsoft.com/en-us/windowsserver/hh968267.aspxhttp://technet.microsoft.com/en-us/windowsserver/hh968267.aspxhttp://technet.microsoft.com/en-us/windowsserver/hh968267.aspxhttp://technet.microsoft.com/en-us/windowsserver/hh968267.aspxhttp://technet.microsoft.com/en-us/windowsserver/hh968267.aspxhttp://aka.ms/virtualacademyhttp://technet.microsoft.com/en-us/library/hh831795.aspxhttp://technet.microsoft.com/en-us/library/hh831795.aspxhttp://technet.microsoft.com/en-us/library/hh831795.aspxhttp://aka.ms/hwsc2012http://aka.ms/hwsc2012http://aka.ms/hwws2012
  • 7/28/2019 Hyper-V Over SMB

    16/17

  • 7/28/2019 Hyper-V Over SMB

    17/17