vDCA550-Objective 1.1–7-Configure Software iSCSI port binding

Software iSCSI port binding is the process of creating multiple paths between iSCSI adapters and an iSCSI Storage target. By default, ESXi does not setup multipathing for iSCSI adapters. As a result, all targets are accessible by only a single path.

A VMkernel port must be configured on the same network as the storage device to use the software iSCSI initiator. The initiator will use the first network adapter port it finds that can see the storage device and use it exclusively for transport. This means that just having multiple adapter ports is not enough to balance storage workloads. However, you can achieve load balancing by configuring multiple VMkernel ports and binding them to multiple adapter ports.

The next step in configuring iSCSI and port binding is to create the number of desired VMkernel ports and ensure that the same number of network adapter ports are available and can see the iSCSI storage. When this is done, a 1:1 relationship must be established between each VMkernel port and the corresponding network adapter port.

Procedure:

I assume you already knew the configuration of ISCSI Storage. ISCSI multipathing configuration has only three steps process.

  1. Define atleast two VMkernel Port (each has its separate network adaptor, if you have multiple then make sure one is active and other are unused).
  2. Add the Software adaptor
  3. Configure the Network Port binding.

 Step 1: Define vKernel Adaptor.

 To add a VMkernel port. Go to ESXi host -> Manage -> Network -> VMKernel Adapters -> Click Glob sign with “+”  as highlighted below -> Click “Next”

vDCA550-Obj-1-1-ISCSIPortbinding-01

Next choose the Connection type -> Click “Next”

vDCA550-Obj-1-1-ISCSIPortbinding-02

Select New Standard Switch-> Click “Next”

vDCA550-Obj-1-1-ISCSIPortbinding-03

Click on Green “+” Sign to assign the Physical Adapter. I reserved “vmnic5” for first vKernel port.

vDCA550-Obj-1-1-ISCSIPortbinding-04

Define the vKernel Port Label -> Click “Next”

vDCA550-Obj-1-1-ISCSIPortbinding-05

Set the IP address for ISCSI vKernel port -> Click “Finish”

vDCA550-Obj-1-1-ISCSIPortbinding-06

Run the same vKernel Adapter wizard again and define the 2nd vKernel port for ISCSI Multipathing. This time assign Network adapter “vmnic4” and set the IP address. Below is the final picture.

vDCA550-Obj-1-1-ISCSIPortbinding-07

Step 2: Add software adapter.

In my case I already added the software adapter. If this was not available in you environment. Then you click on “+” sign and add the software adapter as highlighted.

vDCA550-Obj-1-1-ISCSIPortbinding-08

When you try to add new software adapter. Then following popup will appear choose the default and click “OK”. In my case I already performed this step.

vDCA550-Obj-1-1-ISCSIPortbinding-09

Step 3: Network Port binding.

Select you software adapter -> Network port Binding -> Click “+”

vDCA550-Obj-1-1-ISCSIPortbinding-10

Select your First vKernel adapter for ISCSI Port binding-> Click “OK”

vDCA550-Obj-1-1-ISCSIPortbinding-11

Similarly add the 2nd vKernel adapter -> Click “OK”

vDCA550-Obj-1-1-ISCSIPortbinding-12

If you find the rescan warning message. Make sure to rescan the storage adapters than verify both vKernel adapters are bindid and in “active” state.

vDCA550-Obj-1-1-ISCSIPortbinding-13

Similarly, if you go to the “Path” tab in ISCSI Software adapter then you will see there are two paths for every LUN are available as highlighted.

vDCA550-Obj-1-1-ISCSIPortbinding-14

vSphere Classic Client View:

vDCA550-Obj-1-1-ISCSIPortbinding-15

See both vKernel adapter are complaint and active

vDCA550-Obj-1-1-ISCSIPortbinding-16

Now if you go to the properties of any ISCSI datastore in this ESXi host -> Click “Manage Path”

vDCA550-Obj-1-1-ISCSIPortbinding-17

Here you can see it has two paths. Both are active and also you can manage his multipath policy.

vDCA550-Obj-1-1-ISCSIPortbinding-18

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s