Home > Virtualization, VMware > vSphere 5 Software iSCSI Setup and Port Binding (plus a Welcome!)

vSphere 5 Software iSCSI Setup and Port Binding (plus a Welcome!)

To start things off, welcome to vPrimer! This blog will be a source of how-to’s, information, and news centered around virtualization, security, and networking. I hope to provide a viewpoint from inside the industry that will be useful no matter if you are a home lab user or large enterprise administrator. I always welcome comments and discussions as one of the best ways to learn is from everyone around you!

Now, what fun is a first post without some technical content? So let’s get to it! Today’s post will briefly go over the changes to setting up a software iSCSI adapter and VMkernel port bindings in vSphere 5. One of the biggest changes you’ll notice is the addition of iSCSI port bindings to the vSphere GUI. To setup and use multiple pNIC’s for iSCSI in 4.1, part of the process had to be done via CLI. It is now all wrapped into the client for a much cleaner look.

The first step is to setup your vSwitches/VMkernel ports. In this example, I’ll be using a vDS, but the process is very similar for a vSS. Below is an example of a vDS setup with two uplink ports as well as two Port Groups:

1

Once your vSwitch is created, we’ll go ahead and create the VMKernel ports. Select Manage Virtual Adapters and then Add:

2

We’ll select a New Virtual Adapter and then add it to our first iSCSI port group:

3

Next we’ll give the VMKernel it’s IP info:

4

Finally, if everything looks okay, click finish to complete the process:

5

Next you’ll want to repeat these same steps and add a second VMkernel adapter and make sure to add it to the second iSCSI port group (iSCSI2 in my case).

In order to make sure each VMkernel port is bound to one pNIC, we need to explicitly set the failover order. This needs to be done for both ports. One the first port, set it to dvUplink1 and the rest to unused. On the second, use the same procedure, but with dvUplink2. Here’s what they should look like:

11

Now that we have our port groups and ports created, let’s add a software iSCSI adapter. Under Storage Adapters, click on Add, then choose Software iSCSI Adapter:

6

7

Once this task completes, you should see the newly created adapter:

8

Now click on the iSCSI adapter and choose properties. Under the Network tab, the VMkernel Port Bindings section should be empty. Let’s fix this by clicking Add.

12

The next screen allows you to choose which VMkernel ports you want to bind to the iSCSI adapter. You can see the two ports we just created (vmk1 and vmk2) that are on our StoragedvSwitch. You can only select one port at a time, so select the first one and then repeat this procedure for the second.

9

If all has gone well, you should see a summary screen similar to following:

10

At this point, you’re free to add in your iSCSI discovery targets and proceed with adding storage. This process is not drastically different than in 4.1, but if you’ve had to do the CLI work before, this makes it a lot cleaner. I’m also a graphical person, so it’s nice to see the status/bindings right in the GUI.

And that about wraps it up for this post. Thanks for reading and I hope you found this useful. Look for more content to come and as always, I welcome any comments or feedback!

Advertisements
Categories: Virtualization, VMware

Your Thoughts

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

%d bloggers like this: