Configure ISCSI SAN-NAS Target with VMware ESXi Target

Configure ISCSI SAN-NAS Target with VMware ESXi Target

Overview

Failover and load balancing configuration is crucial when deploying virtual storage solution in your IT environment to achieve optimal resource utilization, maximize throughput, minimize response time, and avoid overload. By using multipath iSCSI connection, you may deliver a high quality and reliable storage service with failover and load balancing capability and it’s also one of the best practices for virtualization environment. All of the Synology NAS with 2 or more network interface are equipped with multipath support on iSCSI Target to help you to deploy failover and load balancing configuration.

 1. Before you start

This article assumes that you have done the following tasks for your DiskStation:

  • Hardware installation for Synology DiskStation.
  • Software installation for Synology DiskStation Manager (DSM, web-based operating system of DiskStation).
  • Creating iSCSI LUNs and Targets.
  • Enable multiple sessions support on your iSCSI Targets, you may refer to here for more information.
Note:

  • It is strongly recommended to use MPIO with separate networks (or different subnets) with multiple network interfaces on the iSCSI Initiator and Target.
  • MPIO is only available on Synology NAS with two or more network ports.

2. Setup Virtual Networking on ESXi Sever for iSCSI Connection

This section will guide the administrator in setting up virtual networking on ESXi sever for iSCSI connection.

  1. Open the vSphere Client and proceed to Configuration, Networking and click Add Networking.Nas
  2. Select VMKernel and click Next. Nas
  3. Create a new network switch and select a NIC located on another subnet.
  4. Enter a name for this new network and click Next. Nas
  5. Select Obtain IP settings automatically and click Next. Nas
  6. Confirm all the settings and click Finish to complete the setup. Nas

 

3. Connect iSCSI Target on the ESXi Server with Multipath

This section will guide the administrator to connect iSCSI Targets on the Synology DiskStation to the ESXi server with multipath support.

  1. Within the Configuration tab, click on Storage Adapters, select the iSCSI Software Adapter and click Properties.
  2. In this example, the iSCSI Initiator is disabled, click Configure to configure the settings of the iSCSI Initiator.
  3. Make sure the iSCSI Initiator is Enabled.
  4. Once the iSCSI Initiator is enabled, click on Dynamic Discovery.
  5. Click Add and enter the primary IP Address of the Synology DiskStation.
  6. Confirm to rescan the Host Bus Adapter.
  7. In Paths, the iSCSI Initiator has detected the target on the Synology DiskStation.
  8. Right click on the Target and click Manage Paths.
  9. Select Round Robin (VMWare).
    Note that within the path management, that the ESXi server is using two paths (via two subnets) to connect to the same iSCSI Target.