Configure ISCSI SAN-NAS Target with VMware ESXi Target
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.
- 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.
- Open the vSphere Client and proceed to Configuration, Networking and click Add Networking.
- Select VMKernel and click Next.
- Create a new network switch and select a NIC located on another subnet.
- Enter a name for this new network and click Next.
- Select Obtain IP settings automatically and click Next.
- Confirm all the settings and click Finish to complete the setup.
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.
- Within the Configuration tab, click on Storage Adapters, select the iSCSI Software Adapter and click Properties.
- In this example, the iSCSI Initiator is disabled, click Configure to configure the settings of the iSCSI Initiator.
- Make sure the iSCSI Initiator is Enabled.
- Once the iSCSI Initiator is enabled, click on Dynamic Discovery.
- Click Add and enter the primary IP Address of the Synology DiskStation.
- Confirm to rescan the Host Bus Adapter.
- In Paths, the iSCSI Initiator has detected the target on the Synology DiskStation.
- Right click on the Target and click Manage Paths.
- 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.