Frequently Asked Question
Virtualization: How to Use iSCSI Targets on VMware ESXi Server with Multipath Support?
Last Updated 4 years ago
OverviewFailover 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 is also one of the best practices for virtualization environment. All of the Synology NAS with 2 or more network interfaces are equipped with multipath support on iSCSI Target to help you to deploy failover and load balancing configuration.
This article will guide you the steps of using iSCSI Targets on VMware ESXi server with multipath support.
1. Before You StartThis article assumes that you have done the following tasks for your Synology NAS:
- Hardware installation for Synology NAS.
- Software installation for Synology DiskStation Manager (DSM, web-based operating system of Synology NAS).
- Creating iSCSI LUNs and Targets.
- Enabled multiple sessions support on your iSCSI Targets.
- 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 the Synology NAS with two or more network ports.
2. Setup Virtual Networking on ESXi Server for iSCSI ConnectionThis section will guide the administrator in setting up virtual networking on the ESXi server 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 MultipathThis section will guide the administrator to connect iSCSI Targets on the Synology NAS 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 NAS.
- Confirm to rescan the Host Bus Adapter.
- In Paths, the iSCSI Initiator has detected the target on the Synology NAS.
- 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.
If you want to use Multipath I/O (MPIO) for the iSCSI targets on your Synology NAS, remember to do the following first:
- Go to Storage Manager > iSCSI Target.
- Find the desired iSCSI target, and click Edit > Advanced.
- Tick Allow multiple sessions from one or more iSCSI initiators.
- Click OK.