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

Yellow Bricks

by Duncan Epping

  • Home
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

With vSphere 5.0 and HA can I share datastores across clusters?

Duncan Epping · Apr 30, 2012 ·

I have had this question multiple times by now so I figured I would write a short blog post about it. The question is if you can share datastores across clusters with vSphere 5.0 and HA enabled. This question comes from the fact that HA has a new feature called “datastore heartbeating” and uses the datastore as a communication mechanism.

The answer is short and sweet: Yes.

For each cluster a folder is created. The folder structure is as follows:

/<root of datastore>/.vSphere-HA/<cluster-specific-directory>/

 

The “cluster specific directory” is based on the uuid of the vCenter Server, the MoID of the cluster, a random 8 char string and the name of the host running vCenter Server. So even if you use dozens of vCenter Servers there is no need to worry.

Each folder contains the files HA needs/uses as shown in the screenshot below. So no need to worry around sharing of datastores across clusters. Frank also wrote an article about this from a Storage DRS perspective. Make sure you read it!

PS: all these details can be found in our Clustering Deepdive book… find it on Amazon.

Share it:

  • Tweet

Related

BC-DR, Server 5, 5.0, datastore, ha, high availability, vSphere

Reader Interactions

Comments

  1. Mark says

    7 May, 2012 at 17:35

    So, you are saying technically it’s possible to share datastores accross clusters? Just trying to get a little more clarification as in your deep dive you state that it’s recommended to mask on a cluster basis due to admin complexities. I assume the complexitites come with telling HA exactly which datastores to use for heartbeating (ie, instruction to only use cluster datastores if more datastores are shared accross clusters). Thank you.

  2. Adam Stone says

    3 December, 2013 at 02:08

    I have an enterprise customer that is sharing Datastores between a 4.1 cluster and a 5.1 cluster. This setup was meant to be for an immediate migration, but the migration has been delayed and they have been running in this configuration for many months. There was normal SAN event (zoning) and storage event (masking) and the hosts lost access to one of the LUNs. As we are doing an RCA the customer is asking “Is our configuration supported?” So, we know the configuration works, but do you know if this configuration is specifically supported?

    Thank you so much for all the time you put into all this. The industry couldn’t live without you!

    • Duncan Epping says

      3 December, 2013 at 07:09

      As long as the datastore is formatted with VMFS-3 or is an NFS datastore then this is fully supported!

  3. astonevmware says

    5 December, 2013 at 01:56

    aaaand I just found out the customer is not sharing between 2 cluster but between 3 clusters! 2 x 4.1 and 1 x 5.1 cluster. Same answer, or would you see problems there?

Primary Sidebar

About the author

Duncan Epping is a Chief Technologist in the Office of CTO of the Cloud Platform BU at VMware. He is a VCDX (# 007), the author of the "vSAN Deep Dive", the “vSphere Clustering Technical Deep Dive” series, and the host of the "Unexplored Territory" podcast.

Upcoming Events

Feb 9th – Irish VMUG
Feb 23rd – Swiss VMUG
March 7th – Dutch VMUG
May 24th – VMUG Poland
June 1st – VMUG Belgium

Recommended Reads

Sponsors

Want to support Yellow-Bricks? Buy an advert!

Advertisements

Copyright Yellow-Bricks.com © 2023 · Log in