Deploying vSAN from Scratch (The Easiest and Fastest Way) | The Step-by-Step vSAN Deploy Guide

vSAN从零部署教程(最简单最快部署vSAN的办法)

This guide will walk you through the simplest and quickest method to deploy a vSAN cluster using the “Cluster vSAN Quickstart” feature within vCenter. The vSAN Quickstart is essentially an installation wizard embedded in the vCenter GUI that facilitates the setup process.

Preparation

To get started, you will need:

  • 1 vCenter VCSA 7.0, version 15934073 (a slightly older version, but it works fine)
  • 4 ESXi hosts, version ESXi 7.0 – 15843807
  • 2 CPUs per host
  • 7GB RAM per host
  • 3 x 10G SSDs per host (we’ll be setting up an all-flash vSAN; for a hybrid mode, you can replace two SSDs with HDDs)
  • 3 physical NICs per host (each for management, vSAN, and vMotion traffic, though two NICs are sufficient)

Steps to Deploy vSAN 7.0 Cluster

1. Enter Maintenance Mode: Log in to vCenter and place all 4 ESXi hosts into maintenance mode.

Enter Maintenance Mode: Log in to vCenter and place all 4 ESXi hosts into maintenance mode.

2. Create a vSAN Cluster: Right-click the data center and create a new vSAN cluster.

Create a vSAN Cluster: Right-click the data center and create a new vSAN cluster.

3.Quickstart Configuration:

Select the newly created cluster.

Go to Configure > QuickStart > Add Hosts.

Go to Configure > QuickStart > Add Hosts.

Select and add all 4 ESXi hosts.

Select and add all 4 ESXi hosts.

vSAN Validation: Wait for the vSAN validation process. Once confirmed, click Configure Cluster.

vSAN Validation: Wait for the vSAN validation process. Once confirmed, click Configure Cluster.

Configure Distributed Switch and Port Groups:

Set up physical adapters for the hosts, using vmnic1 for vSAN.

Set up physical adapters for the hosts, using vmnic1 for vSAN.
Set up physical adapters for the hosts, using vmnic1 for vSAN.2

Configure vSAN VMkernel IP Addresses:

Choose the VMkernel port that will handle vSAN traffic and assign the IP addresses accordingly.

Choose the VMkernel port that will handle vSAN traffic and assign the IP addresses accordingly.

Advanced Cluster Options:

Configure features like data encryption, deduplication, compression, and fault domains.

Configure features like data encryption, deduplication, compression, and fault domains.

Disk Group Configuration:

Assign your disks by setting up disk groups. Allocate one disk for cache and two for capacity.

For our example, we configure a single disk group per host, consisting of 1 cache disk + 2 capacity disks.

For our example, we configure a single disk group per host, consisting of 1 cache disk + 2 capacity disks.
For our example, we configure a single disk group per host, consisting of 1 cache disk + 2 capacity disks.2

Creating the vSAN cluster will take some time.

Creating the vSAN cluster will take some time.

Check for Errors: Use vSAN Skyline Health to verify there are no issues.

Check for Errors: Use vSAN Skyline Health to verify there are no issues.
vSAN Health to verify there are no issues.

Confirm Datastore Creation:

When you see a vSAN-type datastore, it indicates that vSAN is ready.

The total capacity shown should be 80GB, calculated as: 4 hosts × 2 x 10GB capacity disks per host.

The total capacity shown should be 80GB, calculated as: 4 hosts × 2 x 10GB capacity disks per host.

图书推介 - 京东自营

24小时热门

需要协助?或者只是想技术交流一下,直接联系我们!

推荐更多

虚拟机关机原因怎么查?| 怎么调查VM关机重启原因
how-to

How to Investigate VM Shutdown Causes? | How to Identify VM Shutdown and Restart Reasons

In this article, we explore the critical steps to investigate unexpected shutdowns and restarts of virtual machines in a VMware environment. Understanding the causes of these events is essential for maintaining system stability. We delve into various methods for analyzing VMware logs, including how to interpret key entries related to shutdown and restart events. By effectively identifying these issues, users can ensure a more reliable and efficient virtualized environment.

VMware三种快照详解:普通快照,内存快照和静默快照
what-is

Understanding the Three Types of VMware Snapshots: Standard, Memory, and Quiesced Snapshots

In this article, we explore the three types of VMware snapshots—memory, quiesced, and standard snapshots. We’ll break down their differences, ideal use cases, and how each snapshot type can help you optimize your VM management. Whether you’re ensuring data consistency or capturing VM states, this guide will provide practical insights for using VMware snapshots effectively.