iSCSI Multipathing and Round Robin
Multiple vSwitches with Jumbo Frame Support
With the release of ESXi 5.0, we can now perform all actions required to get iSCSI multipathing with jumbo frame support via the GUI. We are going to be building a seperate vSwitch for each iSCSI vmkernel port. We will also be attaching a single physical uplink to each vSwitch. This is done to overcome any issues that may arise due to having multiple vmk ports in the same vSwitch that are in the same subnet. To read more on possible issues, read this article.
Step 1: Building the vSwitch
1. Select Host --> Configuration --> Networking
2. Select 'Add Networking'
3. Select 'VMKernel' then click Next
4. Select the physical NIC you want to use as an uplink for this vSwitch (ex: nic0)
5. Name the Port Group (eg. iSCSI_0) and set the VLAN ID as required.
6. Set the IP Address and Netmask as required for your environment.
7. Click on 'Finish'.
This will build our vSwitch and create a single port group as well as bind it to a physical uplink. Next we need to modify the vSwitch to enable jumbo frames.
Step 2: Modifying the vSwitch
1. Locate your new vSwitch and select 'Properties'.
2. Select 'vSwitch' and then select 'Edit'
3. Under 'Advanced Properties', modify the MTU as required (ex: 9000) and click 'OK'.
4. Select the iSCSI Port Group and select 'Edit'.
5. Under 'NIC Settings', modify the MTU as required (ex: 9000) and click 'OK'.
Repeat the steps above for each vSwitch/iSCSI vmkernel port you need. In our environment, we have 4 physical gigabit uplinks dedicated to iSCSI, so we have created 4 different vSwitches, each with a single physical uplink and a single iSCSI vmk port group.
Once you have created all the vSwitches you need, its time to bind the vmk ports to the software iSCSI adapter.
Step 3: Modifying the iSCSI Software Adapter
1. Select Host --> Configuration --> Storage Adapters
2. Select the 'vmhbaXX' under 'iSCSI Software Adapter' (ex: our adapter is named 'vmhba33')
3. Select 'Properties' in the Details area.
4. If the initiator is not already enabled, select 'Configure' and tick the box to enable iSCSI.
5. Select the 'Network Configuration' tab.
6. Under 'VMKernel Port Bindings', select 'Add'.
7. In the pop up window, select the first iSCSI vmk port (ex: iSCSI_0) and click 'OK'.
8. Repeat steps 6-7 for each iSCSI vmk port you have created.
9. You should now have multiple iSCSI vmk ports listed, each in a different vSwitch, and each with a different physical uplink. When all iSCSI vmk ports are added, click 'Close'.
It will ask you to perform a rescan. Hit yes and allow the system to rescan the vmhba.
If you already have an iSCSI target configured, and you have already set the default satp to VMW_PSP_RR, you should now see multiple active paths to each target.
No comments:
Post a Comment