• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Archives for 12 August, 2011

Partitioned Cluster with HA vSphere 5, who owns what?

Duncan Epping · Aug 12, 2011 ·

I received a question today about a partitioned clusters (in vSphere 5.0) with HA. The question was which Master would own which VMs when a partition exists and how is determined which master can own which VM? I have already briefly explained the difference between an isolation and a partition. Now it is good to realize that when a partition exists the new master may take responsibility for VMs. I used “may” intentionally as there is no guarantee it will own any VMs at that point, so why is this and how does it take ownership of VMs?

A master takes ownership of VMs by locking a file on the datastores it is connected to. As soon as the master has an exclusive lock it owns the virtual machines that have their config file on the datastore. (Note that HA cares about the .vmx file and not the VMDK of the VMs.) The file is called “protectedlist” and is stored on each of the datastores under the .vSphere-HA folder as shown in the screenshot below.

Now a master will only release the lock on that file when it is placed in to maintenance mode, removed from the cluster, loses access to the datastore, is rebooted etc. If and when that would happen the other master(s) would take ownership of the VMs which are located on that datastore by locking that file. So what does that mean?  That does indeed mean that in a “normal” situation even though you have two or more masters in a cluster, due to the fact the cluster is partitioned, you would still only have 1 master being responsible for all VMs in that cluster. Unless… unless that master is indeed placed in maintenance mode, loses access to the datastore etc.

Hope that clarifies things,

** edit: changed the wording to clarify the behavior of the master with regards to owning VMs **

Have a Question? Ask the Expert vBloggers! (VSP1425)

Duncan Epping · Aug 12, 2011 ·

This year at VMworld I have the honor to part of a panel discussion moderated by Rick Scherer. Of course I am not the only person on the panel. Next to me the panel will feature my fellow bloggers and virtualization experts: Frank Denneman, Scott Lowe and Chad Sakac. For those of you attending VMworld be sure to register for VSP1425 – Ask the Expert vBloggers today!

So now here is your chance to be part of this great session!  Do you have a question that you’d like the experts to answer? Simply fill out the form below and your question will be added to the queue! We expect you will have great questions during the session but just in case the room goes silent we would like to have a couple of questions to get us started… although I don’t doubt for a second that during the introduction Chad aka “Chat” Sakac will get started right away 🙂

See you in Vegas, make sure to attend this session as panel sessions like these don’t happen often!

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in