Home > Networking, Storage, Virtual > vSphere and Multipathing iSCSI

vSphere and Multipathing iSCSI

February 4th, 2010 Daz Leave a comment Go to comments

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

Related posts:

  1. Jumbo Frames on your vSphere ESXi box Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...
  2. OpenSolaris – iSCSI Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...
  3. vmware srm – replicating over a wan – optimizations I’ve been working through a SRM setup and have been...
  4. vmware – measuring iscsi write performance I picked this trick up off vmware support. If you’ve...
  5. vSphere – ctrl-alt-del greyed out This bug has hit me. Looks like users with roles...

Related posts brought to you by Yet Another Related Posts Plugin.

Categories: Networking, Storage, Virtual
  1. No comments yet.
  1. No trackbacks yet.
To submit your comment, click the image below where it asks you to... Clickcha - The One-click Captcha