close

Fob Shell Case Replacement Golf Passat Jetta Fits Volkswagen Jetta

When building high-performance Hyper-V host servers for a production environment, we often buy high-end servers with lots or memory and fast SAS (Serial Attached SCSI) or SSD (Solid State) drives.  These drives are fast but usually expensive, especially after adding in redundancies.
What if your VMs (virtual machines, or guests running on your Hyper-V host) do not need these fast expensive drives?  This is often the case with file servers or servers storing archive data.  In the past you could build a SAN with inexpensive SATA or Nearline SAS (simply SATA drives that speak the SCSI language) drives.  The problem is that SANs are inherently expensive and require a lot of expertise and planning to deploy and manage.
With Windows Server 2012 we have a new type of SMB sharing technology called SMB 3.0.  SMB 3.0 gives us  several features such as data deduplication, data transfer performance increases, and most importantly the ability to store virtual hard disks (VHD or VHDX files) for a Hyper-V host on the same network.
Before SMB 3.0, an expensive SAN (storage area network) solution was needed to accomplish this.  This can mean savings to your datacenter in a big way.
Here is what is needed: Hyper-V Host:  Windows Server 2012 with the File Services role installed SMB 3.0 File Server:  Windows Server 2012 with the Hyper-V role installed
Steps in this lab: Enable delegation on the computer account of the Hyper-V server. Grant permissions to the SMB Share. Create a new virtual machine from a VHD running on an SMB file share (the share happens to be clustered). Step 1: Enable delegation on the computer account of the Hyper-V server. Log on to the file server as a domain administrator.  This is the server where the VHD files will be stored for the front-end Hyper-V host. From the Taskbar open Server Manager, click Tools, and then click Active Directory Users and Computers. Create a new security group named “Hyper-V Servers”.  Add your Hyper-V computer accounts to this new group. Navigate to Contoso.com\Computers (replacing Contoso.com with your own Active Directory domain name), and then select your Hyper-V host server. On the Action menu, click Properties. Click the Delegation tab. Click Trust this computer for delegation to any service (Kerberos only). Click the Member of tab, and then click Add. Type Hyper-V-Servers,and then click OK.   Step 2:  Grant permissions to the SMB Share. On the file server, open Server Manager, then select File and Storage Services. Select Shares then create a new file share using the wizard. For Hyper-V VHD storage, select SMB Share-Applications, then click on the Next button. Select the path which to create the share in the Type a custom path field, then click on the Create button. Type a name for the new SMB 3.0 share (and a brief description if desired). On the Permission screen make sure the Contoso\Hyper-V-Servers group has full control, which is a requirement for Hyper-V over SMB.  When done click the Next button. On the confirmation screen click Create if everything looks correct.   Step 3:  Create a new virtual machine from a VHD running on an SMB file share (the share happens to be clustered). On the Hyper-V host server launch the Hyper-V Manager. In the Hyper-V console, click New, and then click Virtual Machine. Complete the New Virtual Machine Wizard like younormally would selecting a virtual machine name, network, and memory. When creating a virtual hard drive (VHD), use the UNC path to the new SMB 3.0 share.  Example:  \\FileServerName\SMBShareName\c-drive.vhdx  
For more information on creating a SMB 3.0 share and using it with a Hyper-V VM see this   from Microsoft.
Share this:
Related

Previous     Next


TAGS


CATEGORIES

.