How do I use iSCSI Targets on VMware ESXi Server with Multipath I/O support?
How do I use iSCSI Targets on VMware ESXi Server with Multipath I/O support?
Purpose
In virtual storage environments, achieving optimal resource utilization, high throughput, and low response times is essential, as is preventing system overloads. Multipath I/O (MPIO) for iSCSI connections can enhance failover and load balancing capabilities, ensuring a more reliable and efficient storage service.
Synology NAS devices equipped with two or more network interfaces support MPIO for iSCSI Targets, enabling effective failover and load balancing arrangements. This article guides you through using iSCSI Targets on VMware ESXi Server with MPIO support.
Environment
-
Synology NAS:
-
SAN Manager (or iSCSI Manager for older DSM versions):
- iSCSI LUNs and Targets have been created.
- Allow multiple sessions from one or more iSCSI initiators has been selected (configurable at SAN Manager > iSCSI > Edit > Advanced).
-
SAN Manager (or iSCSI Manager for older DSM versions):
Notes:
- It is highly recommended to configure MPIO with separate networks or subnets for iSCSI initiators and Targets, especially when they have multiple network interfaces.
- MPIO is only available on Synology NAS devices with two or more network ports.
Resolution
- Launch vSphere Client and go to Configuration > Networking to click Add Networking.
- Select VMKernel.
- Create a new network switch and select a NIC located on another subnet.
- Name the new network.
- Select Obtain IP settings automatically.
- Confirm all the settings and click Finish to complete the setup.
- In Configuration > Storage Adapters, select the iSCSI Software Adapter and click Properties.
- Make sure the iSCSI Initiator is Enabled. If not, click Configure… to enable it.
- Once the iSCSI Initiator is enabled, go to Dynamic Discovery and click Add to enter the primary IP Address of the Synology NAS.
- Rescan the Host Bus Adapter, and the iSCSI Initiator will detect the Target on the Synology NAS.
- In Paths, right-click on the Target and click Manage Paths.
- Select Round Robin (VMware). Note that, within the path management, the ESXi server is using two paths (via two subnets) to connect to the same iSCSI Target.