jump to navigation

Three Hosts, two VSAN Datastores! October 31, 2013

Posted by wholmes in Software-Defined Storage.
Tags: ,

For those of you who have been testing out VSAN, you may realize that a VSAN cluster only supports one scale-out datastore across participating hosts. Well, while working on an internal Virtual SAN lab setup,  and following my colleague William Lam’s excellent vCenter bootstrap instructions,  I got into a situation where I had a single node vsanDatastore with my vCenter Server Appliance residing on it, and a VSAN enabled vSphere cluster with a second vsanDatastore(1).

So how do I add my single node VSAN host to the existing cluster to achieve a minimum supported VSAN configuration of 3 nodes and a single vsanDatastore? The solution was rather straightforward.

If you try to drag and drop your VSAN single node host into the existing VSAN cluster, this will fail as the VSAN UUIDs will conflict. You would see an alert similar to the below text.

“VSAN cluster UUID mismatch (host: 529d886b-37db-72d6-3511-bfd9843b3f95, destination: 52694edb-6aac-c30f-94e4-              3bb30174d0b0) ”

To resolve this conundrum, first I made sure vMotion and VSAN kernel ports were enabled on all three hosts, and migrated my vCenter Server Appliance from vsanDatastore (on the single node) to vsanDatastore(1) within the vSphere cluster.

Next, I went to the command line on the single node VSAN host, and ran the following command.

     esxcli vsan cluster leave

At this point, the single node vsanDatastore will have been destroyed, and you should now only see one vsanDatastore(1) within the vSphere Web Client Datastores inventory list.

At this point, you can now drag and drop your single node host into the vSphere cluster, and if your VSAN cluster is set to Automatic, all the disks within the single node will be automatically added to the cluster!

As I delve further into the product, I have been very impressed with the stability of VSAN, especially in scenarios where some troubleshooting is required.

Happy Halloween!



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: