Learning VSAN:Part-2-Installation and Configuration


In our last post Overview and Architecture of VSAN we learnt what vSAN is. Why one should use vSAN in their environment and what is the architecture of vSAN.

In this post we will look at how to install and configure VSAN in lab/production environment.

Note: I am using vSAN 6.X in my lab.

Installation Requirements:

VMware KB-2106708 list all the requirements for installing VSAN 6.X in a greater details. Here are the minimum requirements to build a VSAN Lab:

1: Minimum of 3 ESXi 6.0 host that will contribute to storage.

2:At least one SSD and one Hard Disk per host

3: VMkernel port configured for VSAN traffic

4: 1 GB network for small environment Lab/test (For Production VMware recommends 10GB)

vSAN uses Esxi hosts locally attached storage to create a clustered datastore. vSAN is a software feature which is built into the hypervisor (Esxi).

VSAN can be used in 2 mode: hybrid or all-flash.

In hybrid mode we need to associate at least one HDD and one SSD in each of the Esxi host participating in the vSAN cluster. The SSD typically don’t contribute to the storage capacity. The SSD are doing just read caching and write buffer. The aggregation of HDDs from each server in the vSAN cluster forms a vSAN datastore. SSD disks of the Esxi hosts is used as read cache and write buffer in front of the HDDs. The HDDs are there to assure the persistent storage.

The below diagram typically explains the hardware requirements for vSAN

vsan-hw

Lab Preparation

1: Make sure you have created Port Group for VSAN and configured appropriate uplink for this portgroup

vsan-1

2: Host should be associated with this portgroup

vsan-2.PNG

3: vSAN traffic allowed on VMkernel portgroup designated for vSAN

vsan-3-2

4: Make sure you have at least 3 esxi hosts in the cluster

vsan-3.PNG

5: Each Esxi host have at least one SSD and one normal HDD

vsan-3

6: Your infrastructure is licensed for vSAN

Note: if you are running Nested Esxi hosts in your lab, then check this Article by Vladan Seget on how to fake a disk as SSD disk.

Now it’s time to enable vSAN on our cluster.

Note: Disable HA on the cluster before enabling vSAN.

To enable vSAN on the cluster ,login to vSphere WebClient and Select Cluster > Manage > Virtual SAN > Genneral

A: Click on configure button to enable VSAN on cluster.

vsan-6

B: Select manual for Disk Claiming and hit Next.

vsan-7.PNG

C: On Network validation page, hit next if everything looks green.

vsan-8.PNG

D: Select Host on Group by option and select the individual disks from host for capacity Tier and cache Tier. Hit next after making your selection

vsan-9

E: On ready to complete page hit Finish to complete the installation wizard.

vsan-10

With this installation of vSAN has been completed. We will explore vSAN more in upcoming posts of this series.

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing. Be sociable :)

About Alex Hunt

Hi All I am Manish Kumar Jha aka Alex Hunt. I am currently working in VMware Software India Pvt Ltd as Operations System Engineer (vCloud Air Operations). I have around 5 Years of IT experience and have exposure on VMware vSphere, vCloud Director, RHEL and modern data center technologies like Cisco UCS and Cisco Nexus 1000v and NSX. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.
This entry was posted in VSAN. Bookmark the permalink.

3 Responses to Learning VSAN:Part-2-Installation and Configuration

  1. As you mentioned, disable HA before enabling VSAN, so here is this just for during configuration or we can’t use HA with VSAN?

    Like

  2. Pingback: Learning VSAN:Part-3- Storage Policies and VSAN | Virtual Reality

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s