Set up a Microsoft iSCSI Target Server in the VMM storage fabric
Applies To: System Center 2016 - Virtual Machine Manager
Microsoft iSCSI Target Server is a server role that enables a Windows server machine to function as a storage device. This article explains how to set up a Microsoft iSCSI Target Server in System Center 2016 - Virtual Machine Manager (VMM) storage.
Here's what you need to do:
- Install the role: Install the iSCSI Target Server role (Server Roles > File and Storage Services > File and iSCSI Services) on a server that you want to add as a block storage device.
- Set up virtual iSCSI disks: After installing the role you'll need to set up virtual iSCSI disks and connect to the servers you want. Learn more.
- Install the provider: If the iSCSI Target Server runs Windows Server 2012, you must install the SMI-S provider on it. The provider is located with the setup files in \amd64\Setup\msi\iSCSITargetSMISProvider.msi, and on the VMM server in \Program Files\Microsoft System Center 2012\Virtual Machine Manager\Setup\Msi\iSCSITargetProv\iSCSITargetSMISProvider.msi. You'll need to run the .msi file on the iSCSI Target Server. If the server's running Windows Server 2012 R2 you don't need to install the provider.
- Add account: Add the VMM admin account as an administrator on the server.
- Discover in VMM: Add the storage device to VMM. Select SAN and NAS devices discovered and managed by a SMI-S provider as the provider type, and specify the IP address or FQDN as the server. Select the account with permissions to the server as the Run As account. Add it to the required storage classification, and complete the Add Storage Devices Wizard.
After adding the server as a storage device under VMM management you can allocate the storage pools and LUNs to a host group and provision storage to hosts and clusters.
You can use VMM to configure the iSCSI Target Server through Windows PowerShell. This section lists some common tasks with examples of Windows PowerShell commands that you can use for those tasks. The SMI-S provider supports all management tasks through VMM.
Manage storage on an iSCSI target server
Open PowerShell and use the cmdlets described below to manage iSCSI target server resources in VMM.
Add a storage provider
|Obtain the iSCSI Target Server local administrative credentials that are based on user name and password.|
Note that any account that is part of the Local Administrators group is sufficient.
|Create a Run As account in VMM.|
|Add the storage provider.|
View storage properties
|Review the storage array attributes.|
|View available storage pools.|
Add pools from iSCSI Target Server to VMM management
|Get the specific storage pool to add.|
|Create a storage classification, if none exists.|
|Add the storage pool to VMM.|
|Allocate the storage pool to a virtualization server group.|
Create a LUN
|Create an iSCSI logical unit number (LUN).|
|Allocate the LUN to the host group.|
|Retrieve the properties of a host.|
|Assign the LUN to the host.|
|Delete a LUN.|
|Remove a storage provider.|