vSphere and Multipathing iSCSI

This is just a quick reference to create a multiplathing iSCSI setup…

Create two virtual kernel switches, one called “iSCSI-1” and the other called “iSCSI-2” (and so on if you have more nics)

Then per kernel portgroup ensure that only one of the nics is active. For the “iSCSI-1” portgroup configure it to override the virtual switch settings and move nic 0 to active and nic 1 to unused. For the “iSCSI-2” portgroup configure it to override the virtual switch settings and move nic 1 to active and nic 0 to unused.

Now you have to run some esxcli commands to gel things together…. alt-f1 on the esxi console and type “unsupported” followed by your root password. The following is the command i have to run to get both my portgroups to work together on the iscsi hba….  (you can check your vmk number from the networking config screen)

esxcli swiscsi nic add -n vmk1 -d vmhba33
esxcli swiscsi nic add -n vmk2 -d vmhba33

For each target then change the path selection method to “round-robin”.

Go back to storage adapters and click “rescan”

If you want all future iSCSI targets to automatically use round-robin you must also run the following from commandline…   (this is for our HP Lefthand, your “storage array type” may be different. Its listed under your target details). Basically sets round robin as a default for this type of array. In general you should do this first before presenting any LUNs etc, else you may have to bounce your box.

esxcli nmp satp setdefaultpsp –satp VMW_SATP_DEFAULT_AA –psp VMW_PSP_RR

Update : Hardware iSCSI nics

The process for hardware iSCSI initiators is similar to above, but you assign a single kernel port per nic. To find which nic belongs to which iSCSI initiator you must run this command from the CLI;

esxcli swiscsi vmnic list -d vmhba#

vmhba# is the name of the iSCSI adapter.

337 Replies to “vSphere and Multipathing iSCSI”

  1. Hiya, I am really glad I’ve found this information. Nowadays bloggers publish only about gossip and web stuff and this is actually annoying. A good website with interesting content, this is what I need. Thanks for making this site, and I’ll be visiting again. Do you do newsletters by email?

  2. Hello there. I discovered your web site by means of Google at the same time as searching for a similar topic, your site came up. It appears good. I have bookmarked it in my google bookmarks to visit then.

  3. Hey there. I discovered your site by way of Google whilst looking for a comparable topic, your site got here up. It appears to be great. I have bookmarked it in my google bookmarks to visit then.

  4. Hiya, I’m really glad I’ve found this info. Nowadays bloggers publish just about gossip and net stuff and this is really irritating. A good web site with exciting content, that is what I need. Thanks for making this website, and I’ll be visiting again. Do you do newsletters by email?

  5. Hiya, I’m really glad I’ve found this information. Nowadays bloggers publish only about gossip and internet stuff and this is actually annoying. A good website with exciting content, that is what I need. Thanks for making this site, and I will be visiting again. Do you do newsletters by email?

  6. Hiya, I’m really glad I have found this info. Nowadays bloggers publish just about gossip and internet stuff and this is actually annoying. A good blog with interesting content, that’s what I need. Thank you for making this website, and I’ll be visiting again. Do you do newsletters by email?

  7. Hey there. I discovered your website by way of Google whilst looking for a comparable subject, your website came up. It appears great. I’ve bookmarked it in my google bookmarks to visit then.

  8. Hi there. I found your blog via Google at the same time as looking for a related subject, your web site got here up. It seems good. I’ve bookmarked it in my google bookmarks to come back then.

  9. Hiya, I am really glad I’ve found this information. Nowadays bloggers publish just about gossip and web stuff and this is actually irritating. A good blog with interesting content, that is what I need. Thanks for making this site, and I will be visiting again. Do you do newsletters by email?

  10. Hiya, I am really glad I’ve found this info. Today bloggers publish only about gossip and web stuff and this is really irritating. A good blog with interesting content, that is what I need. Thank you for making this web-site, and I will be visiting again. Do you do newsletters by email?

  11. Hello there. I found your site by means of Google whilst searching for a similar matter, your site came up. It looks good. I have bookmarked it in my google bookmarks to come back then.

  12. Hi there. I discovered your web site via Google even as looking for a similar subject, your site got here up. It seems good. I have bookmarked it in my google bookmarks to come back then.

  13. Hey there. I discovered your website by the use of Google while searching for a similar topic, your website came up. It appears to be great. I’ve bookmarked it in my google bookmarks to visit then.

  14. I keep listening to the rumor lecture about receiving free online grant applications so I have been looking around for the best site to get one. Could you advise me please, where could i acquire some?

  15. Hiya, I am really glad I’ve found this info. Today bloggers publish just about gossip and net stuff and this is actually frustrating. A good web site with interesting content, that is what I need. Thanks for making this web-site, and I will be visiting again. Do you do newsletters by email?

  16. Hiya, I am really glad I have found this information. Nowadays bloggers publish only about gossip and web stuff and this is actually annoying. A good website with exciting content, this is what I need. Thanks for making this site, and I will be visiting again. Do you do newsletters by email?

  17. Hiya, I’m really glad I have found this information. Nowadays bloggers publish just about gossip and internet stuff and this is actually annoying. A good website with exciting content, that’s what I need. Thanks for making this website, and I will be visiting again. Do you do newsletters by email?

  18. Hiya, I’m really glad I’ve found this info. Today bloggers publish only about gossip and internet stuff and this is actually annoying. A good site with exciting content, this is what I need. Thank you for making this web-site, and I’ll be visiting again. Do you do newsletters by email?

  19. Hey there. I discovered your blog by means of Google at the same time as searching for a related topic, your web site got here up. It appears to be great. I’ve bookmarked it in my google bookmarks to come back then.

  20. Hi there. I discovered your site by means of Google while searching for a similar matter, your website got here up. It appears to be good. I’ve bookmarked it in my google bookmarks to come back then.

  21. Hello there. I found your blog by means of Google at the same time as searching for a similar subject, your website came up. It appears great. I have bookmarked it in my google bookmarks to come back then.

  22. I think other site proprietors should take this site as an model, very clean and excellent user genial style and design, let alone the content. You’re an expert in this topic!

Leave a Reply

Your email address will not be published.