Creating a multipath connection from QNAP Storage to your Veeam server using MPIO

This post will show you how to setup multipath connections from your Veeam VM to your QNAP backup storage.

The Veeam backup network will utilise a multi-path configuration to mitigate against switch/NIC failure.  As in the diagram below traffic from the ESXi host is connected to the QNAP via two paths on VLAN 70 and VLAN 71.  The Veeam VM has two NICs, one for each path which are separated into each switch and then connect into each QNAP 10Gb NIC.  Windows uses MPIO to handle the multiple ISCSi connections presented from the QNAP.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-24

VMWare ESXi Configuration

For each host we have a new vSwitch configured.

NetApp SAN access for storage snapshots

VLANs 60 and 61 are added as port groups.  VLAN 60 corresponds to physical adapter vmnic7 (connected to switch iscsi01) and VLAN 61 corresponds to physical adapter vmnic6 (connected to switch iscsi02).

QNAP access for backup storage

VLANs 70 and 71 are added as port groups.  VLAN 70 corresponds to physical adapter vmnic7 (connected to switch iscsi01) and VLAN 71 corresponds to physical adapter vmnic6 (connected to switch iscsi02).

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-2

NICs are then added for each of these networks to the Veeam VM.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-3

Windows NIC Configuration

In Windows we then label each connection so we know exactly where data is flowing.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-4

Each adapter has an IP address as follows:

NICIP AddressRole
GlobalAccess 10.150.2.010.150.2.205Management
iSCSI_A_Veeam10.60.1.120NetApp SAN Access path A
iSCSI_B_Veeam10.60.0.120NetApp SAN Access path B
Veeam_Backup10.70.0.20QNAP NAS Access path A
Veeam_BackupB10.70.0.30QNAP NAS Access path B

Configuring the MPIO Settings

Now we have everything in place to configure the multipath settings to the QNAP.  First we need to enable Multipath on the Veeam server.

Go to Server Manager> Click Manage>Then Add Roles and Features

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-5

Go to Features and check Multipath and then click Install, you will need to reboot.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-6

Once MPIO is installed open the iSCSI Initiator

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-7

Click the Discovery tab and then click Discovery Portal (note you will need to add both targets for MPIO)

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-8

Here we enter the IP of the QNAP NIC which will be the first path so 10.70.0.10.  Then Click Ok and you will see the QNAP connected on this IP under the Targets tab.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-9

On the Targets tab find the QNAP connection and click connect

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-10

In the new window, check Add this connection to the list of Favorite Targets to make that iSCSI target LUN to be connected at Windows startup.  Check Enable multi-path Then click Advanced.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-11

Under the Advanced settings set the Local Adapter as Microsoft iSCSI Initiator.  Then set the Initiator IP as the first path to the QNAP NAS which in our case is 10.70.0.20.  Then select the Target Portal IP as the QNAP NIC which is in the first path 10.70.0.10.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-12

Click OK. Then click OK again. You can see if your iSCSI target LUN is connected.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-13

Open MPIO

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-14

Change to the Discover Multi-paths tab. Then check add support for iSCSI devices and click Add (you must connect to the iSCSI device otherwise this part will be greyed out).

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-15

Click Yes to restart Windows.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-16

Once you have restarted, you can go back to the MPIO properties and see a new device.  No action is necessary here, just click OK once you see the new device.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-17

We will now connect the second path to our iSCSI target LUN. You can open the iSCSI initiator from the Administrative Tools.  Go to the Targets tab.  Click Connect again, even if the target is already connected. (Remember we have previously connected the target with 1 path)

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-18

Again, check Add this connection to the list of Favorite Targets connection to make that iSCSI target LUN be connected at Windows startup. Check Enable multipath then Click Advanced

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-19

We now add the IP addresses for the second path to the QNAP NIC. Choose Microsoft iSCSI Initiator and Select your second IP address as the source IP (Second IP: 10.70.0.30).  Then select the IP of the QNAP NIC in the second path.

 

Click OK.  Then click OK again.  Your iSCSI target is connected with MPIO with failover. If one of the links fail the other link will now take over.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-20

We are done, but we can verify if everything is ok.  In the main iSCSI initiator panel, select your target LUN and click Properties. You will see your two connected sessions:

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-21

If you click on the devices tab you should see that the two devices have different paths.  You may have to reboot at this point if you do not see them yet.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-22

Note that the two devices will be handled by the MPIO layer to avoid the system seeing two

different disks. You will see only one disk in the disk management panel.  You can also find those two connections by opening a PowerShell Window and using the command:

netstat -na | Select-String “3260”

We can see the two connections that are connected to the same IP.

Creating a multipath connection from QNAP Storage to your Veeam server using MPIO-23

Leave a Reply

Your email address will not be published. Required fields are marked *