Search This Blog

Monday, November 5, 2012

Configure Hyper-V Over SMB

 

In this article, we would look into how to configure Hyper-V Over SMB. Virtual Machine is created and store in SMB 3 which is File Server running in Windows Server 2012. In my today setup, here is the scenario:-

  • 2 Node Hyper-V Cluster (PR-HYP31 , PR-HYP32). Cluster name:- REDCluster01
  • 2 Node File Server Cluster (RED-FS01, RED-FS02). Cluster name:- REDCluster02

SMB

Note:- It is recommended to separate Hyper-V and File Server Cluster when configure Hyper-V Over SMB. Do not share and put Scale Out File Server together with Hyper-V

Pre-requisite

a) Install File Server Role on both File Servers. On each File Server Cluster, enable the File Server roles.

image

b) Configure constraint delegation in Active Directory Users and Computers snap-in. When enabled, constrained delegation gives you the ability to use a specific SMB remote file share without requiring you to perform an action on any computer. Constrained delegation tells Active Directory Users and Computers that between two computers, (in this case, the Hyper-V server and the SMB file server), and for specific services, (in this case, SMB), it is allowed to re-issue access to the resources.

  • Select the Hyper-V Host and select Delegation
  • Select Trust this computer for delegation to specified services only
  • Select Use Kerberos
  • Add CIFS for Cluster Access Point for a Scale-Out File Server. (Example:- FSCluster01)

image

Configuration

1. Configure File Server Cluster using Failover Cluster. Add File Server Role with  “Scale Out File Server for application data” as the File Server Type. Enter FSCluster01 as the Client Access Point.

image

3. Once complete, “Right click the Scale Out File Server” and “Add File Share”

image

4. Once File Share Wizard open, select “SMB Share –Application”

image

5. On the Share location, select the CSV and click Next

image

6. On Share name page, enter the share name and click OK. Example:- HyperVSMB which located in C:\ClusterStorage\Volume1\Shares\HyperVSMB

image

7. Leave the share settings default and click Next

image

8. On Permission page, perform below configuration:-

  • On the Permissions page, click Customize Permissions.
  • Click Add, click Select a Principal, and then click Object Types.
  • In Object Types, click to select Computers, and click OK.
  • Enter the name of the computer, and click OK.
  • In Permissions Entry, select Full Control, and click OK.

Note:- Repeat the same step and add the rest of Hyper-V Host, SYSTEM and Hyper-V Administrator account.

image

9. Final result on the permission configuration:-

  • PR-HYP31 (Hyper-V Node 1)
  • PR-HYP32 (Hyper-V Node 2)
  • REDCloud01 (Hyper-V Cluster name)
  • SYSTEM
  • Domain Admin Account

image

10. Click Create to create the SMB file share

11. On the VMM Server 2012 SP1, add the File Share Storage. Right click the Hyper-V Cluster and select Properties. Select File Share Storage and click Add to enter the File Share Path that you have specified in Step 6. Example:- \\FSCluster01\HyperVSMB

image

12. Then you can use VMM to deploy a VM Template to file share. Remember to change the location to file share (Highlighted in Yellow)

image

image

Hope the above configuration assist you in setup “Hyper-V Over SMB”.

5 comments:

  1. Can I use the same scale out file server to add the second cluster (ex.RedCluster01).

    ReplyDelete
  2. You can share the same scale out file server for another hyper-v cluster as long file server and hyper-v server is separate as we do not want to create loopback issue.

    ReplyDelete
  3. No matter what type of Michael Kors Bags Outlet each individual got, they all had one thing in common. We all know that getting something on sale is like winning a mini lottery, but to find a name brand handbag like Michael Kors Black Friday Sale for instance, discounted is like a slice of heaven on earth. I have personally attacked my husband with hugs and kisses when finding Official Coach Outlet Online at discounted prices.

    Michael Kors Factory Outlet stores can be found in malls all over. MK Outlet and other Coach merchandise can also be found in some boutiques. Inspired by the same material baseball gloves are made from, these Coach Bags On Sale Online are versatile and stylish. Since it's conception, the Michael Kors Handbags Outlet has been produced into a variety of designs, colors, shapes, and styles that have won top pick of millions of women the world over.

    New Michael Kors Bags are the most sought after handbag. Since Coach Outlet Online is one of the most recognized name brands in the world of fashion, you will find A-list celebrities down to small girls wearing them.

    tags:Coach Outlet|Coach Bags Factory Outlet|Coach Purses Outlet

    ReplyDelete