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 you normally 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.