Set up file storage in the VMM fabric
This version of Virtual Machine Manager (VMM) has reached the end of support, we recommend you to upgrade to VMM 2019.
You can manage file storage that supports SMB 3.0 in the System Center - Virtual Machine Manager (VMM) storage fabric. This includes Windows file servers, scale-out file servers (SOFS), network-attached storage (NAS) devices from third-parties such as EMC, and NetApp.
This article describes how to add file storage to the VMM fabric. After file shares are available in the fabric, you can assign them to Hyper-V hosts and clusters.
Add a file share to the VMM fabric
When you add a file server, VMM automatically discovers all the shares that are currently present on the server.
- Click Fabric > Storage > Add Resources > Storage Devices.
- In Add Storage Devices Wizard > Select Provider Type, select Add a Windows-based file server as managed storage device to manage a single or clustered file server in the VMM console.
- In Specify Discovery Scope, specify the address or name of the file server. If the file server resides in a domain that isn't trusted by the domain in which the virtual machine hosts are located, select This computer is in an untrusted Active Directory domain. Select a Run As account that can access the file server.
- In Gather Information, VMM automatically tries to discover and import information about the shares on the file server. If the discovery process succeeds, information about the file server is displayed. When the process finishes, click Next.
- In Select Storage Devices, select the file shares that you want VMM to manage.
- In Summary, review the settings and click Finish.
Create a file share
You need to create a file share on the file server. When you do this VMM assigns permissions automatically.
- Click Fabric > Storage > Providers.
- Select the file server > Create File Share.
- In Create File Share, specify the path on which you want to create the share. If it doesn't exist VMM will create it.
Assign files shares
You can assign file shares on any host on which you want to create VMs that will use the file share as storage.
Click Fabric > Servers > All Hosts, and select the host or cluster node you want to configure.
In Host > Properties, click Properties > Host Access. Specify a Run As account. By default the Run As account that was used to add the host to VMM is listed. In the Run As account box, configure the account settings. You can't use the account that you use for the VMM service.
- If you used a domain account for the VMM service account, add the domain account to the local Administrators group on the file server.
- If you used the local system account for the VMM service account, add the computer account for the VMM management server to the local Administrators group on the file server. For example, for a VMM management server that is named VMMServer01, add the computer account VMMServer01$.
- Any host or host cluster that accesses the SMB 3.0 file share must have been added to VMM using a Run As account. VMM automatically uses this Run As account to access the SMB 3.0 file share.
- If you specified explicit user credentials when you added a host or host cluster, you can remove the host or cluster from VMM, and then add it again by using a Run As account.
Click Host Name Properties > Storage > Add File Share.
In File share path, select the required SMB 3.0 file share, and then click OK. To confirm that the host has access, open the Jobs workspace to view the job status. Or, open the host properties again, and then click the Storage tab. Under File Shares, click the SMB 3.0 file share. Verify that a green check mark appears next to Access to file share.
Repeat this procedure for any standalone host that you want to access the SMB 3.0 file share, or for all nodes in a cluster.
After you set up the Hyper-V host or cluster, learn about provisioning VMs.