Lost Path Redundancy to Storage Device

After installing 3 new hosts, I kept getting errors for Storage Connectivity stating “Lost path redundancy to storage device naa…….”.  We had 2 fibre cards and one of the paths was being marked as down.  I spent a couple weeks troubleshooting and trying different path selection techniques.  Still, we would randomly get alerts that the redundant path has gone down.  The only fix was to reboot the host, as not even a rescan would bring the path back up.

So after some trial and error, I found a solution.  The RCA isn’t necessarily complete yet, but I believe it was a problem with the fibre switch having an outdated firmware and us using new fibre cards in our hosts.  When using the path selection of Fixed, it would randomly pick an hba to use for each datastore.  Some datastores would use path 2 and some would use path 4.

The solution I came up with was to manually set the preferred path on each datastore (we have about 40, so it was no easy task).  You go into your host configuration, choose storage, pick a datastore and go into properties.  Inside this window, select manage paths from the bottom right and you should see your HBA’s listed.  There is a column marked Preferred with an asterisk showing which hba to prefer for the datastore (see the image below).  I went through and manually set the preferred path to be hba2 instead of letting vmware pick the path. The path selection is persistent across reboot as well when setting it manually.

storage path selectionSince manually setting the preferred path, the hosts have been stable and we have not gotten any more errors about path redundancy.  This is pretty much a band aid fix but at least we are not rebooting hosts 2-3 times per week.

Free eBook: vSphere 5.0 Clustering Deepdive June 5th and 6th

I know that vSphere 5.0 has been out for quite some time and most of you out there are probably running 5.1 at this point, but hey it’s a free book!  The vSphere 5.0 Clustering Deepdive and vSphere 4.1 HA and DRS Deepdive will both be free on the Amazon Kindle store for two days only: June 5th and June 6th.

413xcD9GTZL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA278_PIkin4,BottomRight,-59,22_AA300_SH20_OU01_

Both books are written by Duncan Epping and Frank Denneman.  The two masterminds behind both HA and DRS.  If you haven’t been reading their blogs yet, get on it. Although the book may be a version behind, there is still some great information in here than anyone can use.  And if you are still running 5.0 (like me in my lab), then this is a great pickup for you.

The book goes into depth on the components of HA, DRS and Storage DRS and breaks them down to better understand the architecture behind them.  It will go over Resource Pools, Datastore Clustering, Resource Allocation and more.  And to quote the Amazon Kindle store: “This book is also the ultimate guide to be prepared for any HA, DRS or Storage DRS related question or case study that might be presented during VMware VCDX, VCP and or VCAP exams.”

So get downloading and enjoy some light reading!