Archive for the ‘Virtualization’ Category

New Pluralsight Course: VMware vSphere Security

January 14, 2014 Leave a comment

Happy New Year everyone! This is just a quick post to announce the release of my second Pluralsight course, VMware vSphere Security, which was just published today. If you have a current subscription (or want to sign up for a new one), please check it out:

Hope the course is helpful and any comments/feedback/suggestions are welcomed.

Categories: Security, Uncategorized, VMware

vSphere 5.1 Single Sign On Troubleshooting Adventure

December 23, 2013 1 comment

What was supposed to be a afternoon of host memory upgrades, cluster re-balancing and DRS changes, as well as an upgrade from vSphere 5.1 to 5.1U1, turned into quite the troubleshooting exercise. A few people asked me on Twitter to document the experience so hopefully this post saves a few of you some time if this issue comes up. Here we go!

Before I started, the environment looked something like this:

  1. vCenter Server 5.1 installed on a Windows Server 2008 R2 standard VM. This same machine also had vSphere SSO, vSphere Web Client, vCenter Inventory Service, and vCenter Update Manager on it. All running 5.1 unpatched.
  2. vCenter Server database is stored on an external SQL 2008 server. vCenter SSO database is stored locally on the virtual machine within a SQL 2008 Express instance.
  3. 9 ESXi 5.1 hosts all in a single cluster with HA enabled and DRS set to manual
  4. Active Directory authentication was enabled on both the ESXi hosts and vCenter Server.
  5. AD/DNS/DHCP are hosted on separate physical servers

Given that I needed to power off the hosts to upgrade the memory and they all needed a reboot to patch to ESXi 5.1U1, this meant downtime. Additionally, the current cluster did not have EVC enabled and there are a mix of different processor families here, so we scheduled downtime for the entire environment to shutdown each VM and move the hosts into two, EVC-enabled clusters.

Now that we have some background, the first thing on my list was to upgrade vCenter Server to 5.1u1. Now if you’re not familiar with the Windows installer, when you run the autorun program that comes with the vCenter Server iso, you install the components in the following order:

  1. vCenter Single Sign On
  2. vCenter Inventory Service
  3. vCenter Server
  4. vSphere Client
  5. vSphere Web Client
  6. vCenter Update Manager

There is a simple install option which automates a lot of this, but that is not available for upgrades. It only works if you are doing a new install. So I proceeded with the install order and completed the SSO, Inventory Service, and vCenter Server pieces. Everything installed just fine. Next I updated the vSphere Client and after that installed I attempted to login to vCenter Server using active directory credentials. This is where things went downhill…

Active Directory authentication did not work. I verified AD was actually working properly so this was not the issue. Not being able to login with AD, I tried the default administrator@System-Domain account which let me in. I also updated the vSphere Web Client, in hopes that it would let me in, but the installer wouldn’t let me past the part where you connect it to vCenter SSO. Even though I was typing the correct lookup service URL and username/password, it would come back with “password incorrect or blank”. Now I’m not going to list out all my troubleshooting steps here as it was lengthy, but suffice it to say that I had a corrupt SSO installation/database. Database repairs failed, so my only option was to re-install SSO. And this is where the fun begins!

So after uninstalling vCenter SSO and attempting to reinstall, it came back with an error saying unable to re-create database users. Now this gave me a clue that uninstalling SSO doesn’t actually wipe out the current database configuration. So what you’ll want to do here is use the SQL Server 2008 Management Studio which should be installed on the VM to browse to the local database instance. The default name of the instance is VIM_SQLXP, so the full server name looks like: localhost\VIM_SQLXP or .\VIM_SQLXP

The next thing you need to do is delete both the database used for SSO and the database users. In my case I backed up the database before deleting if, for some reason, I needed something inside of it. The default database name is RSA. After deleting that, I deleted the two DB users:  RSA_User and RSA_DBA. Once that was completed, vCenter SSO installed properly.

Now after re-installing SSO, you are left with an environment that is no longer linked to vCenter SSO. In my case, this meant that the vCenter Inventory Service, vCenter Server, and vSphere Web Client all needed to be repointed.

You will find the following VMware KB very helpful if you ever run into this issue:

The first step in my case was to repoint vCenter Server to the new SSO instance. You do this by performing the following steps (I’m assuming in all these steps that vCenter Server is installed in the default location and ports):

  1. Use Windows explorer and navigate to: C:\Program Files\VMware\Infrastructure\VirtualCenter Server\ssoregtool
  2. Locate the file and extract it to a folder here
  3. Open a command prompt and CD to that folder you just unzipped the files to
  4. Run the following command, updating your vCenter SSO URL, and user/pass as appropriate:

repoint.cmd configure-vc –lookup-server –user “admin@System-Domain” –password “SSO_pw1!” –openssl-path “C:\Program Files\VMware\Infrastructure\Inventory Service\bin/”

If you try to start vCenter Server at this point, it will try to, but fail. You need to re-populate the certificate file names within the VPXD.conf after re-pointing to the new SSO instance. The following VMware KB describes this and I’ve also included the steps below:

  1. Locate the vpxd.conf file which is located in:  C:\ProgramData\VMware\VMware VirtualCenter
  2. Create a copy of this file in case anything goes wrong. Now open this file in Notepad
  3. Search for “null” and you’ll see two fields that look like this:
  4. On both of these fields, change the null values to match below
    <certificate>C:\ProgramData\VMware\VMware VirtualCenter\ssl\sso.crt</certificate>
    <privateKey>C:\ProgramData\VMware\VMware VirtualCenter\ssl\sso.key</privateKey>
  5. Save the file and close it

Now restart both the vCenter Server and vCenter Management Webservices services. Your vCenter Server should now be linked to the new SSO instance and should start up properly.

Next we need to re-link the vSphere Web Client to the new SSO instance. To do that, follow this procedure:

  1. CD to C:\Program Files\VMware\Infrastructure\vSphereWebClient\scripts
  2. Run the following command, replacing your vCenter Server name, admin username, and password:

client-repoint.bat “admin@System-Domain” “SSO_pw1!”

Restart the vSphere Web Client service and you should be able to login to v Center Server  with the user admin@System-Domain and the password you specified during installation. The default URL for the vSphere Web Client is:

At this point, you should be able to login, but you should now see a message about vCenter being unable to connect to the inventory service. We’ll tackle that next…

To fix the Inventory service and re-link it to SSO, we need to perform a similar process:

  1. Open a command prompt and CD to C:\Program Files\VMware\Infrastructure\VirtualCenter Server\isregtool
  2. Run the following command, replacing your vCenter Server name in:


Now you can restart the Inventory Service and it should be re-linked to SSO. You’ll need to restart vCenter Server as well to pickup this change. We’re almost there!

After vCenter Server restarts, login to the vSphere Web Client using the admin@System-Domain credentials again. Although we have fixed all the links to SSO, in my case the Active Directory groups and permissions had been blown away, however the AD identity source was still there. So to add those back, use the following steps:

  1. On the left-hand panel, click on vCenter Home
  2. Click on vCenter Servers until Inventory List. Then click on your vCenter server name
  3. Click on manage along the top row and then choose the Permissions subsection
  4. Click on the + to add a new permission
  5. In my case, I was granting the AD group Domain Administrators the Administrator role in vC. So if you click the add button on the left hand pane, it will let you select your domain and then you can search for and add the group.
  6. Choose whichever role you would like to assign and make sure to do propagate to children

Once that is complete, log back out of the web client (or the vSphere client) and you should be able to login using Active Directory credentials! After that, in my case, I updated vCenter Update Manager and was able to proceed with my host updates.

So that was a bit of a long post, but I wanted to outline what happened and all of the steps I had to go through. Hopefully this helps out one of you if you ever hit this upgrade bug! This whole afternoon made me appreciate the SSO implementation in vSphere 5.5, which was completely re-written, as it is much easier to install and administer!

Categories: Virtualization, VMware

Changes: Getting Back To The Core

September 12, 2013 Leave a comment

This post is a bit of a resurfacing as I have been disconnected from the community lately due to the craziness that has been work and my personal life for the past 6 months. I’m back now though and looking forward to reconnecting with everyone, the community, and the technology!

It’s hard to believe that I’ve been at RSA almost 2.5 years now in my current role as a technology consultant. I have learned a lot, worked with some great people, and most importantly, spoken with  hundreds of EMC/RSA customers. I’ve also been on the leading edge of security technologies both for authentication and advanced analytics and threat detection/prevention. An exciting space to be sure! A big thanks goes out to all those on my direct team and countless others that have helped me throughout this journey.

All that being said, a recent opportunity has come along that I could not pass up. I am very excited to announce that starting October 1st, I will be moving over to a new role within EMC as a vSpecialist for the Northeast region. I am extremely excited to get back to my virtualization and storage roots, focusing on everything EMC and VMware. I am also honored and proud to be joining a team of this caliber. Between the technology, the customers, the partners, and the internal teams that I will be involved with, I can’t wait to get started. I’m also looking forward to participating in many more local VMUG’s and other events and hope to see everyone there!

As part of this new role, I will also be resuming my journey down the VCDX road and aiming for a defense at PEX 2014. So stay tuned for updates, blog posts, and more information around that as things progress.

More to come, but just wanted to share the news with everyone right now!

VCAP5-DCA Exam Experience

October 24, 2012 2 comments

Exam Overview

This post is a little bit overdue, but I wanted to report on my experience with the VCAP5-DCA exam that I took at VMworld US. The exam, much like its DCD counterpart, is 210 minutes. This one has 26 lab questions that you have to complete and each question can have multiple parts. There is partial credit so read each question (and its parts) thoroughly! A passing score is 300.

For studying, the first thing you’ll want to do is download the official blueprint from VMware:

Exam Experience

This was a tough exam just in the sheer amount of tasks you are asked to do in a short amount of time. It basically compresses what you know as a VMware administrator and troubleshooter into 3.5 hours. Repetition of tasks on the blueprint and knowing where to go really helps here! If you don’t have the experience from your job, make sure you lab a lot here. You need to be quick! I ran out of time on the exam as I was running a command. I’m not sure it actually finished when the timer hit zero, but I went up until the last second here.

This exam definitely would have benefited from a dual monitor setup or even alt-tab! You end up switching between the exam questions and then an actual live terminal which is a jump box of sorts. This has all of your vSphere clients, remote desktop connections, SSH, and other connectivity tools. Additionally, the vSphere documentation set is on this VM. Familiarize yourself with the tools on this VM when you start and I would also recommend opening connections to all your important sources. This will save you time later on!

I’ve read mixed thoughts on looking at the documentation during the exam. I’m taking middle ground on this. If you know what to do or how to do something, but need to reference the syntax of a command, open the PDF! This happened to me twice and I actually planned on this before. There are some longer commands that I knew sometimes I don’t remember the exact argument order on, but I knew where to look! You don’t want to spend much time in the docs, but if it’s just for a quick reference and you know where to go, it can be very beneficial. However, if you don’t know how to do an objective, you will waste a lot of time going through the PDF’s trying to find a more general solution. Don’t fall into this trap!

One thing I did notice is that resources on the jumpbox VM were a little slow. I had to close down a few of the PDF’s and I had some duplicate RDP windows which I also closed, this helped to speed up performance. Thankfully I didn’t have any interface crashes this time like on DCD, but a few times switching between questions/lab was a bit slow and it made me a little nervous!

Overall I enjoyed the exam and thought it was one of the more fun formats for cert tests that I’ve taken. It’s definitely a mad rush to the finish, but I really liked how well the live lab format worked and the way you can structure the tasks around a scenario (building out a new datacenter, deploying a new app, etc.).

You will walk out of this one tired! I was mentally drained after focusing and running through the tasks over the 3.5 hours. It is a demanding test for sure!

Tips and Tricks

  • Know each way (PowerCLI, command line, GUI) to do a task on the blueprint, but also have your preferred way. Yes, some things can only be accomplished via GUI or command line, but if not, do it your preferred way and do it fast!
  • A great tip suggested by Tim Antonowicz (@timantz) to me at VMworld was to go through all the questions when you start and write down their objectives. Some tasks will build upon others you’ve previously completed and there are others that require you to wait while something completes. This way, you can group tasks together or know what you can move onto next while waiting.
  • Be able to troubleshoot quickly. I’ve had practice with this in a production environment when your manager is breathing down your neck to get a server back up, but know where to look when things go wrong! Even if you haven’t had the job experience, do this in your lab. I’d even suggest letting a friend remote in and break a few things for you, then methodically go back and investigate/fix them.
  • Write down the password for your system account. The password will be the same across all the different resources and it’s also displayed on the desktop. However, I found a few instances where I wasted time by having to move a window out of the way to see the password. If you’re like me, the stress of the exam makes you forget the password or you try typing in your own lab password which doesn’t quite work. Easy solution, write it down on your whiteboard!
  • Make sure you know the other components (networking, storage, etc.) that can also affect a VMware environment. Familiarity with these and knowing a lot of the corner cases or lesser-used features will help you here!


Final Thoughts

One word. Patience Smile When I finished up the exam, a note said results would come within 15 business days. A little over 40 business days later and mine finally came! I was very excited to receive the e-mail saying I had passed! It looks like there is a bit of a backlog over at the certification team right now though, so don’t be surprised if your results are delayed.

The Advanced track of the VMware datacenter virtualization certification ladder has been a fun one! I really enjoyed this exam and DCD. Now it’s onto VCDX, which I hope to be defending a defense at PEX in February 2013!

VMware vExpert 2012 – A Big Thank You!

April 17, 2012 Leave a comment

I received some awesome news this weekend. I am humbled and honored to be included among the vExperts for 2012. This is an award that recognizes members of what I believe is one the strongest communities across any vendor and technology. While the other names are far too many to list, to use a phrase, I am among giants. Check out the full list here:

This also serves as a reminder of how important the community is and how I enjoy giving back. Over the years I have had the support of many members from this group and I intend to do even more this year to give back. Make sure to hold me to that!

Congratulations to all the others for their hard work this year, it’s well deserved!

And lastly, a big thank you to VMware and all those involved in this great program!

Learning To Embrace Automation

February 13, 2012 Leave a comment

As I’m sitting here on a semi-snowy New England Saturday, I’m reminded of a question that my good friend and fellow colleague, Mike Foley, always poses. Can we write a PowerShell script for this?image

Automation and orchestration products, whether it be something like vCenter Orchestrator, or just simply leveraging PowerCLI for scripting, can really be of value to both a virtual environment and the team that manages it. My project for today was re-designing my lab infrastructure and included re-installing a lot of the vSphere components. I could make a list that is pages long of the manual configuration steps I’ve been running through. These steps are also prone to error. What if I’ve missed a setting on one host? Have I configured the portgroup differently on vSwitches? The point here is there’s a lot of room for error. Since I was aiming for consistency across my environment, an error here could come back to haunt me later.

In a previous life, I was a systems admin on a small team. I barely had time to manage day-to-day operations, let alone try to write automation scripts. Looking back on it though, my approach was error prone and with a little bit of up-front work, I could have saved myself hours.

A friend said to me recently, “Brian, I could automate myself out of a job. Why would I want to do that?”. On the surface, he made a good point, but I dove a little deeper with him. You would automate yourself out of what can sometimes be mindless or repetitive daily tasks. That is very true and one thing that PowerShell is great at! Wouldn’t it be great though if all these manual daily tasks were removed and then you could focus on more strategic, long-term projects that much more fully utilize your technology skillset? My friend was skeptical until he started thinking about this. He was eliminating portions of his job requirements, or making them a lot easier and less time consuming at least. Having a more strategic focus on projects sure sounded great though!

It’s ideas like these that make automation easier to grasp. Yes, it’s a time investment up front, no getting around that. However, the time you put in at the beginning, will be worth it in the long run!

Another advantage that you get through automation is increased security. We talk about a model in security where leveraging automation and orchestration can actually increase visibility for any unknown or potentially malicious actions that may be occurring. If you create a baseline of workflows that administrators or users can perform in an environment, you can build a foundation of consistency. Additionally, now that you have defined workflows that are known good, any actions outside of these stick out to your monitoring tools. It then makes it much easier to alert and report on these potential security risks.

I’ve only touched on a few of many reasons why automation should be given a serious consideration. I’ve been talking about this to more and more customers and I’d love if this blog post is even just a starting point for future conversations. Please feel free to chime in on this, how has automation helped your environment or made your job easier?


VCP 5 Exam Thoughts and Experience

September 26, 2011 5 comments

A little over a year ago, at VMworld 2010 in San Francisco, I took and passed the VCP 4 exam. This was my first VMware exam and at the time was based on vSphere 4.0. It was a hard test, no getting around that, but I felt it was pretty fair overall. As the test has now been upgraded to vSphere 5, I was curious to see how the exam had evolved over two generations (4.1 and 5). I’ve outlined some of my thoughts below and also included some resources that are useful for those studying for the exam.

VCP 4 Upgrade path

(taken from

First let’s start with a quick discussion on the upgrade path, which has been somewhat of a debate in the community lately. VMware has a requirement of taking a certified, week-long course in addition to passing the VCP exam in order to become a VCP. This course is definitely a barrier to entry for some as the cost of it is around $2000.

Normally, if you are a VCP 3 or 4, you will need to take a “VMware vSphere: What’s New” course in addition to passing the exam to become a VCP 5. However, VMware has waived this requirement until February 29th, 2012 for VCP 4’s. So, if you’re a VCP 4, get out there and take the exam now!

VCP510 Exam Experience

I’ve taken a handful of industry certification tests from some of the major vendors (VMware, Cisco, Microsoft, etc.) and I think that VMware’s tests are some of the best for assessing real-world skills. To me, one of the marks of a good test is not just making you memorize numbers and specifications, but presenting questions that require you to use the knowledge that you’ve gained via studying in real-world situations. It’s one thing to memorize the entire vSphere 5 configuration maximums (you should be familiar with them nonetheless), but to make you go a little further and think how these affect other pieces in an environment is the more useful information.

Without breaking any of the NDA restrictions, I actually felt like the VCP 5 exam tested more on real-world knowledge and actual implementation questions than the VCP 4 test did. VMware did a good job of taking some realistic situations and then mapping the blueprint objectives and skills to these. I felt that the VCP 4 had a lot more of the straight memorization of numbers or more marketing/cloud intro material and this test moved away from that a bit. This was a welcome change as I feel the exam has a lot more practical value this way.

The test was 85 multiple-choice questions and you had 90 minutes to complete it. I felt like this was plenty of time and was done a little early, but I’m usually a quick test-taker so take that with a grain of salt.

I’ll say it straight out, this test is not easy. You absolutely need to have hands on experience using vSphere 5 or you will have a tough time with this test. As much information as there is in the PDF’s, there’s just something about knowing the interface and components from actually performing the tasks rather than just reading about them. This can also help you narrow down answers as you know which ones don’t fit based on actual usage. The PDF’s really only tell you one right answer whereas experience tells you which answers you can eliminate. For questions that have multiple answers that seem like they could be correct, this type of experience is valuable to help focus in on the best answer.

One mistake that I’ve heard a few people who were studying for this exam make is glossing over some of the installation/deployment sections. While it may seem like a lot of the focus of the exam topics are operational, you still have to know the install procedure for vCenter server. Likewise, know how each product is deployed, whether it be virtual appliances or installing on top of Windows. I’ll say this a few times, but don’t overlook some of the smaller details!

Another element that I like about this test is that it forces you to become familiar with some of the vSphere features you may not use on a daily basis. I used to work for a small company, so I didn’t get to use features such as NUMA, NPIV, or even FC storage. However, the exam tests you on features that are used across environments large and small. This means you get a much better exposure than you might normally get in your daily job. This is a perfect opportunity to get things working in your home lab. Or for those features that you can’t (I wish I had FC in my lab!), that’s when it’s time to hit the books and ask your peers!

Official Study Resources

Your first source of information should be the VCP 5 blueprint, located here:

Additionally, the blueprint links to all of the official VMware docs in PDF format. These are must reads and map directly to the blueprint! A direct link to the vSphere 5 Documentation Center is here: – VCP 5 mock exam. This is VMware’s official mock exam with some practice questions to try before taking the test.


Mastering VMware vSphere 4 – Scott Lowe

This is still the vSphere 4 version (Scott’s vSphere 5 update is coming the end of October), but it’s a great reference that covers a lot of the material on the blueprint in depth.

VMware vSphere 5 Clustering Technical Deepdive – Frank Denneman and Duncan Epping

This is the resource on HA/DRS and all things clustering. There have been major changes in HA between vSphere 4 and vSphere 5, so definitely check this one out to get up to speed!

Other Helpful Sites: – Damian has put together some great posts on some of the newer vSphere 5 features and also some VCP 5 resources. – When I was first starting to learn some of the networking and FC components and how they fit into VMware, Scott’s post on NPIV was very helpful! – Simon has created both VCP 4 and VCP 5 practice tests. Definitely give these a try before the exam to see if you are on track with your studying.

I’ve linked to a few specific posts on these blogs, but just browse around and check the others out as they all have excellent vSphere-related content!

Also, if anyone has any resources to add to my list, please post them in the comments and I’ll be sure to include them!

Home Lab Tips

Nothing groundbreaking here, but just a few tips for those starting out with home labs and looking for studying advice.

Get two hosts if you can! You can even do this by virtualizing two instances of ESXi in VMware Workstation. Version 8 now supports nested 64-bit guests, so this opens a lot of possibilities! I have it running on my desktop and it works great. Either way though, try to build a setup with two hosts. There are just too many things you’ll miss out on by not having that second host.

Build out some common scenarios or designs and walk through the configuration of these. I’m currently studying for the VCAP-DCD, so I’ve been using some of those designs as examples and building them out. It always helps to have some examples like this where you can configure things end-to-end.

Lastly, break things! It’s your home lab, not production! Sometimes the situations when we learn the most are by fixing something that is broken. Try configuring something and if it doesn’t work, step through the process and figure out what happened and what was wrong. When you eventually fix the problem, you’ll have a much better understanding of the troubleshooting and of each component that you’ve worked with along the way.

Final Thoughts

I did pass the exam and am now a VCP 5. I have 5 years of hands-on experience administrating/using VMware and it still was not easy! Definitely make sure you know all of the topics on the blueprint. Also, don’t overlook things that you think may not be important. I think that practical knowledge is key here and not only being able to understand the concepts from the blueprint, but also how to use them. Finally, nothing beats hands-on! Get a home lab up and running if you haven’t already and play around with this stuff! It’s the best way to learn!

Best of luck to all those taking the test! I’d love to hear your thoughts!

Categories: VMware Tags: , , ,

VMworld 2011–It’s Going To Be Epic!

August 9, 2011 Leave a comment

This summer has seriously flown by! It’s hard to believe that in three weeks I’ll be flying out to Vegas for VMworld. Between the sessions, labs, networking events, and a party or two, the week is shaping up to be awesome!

I have a bunch of great sessions scheduled for this year. I’m also really glad they are doing scheduling this time, it will avoid the hour and a half lines that I waited in last year. This will allow for more time to talk with presenters afterwards so I’m excited! I won’t list all my sessions out, but here are a few that are on the top of my list:

VSP1926- Getting Started with VMware vSphere Design

I’m really looking forward to Scott’s session on vSphere design. His book that came out this year on the same topic was excellent, so it will be good to expand on this and hear from experiences in the field!

VSP1425- Ask the Expert vBloggers

Put this many vExperts in a room, throw out some user submitted questions, what more do you need? Smile

CIM1644- The Path from Lab Manager to VMware vCloud Director: A Customer Journey

I submitted a session on a similar topic, so I’m very interested to hear this one. The migration from Lab Manager to vCloud Director is not trivial and it is a big step forward in cloud strategy. I’m interested to hear the customer experience on this one!

VSP3111- Cisco Nexus 1000v: Architecture, Deployment and Management

One of my top sessions from last year, Jason has updated the content for vSphere 5 and as a Cisco guy at heart, how can you not get excited for this one?

VSP2757- A Deep Dive on Virtual Distributed Switching and Cisco Nexus 1000v

vSphere 5 brings some much needed enhancements to the vDS. I’m really looking forward to the discussion around vDS vs. Nexus 1000v and real-world implementation advice for both! This, and Jason’s dedicated Nexus 1000V session, are ones you won’t want to miss!

VSP1682- VMware vSphere Clustering Q&A

What’s better than an early morning session from the two guys that wrote the book on Clustering and HA?


All things are pointing towards this year being epic! Not only do you have all the great sessions, but the Hands on Labs will be bigger and even more awesome than last year! There were some insane numbers on how many VM’s were deployed over the week last year and their goal is to crush that number!

At the EMC booth, we will also have our own Hands on Labs in the solutions exchange. RSA will be well represented with some excellent content around vShield Data Security. A lot of people have put in a ton of work on these labs, so I’m really looking forward to these! I’ll be around the booth, so come stop by and check out the labs!

Most of all though, I’m looking forward to seeing a lot of my friends from the community who for some, I only get to see at this event. I’m also excited to meet a lot of new faces and chat with my fellow vNerds. So drop me a note in the comments here if you’ll be attending and make sure to say Hi!

Will Vegas be ready for us? I sure hope so!

Categories: Conferences, VMware Tags: ,

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

August 2, 2011 1 comment

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:


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


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


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


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


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:


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:



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


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.


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.


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


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!

Categories: Virtualization, VMware