Configuring iSCSI Target Server

The goal of configuring an iSCSI Target Server is to make Windows Server 2012 a storage server itself. The iSCSI Target Server role is found within the File and Storage Services role.
You also can add the iSCSI Target Server role via Windows PowerShell with this command:
Add-WindowsFeature fs-iscsitarget-server
After the role is added, you must configure the iSCSI Target Server role through File and Storage Services in Server Manager. Within iSCSI role management, you first need to configure an iSCSI virtual disk, which you can achieve through the New iSCSI Virtual Disk Wizard shown in Figure 1-28.


Configuring iSCSI Target Server


FIGURE 1-28 Configuring an iSCSI virtual disk is a prerequisite to configuring an iSCSI target. In the New iSCSI Virtual Disk Wizard, you select the disk from a list of volumes on the computer,select its size, and then create a new iSCSI Target, as shown in Figure 1-29.


Configuring iSCSI Target Server


FIGURE 1-29 Configuring the iSCSI Target name.
After the target’s name is configured, you select the servers that will act as initiators for the target (see Figure 1-30).


Configuring iSCSI Target Server


FIGURE 1-30 Configuring the iSCSI initiator.


Clicking Add within that dialog box reveals another dialog box (see Figure 1-31), in which you can select the iSCSI initiator in several different ways.


Configuring iSCSI Target Server


FIGURE 1-31 Querying for an iSCSI initiator.


As you can see in Figure 1-31, computers prior to Windows Server 2012 don’t support the Query capability, which means that you need to add those down-level computers manually by either selecting them (if they’ve been predefined) or by filling in their IQN or other information.


The final step in the configuration of an iSCSI target is to optionally specify CHAP credentials. After you complete initial configuration of an iSCSI target, you can change many of its properties through the Properties sheet shown in Figure 1-32.


Configuring iSCSI Target Server


FIGURE 1-32 Changing properties of an iSCSI target.


---------------


Note: CONFIGURING   ISCSI
The iSCSI Target Server can also be configured to work in failover cluster mode. This process is configured through Failover Cluster Manager. iSCSI can also work with VDS and VSS.


---------------