Vsan 673 Administration Guide - 2
Vsan 673 Administration Guide - 2
Vsan 673 Administration Guide - 2
vSAN
Update 3
20 AUG 2019
VMware vSphere 6.7
VMware vSAN 6.7
Administering VMware vSAN
You can find the most up-to-date technical documentation on the VMware website at:
https://docs.vmware.com/
docfeedback@vmware.com
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
©
Copyright 2015-2019 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc. 2
Contents
1 Introduction to vSAN 7
VMware, Inc. 3
Administering VMware vSAN
VMware, Inc. 4
Administering VMware vSAN
VMware, Inc. 5
About Administering VMware vSAN
Administering VMware vSAN describes how to configure and manage a vSAN cluster in a VMware
®
vSphere environment. In addition, Administering VMware vSAN explains how to manage the local
physical storage resources that serve as storage capacity devices in a vSAN cluster, and how to define
storage policies for virtual machines deployed to vSAN datastores.
Intended Audience
This information is for experienced virtualization administrators who are familiar with virtualization
technology, day-to-day data center operations, and vSAN concepts.
For more information about vSAN and how to create a vSAN cluster, see the vSAN Planning and
Deployment Guide.
For more information about monitoring a vSAN cluster and fixing problems, see the vSAN Monitoring and
Troubleshooting Guide.
Tasks for which the workflow differs significantly between the vSphere Client and the vSphere Web Client
have duplicate procedures that provide steps according to the respective client interface. The procedures
that relate to the vSphere Web Client, contain vSphere Web Client in the title.
Note In vSphere 6.7 Update 3, almost all of the vSphere Web Client functionality is implemented in the
vSphere Client. For an up-to-date list of any remaining unsupported functionality, see Functionality
Updates for the vSphere Client.
VMware, Inc. 6
Introduction to vSAN 1
VMware vSAN is a distributed layer of software that runs natively as a part of the ESXi hypervisor. vSAN
aggregates local or direct-attached capacity devices of a host cluster and creates a single storage pool
shared across all hosts in the vSAN cluster.
While supporting VMware features that require shared storage, such as HA, vMotion, and DRS, vSAN
eliminates the need for external shared storage and simplifies storage configuration and virtual machine
provisioning activities.
VMware, Inc. 7
Configuring and Managing a
vSAN Cluster 2
You can configure and manage a vSAN cluster by using the vSphere Client, esxcli commands, and other
tools.
n Disable vSAN
VMware, Inc. 8
Administering VMware vSAN
Prerequisites
Create a cluster and add hosts to the cluster before using the Configure vSAN wizard to complete the
basic configuration.
Procedure
n Single site cluster. All hosts at one site, with shared witness functions.
n Two host vSAN cluster. One host at each site, and a witness host at another site.
n Stretched cluster. Two active data sites, each with an even number of hosts and storage devices,
and a witness host at a third site.
c (Optional) Select the Allow Reduced Redundancy check box to enable encryption or
deduplication and compression on a vSAN cluster that has limited resources. For example, if you
have a three-host cluster with the Primary level of failures to tolerate set to 1. If you allow
reduced redundancy, your data might be at risk during the disk reformat operation.
d (Optional) Enable large cluster support for up to 64 hosts in the vSAN cluster.
6 On the Claim disks page, select the disks for use by the cluster and click Next.
For each host that contributes storage, select one flash device for the cache tier, and one or more
devices for the capacity tier.
7 Follow the wizard to complete the configuration of the cluster, based on the fault tolerance mode.
a If you selected Configure two host vSAN cluster, choose a witness host for the cluster, and
claim disks for the witness host.
b If you selected Configure stretched cluster, define fault domains for the cluster, choose a
witness host, and claim disks for the witness host.
c If you selected Configure fault domains, define fault domains for the cluster.
For more information about fault domains, see Managing Fault Domains in vSAN Clusters.
For more information about stretched clusters, see "Introduction to Stretched Clusters" in vSAN
Planning and Deployment.
8 On the Ready to complete page, review the configuration, and click Finish.
VMware, Inc. 9
Administering VMware vSAN
Enabling vSAN creates a vSAN datastore and registers the vSAN storage provider. vSAN storage
providers are built-in software components that communicate the storage capabilities of the datastore to
vCenter Server.
What to do next
Verify that the vSAN datastore has been created. See View vSAN Datastore.
Verify that the vSAN storage provider is registered. See View vSAN Storage Providers.
Claim the storage devices or create disk groups. See Administering VMware vSAN.
Prerequisites
You must create a cluster and add hosts to the cluster before using the Configure vSAN wizard to
complete the basic configuration.
Procedure
VMware, Inc. 10
Administering VMware vSAN
a (Optional) Select the Deduplication and Compression check box if you want to enable
deduplication and compression on the cluster.
You can select the Allow Reduced Redundancy check box to enable deduplication and
compression on a vSAN cluster that has limited resources, such as a three-host cluster with the
Primary level of failures to tolerate set to 1. If you allow reduced redundancy, your data might
be at risk during the disk reformat operation.
b (Optional) Select the Encryption check box if you want to enable data at rest encryption, and
select a KMS.
Option Description
2 host vSAN cluster Provides fault tolerance for a cluster that has two hosts at a remote office, with
a witness host in the main office. Set the Primary level of failures to tolerate
policy to 1.
Stretched cluster Supports two active sites, each with an even number of hosts and storage
devices, and a witness host at a third site.
Configure fault domains Supports fault domains that you can use to group vSAN hosts that might fail
together. Assign one or more hosts to each fault domain.
d You can select the Allow Reduced Redundancy check box to enable encryption or
deduplication and compression on a vSAN cluster that has limited resources. For example, if you
have a three-host cluster with the Primary level of failures to tolerate set to 1. If you allow
reduced redundancy, your data might be at risk during the disk reformat operation.
5 Click Next.
6 On the Network validation page, check the settings for vSAN VMkernel adapters, and click Next.
7 On the Claim disks page, select the disks for use by the cluster and click Next.
For each host that contributes storage, select one flash device for the cache tier, and one or more
devices for the capacity tier.
8 Follow the wizard to complete the configuration of the cluster, based on the fault tolerance mode.
a If you selected Configure two host vSAN cluster, choose a witness host for the cluster, and
claim disks for the witness host.
b If you selected Configure stretched cluster, define fault domains for the cluster, choose a
witness host, and claim disks for the witness host.
c If you selected Configure fault domains, define fault domains for the cluster.
For more information about fault domains and stretched clusters, see Administering VMware vSAN.
9 On the Ready to complete page, review the configuration, and click Finish.
VMware, Inc. 11
Administering VMware vSAN
Prerequisites
Verify that your environment meets all requirements. See Requirements for Enabling vSAN" in
Administering VMware vSAN.
Procedure
Option Description
What to do next
Claim the storage devices or create disk groups. See Administering VMware vSAN.
Disable vSAN
You can turn off vSAN for a host cluster.
When you disable the vSAN cluster, all virtual machines located on the shared vSAN datastore become
inaccessible. If you intend to use virtual machine while vSAN is disabled, make sure you migrate virtual
machines from vSAN datastore to another datastore before disabling the vSAN cluster.
VMware, Inc. 12
Administering VMware vSAN
Prerequisites
Procedure
Option Description
Edit the settings of an existing vSAN cluster if you want to enable deduplication and compression, or to
enable encryption. If you enable deduplication and compression, or if you enable encryption, the on-disk
format of the cluster is automatically upgraded to the latest version.
Procedure
VMware, Inc. 13
Administering VMware vSAN
Option Description
VMware, Inc. 14
Administering VMware vSAN
Prerequisites
Procedure
1 Navigate to Storage.
The size of the vSAN datastore depends on the number of capacity devices per ESXi host and the
number of ESXi hosts in the cluster. For example, if a host has seven 2 TB for capacity devices, and
the cluster includes eight hosts, the approximate storage capacity is 7 x 2 TB x 8 = 112 TB. When
using the all-flash configuration, flash devices are used for capacity. For hybrid configuration,
magnetic disks are used for capacity.
n On-disk format version 2.0 adds capacity overhead, typically no more than 1-2 percent capacity
per device.
n On-disk format version 3.0 and later adds capacity overhead, typically no more than 1-2 percent
capacity per device. Deduplication and compression with software checksum enabled require
additional overhead of approximately 6.2 percent capacity per device.
VMware, Inc. 15
Administering VMware vSAN
What to do next
Create a storage policy for virtual machines using the storage capabilities of the vSAN datastore. For
information, see the vSphere Storage documentation.
When you upload a vmdk file to a vSAN datastore, the following considerations apply:
n You can upload only stream-optimized vmdk files to a vSAN datastore. VMware stream-optimized file
format is a monolithic sparse format compressed for streaming. If you want to upload a vmdk file that
is not in stream-optimized format, then, before uploading, convert it to stream-optimized format using
the vmware-vdiskmanager command‐line utility. For more information, see Virtual Disk Manager
User’s Guide.
n When you upload a vmdk file to a vSAN datastore, the vmdk file inherits the default policy of that
datastore. The vmdk does not inherit the policy of the VM from which it was downloaded. vSAN
creates the objects by applying the vsanDatastore default policy, which is RAID -1. You can change
the default policy of the datastore. See Change the Default Storage Policy for vSAN Datastores .
Procedure
Option Description
Upload Files a Select the target folder and click Upload Files. You see a message informing
that you can upload vmdk files only in VMware stream-optimized format. If you
try uploading a vmdk file in a different format, you see an internal server error
message.
b Click Upload.
c Locate the item to upload on the local computer and click Open.
Upload Folders a Select the target folder and click Upload Folder. You see a message informing
that you can upload vmdk files only in VMware stream-optimized format.
b Click Upload.
c Locate the item to upload on the local computer and click Open.
VMware, Inc. 16
Administering VMware vSAN
The vmdk files are downloaded as stream-optimized files with the filename <vmdkName>_stream.vmdk.
VMware stream-optimized file format is a monolithic sparse format compressed for streaming.
You can convert a VMware stream-optimized vmdk file to other vmdk file formats using the vmware-
vdiskmanager command‐line utility. For more information, see Virtual Disk Manager User’s Guide.
Procedure
You see a message alerting you that vmdk files are downloaded from the vSAN datastores in VMware
stream-optimized format with the filename extension .stream.vmdk.
3 Click Download.
VMware, Inc. 17
Using vSAN Policies 3
When you use vSAN, you can define virtual machine storage requirements, such as performance and
availability, in a policy. vSAN ensures that each virtual machine deployed to vSAN datastores is assigned
at least one storage policy.
After they are assigned, the storage policy requirements are pushed to the vSAN layer when a virtual
machine is created. The virtual device is distributed across the vSAN datastore to meet the performance
and availability requirements.
vSAN uses storage providers to supply information about underlying storage to the vCenter Server. This
information helps you to make appropriate decisions about virtual machine placement, and to monitor
your storage environment.
n Host Affinity
n Define a Storage Policy for vSAN Using the vSphere Web Client
When you enable vSAN on a host cluster, a single vSAN datastore is created and a default storage policy
is assigned to the datastore.
When you know the storage requirements of your virtual machines, you can create a storage policy
referencing capabilities that the datastore advertises. You can create several policies to capture different
types or classes of requirements.
VMware, Inc. 18
Administering VMware vSAN
Each virtual machine deployed to vSAN datastores is assigned at least one virtual machine storage
policy. You can assign storage policies when you create or edit virtual machines.
Note If you do not assign a storage policy to a virtual machine, vSAN assigns a default policy. The
default policy has Primary level of failures to tolerate set to 1, a single disk stripe per object, and a thin-
provisioned virtual disk.
The VM swap object and the VM snapshot memory object do not adhere to the storage policies assigned
to a VM. These objects are configured with Primary level of failures to tolerate set to 1. These objects
might not have the same availability as other objects that have been assigned a policy with a different
value for Primary level of failures to tolerate.
Capability Description
Primary level of failures to tolerate (PFTT) Defines the number of host and device failures that a virtual machine object can
tolerate. For n failures tolerated, each piece of data written is stored in n+1
places, including parity copies if using RAID 5 or RAID 6.
When provisioning a virtual machine, if you do not select a storage policy, vSAN
assigns this policy as the default virtual machine storage policy.
If fault domains are configured, 2n+1 fault domains with hosts contributing
capacity are required. A host which does not belong to a fault domain is
considered its own single-host fault domain.
Default value is 1. Maximum value is 3.
Note If you do not want vSAN to protect a single mirror copy of virtual machine
objects, you can specify PFTT = 0. However, the host might experience unusual
delays when entering maintenance mode. The delays occur because vSAN must
evacuate the object from the host for the maintenance operation to complete
successfully. Setting PFTT = 0 means that your data is unprotected, and you
might lose data when the vSAN cluster encounters a device failure.
Note If you create a storage policy and you do not specify a value for PFTT,
vSAN creates a single mirror copy of the VM objects. It can tolerate a single
failure. However, if multiple component failures occur, your data might be at risk.
In a stretched cluster, this rule defines the number of site failures that a virtual
machine object can tolerate. You can use PFTT with the SFTT to provide local
fault protection for objects within your data sites.
The maximum value for a stretched cluster is 1.
Secondary level of failures to tolerate (SFTT) In a stretched cluster, this rule defines the number of additional host failures that
the object can tolerate after the number of site failures defined by PFTT is
reached. If PFTT = 1 and SFTT = 2, and one site is unavailable, then the cluster
can tolerate two additional host failures.
Default value is 1. Maximum value is 3.
Data Locality In a stretched cluster, this rule is available only if the Primary level of failures to
tolerate is set to 0. You can set the Data Locality rule to None, Preferred, or
Secondary. This rule enables you to limit virtual machine objects to a selected
site or host in the stretched cluster.
Default value is None.
VMware, Inc. 19
Administering VMware vSAN
Capability Description
Failure tolerance method Specifies whether the data replication method optimizes for Performance or
Capacity. If you select RAID-1 (Mirroring) - Performance, vSAN uses more disk
space to place the components of objects but provides better performance for
accessing the objects. If you select RAID-5/6 (Erasure Coding) - Capacity,
vSAN uses less disk space, but the performance is reduced. You can use RAID 5
by applying the RAID-5/6 (Erasure Coding) - Capacity attribute to clusters with
four or more fault domains, and set the Primary level of failures to tolerate to
1. You can use RAID 6 by applying the RAID-5/6 (Erasure Coding) - Capacity
attribute to clusters with six or more fault domains, and set the Primary level of
failures to tolerate to 2.
In stretched clusters with Secondary level of failures to tolerate configured,
this rule applies only to the Secondary level of failures to tolerate.
For more information about RAID 5 or RAID 6, see Using RAID 5 or RAID 6
Erasure Coding.
Number of disk stripes per object The minimum number of capacity devices across which each replica of a virtual
machine object is striped. A value higher than 1 might result in better
performance, but also results in higher use of system resources.
Default value is 1. Maximum value is 12.
Do not change the default striping value.
In a hybrid environment, the disk stripes are spread across magnetic disks. For
an all-flash configuration, the striping is across flash devices that make up the
capacity layer. Make sure that your vSAN environment has sufficient capacity
devices present to accommodate the request.
Flash read cache reservation Flash capacity reserved as read cache for the virtual machine object. Specified
as a percentage of the logical size of the virtual machine disk (vmdk) object.
Reserved flash capacity cannot be used by other objects. Unreserved flash is
shared fairly among all objects. Use this option only to address specific
performance issues.
You do not have to set a reservation to get cache. Setting read cache
reservations might cause a problem when you move the virtual machine object
because the cache reservation settings are always included with the object.
The Flash Read Cache Reservation storage policy attribute is supported only for
hybrid configurations. You must not use this attribute when defining a VM storage
policy for an all-flash cluster.
Default value is 0%. Maximum value is 100%.
VMware, Inc. 20
Administering VMware vSAN
Capability Description
Force provisioning If the option is set to Yes, the object is provisioned even if the Primary level of
failures to tolerate, Number of disk stripes per object, and Flash read cache
reservation policies specified in the storage policy cannot be satisfied by the
datastore. Use this parameter in bootstrapping scenarios and during an outage
when standard provisioning is no longer possible.
The default No is acceptable for most production environments. vSAN fails to
provision a virtual machine when the policy requirements are not met, but it
successfully creates the user-defined storage policy.
Object space reservation Percentage of the logical size of the virtual machine disk (vmdk) object that must
be reserved, or thick provisioned when deploying virtual machines. The following
options are available:
n Thin provisioning (default)
n 25% reservation
n 50% reservation
n 75% reservation
n Thick provisioning
Disable object checksum If the option is set to No, the object calculates checksum information to ensure
the integrity of its data. If this option is set to Yes, the object does not calculate
checksum information.
vSAN uses end-to-end checksum to ensure the integrity of data by confirming
that each copy of a file is exactly the same as the source file. The system checks
the validity of the data during read/write operations, and if an error is detected,
vSAN repairs the data or reports the error.
If a checksum mismatch is detected, vSAN automatically repairs the data by
overwriting the incorrect data with the correct data. Checksum calculation and
error-correction are performed as background operations.
The default setting for all objects in the cluster is No, which means that
checksum is enabled.
IOPS limit for object Defines the IOPS limit for an object, such as a VMDK. IOPS is calculated as the
number of I/O operations, using a weighted size. If the system uses the default
base size of 32 KB, a 64-KB I/O represents two I/O operations.
When calculating IOPS, read and write are considered equivalent, but cache hit
ratio and sequentiality are not considered. If a disk’s IOPS exceeds the limit, I/O
operations are throttled. If the IOPS limit for object is set to 0, IOPS limits are
not enforced.
vSAN allows the object to double the rate of the IOPS limit during the first second
of operation or after a period of inactivity.
When working with virtual machine storage policies, you must understand how the storage capabilities
affect the consumption of storage capacity in the vSAN cluster. For more information about designing and
sizing considerations of storage policies, see "Designing and Sizing a vSAN Cluster" in Administering
VMware vSAN.
VMware, Inc. 21
Administering VMware vSAN
When you modify a policy, the change is accepted but not applied immediately. vSAN batches the policy
change requests and performs them asynchronously, to maintain a fixed amount of transient space.
Policy changes are rejected immediately for non-capacity related reasons, such as changing a RAID5
policy to RAID6 on a five-node cluster.
You can view transient capacity usage in the vSAN Capacity monitor. To verify the status of a policy
change on an object, use the vSAN health service to check the vSAN object health.
Host Affinity
The vSAN Host Affinity storage policy enables you to store a single copy of data on a VM's local host.
The vSAN Host Affinity storage policy adapts the efficiency and resiliency of vSAN for next-generation,
shared-nothing applications. When you use this policy, vSAN maintains a single copy of the data, which is
stored on the local host running the VM. This policy is offered as a deployment choice for Big Data
(Hadoop, Spark), NoSQL, and other such applications that maintain data redundancy at the application
layer.
vSAN Host Affinity has specific requirements and guidelines that require VMware validation to ensure
proper deployment. The vSAN Host Affinity policy must be applied to all of the VMs in the cluster, and
cannot be combined with other policies on the same cluster. vSAN Encryption and Deduplication cannot
be used with the vSAN Host Affinity policy. vSphere DRS and HA options must be turned off to prevent
automated movement of VMs.
Administrators interested in this feature must contact VMware to file an intent to deploy request. VMware
will evaluate the request to ensure that your deployment meets the requirements before approving for
support and production use. VMware shall not support any deployment that does not have explicit
approval. For more information, contact your VMware representative.
vSAN storage providers are built-in software components that communicate datastore capabilities to
vCenter Server. A storage capability typically is represented by a key-value pair, where the key is a
specific property offered by the datastore. The value is a number or range that the datastore can provide
for a provisioned object, such as a virtual machine home namespace object or a virtual disk. You can also
use tags to create user-defined storage capabilities and reference them when defining a storage policy for
a virtual machine. For information about how to apply and use tags with datastores, see the vSphere
Storage documentation.
The vSAN storage providers report a set of underlying storage capabilities to vCenter Server. They also
communicate with the vSAN layer to report the storage requirements of the virtual machines. For more
information about storage providers, see the vSphere Storage documentation.
vSAN registers a separate storage provider for each host in the vSAN cluster, using the following URL:
VMware, Inc. 22
Administering VMware vSAN
http://host_ip:8080/version.xml
Procedure
The storage providers for vSAN appear on the list. Each host has a storage provider, but only one storage
provider is active. Storage providers that belong to other hosts are in standby. If the host that currently
has the active storage provider fails, the storage provider for another host becomes active.
Note You cannot manually unregister storage providers used by vSAN. To remove or unregister the
vSAN storage providers, remove corresponding hosts from the vSAN cluster and then add the hosts
back. Make sure that at least one storage provider is active.
The default policy contains vSAN rule sets and a set of basic storage capabilities, typically used for the
placement of virtual machines deployed on vSAN datastores.
Specification Setting
Flash read cache reservation, or flash capacity used for the read 0
cache
Force provisioning No
You can review the configuration settings for the default virtual machine storage policy when you navigate
to the VM Storage Policies > vSAN Default Storage Policy > Manage > Rule-Set 1: VSAN.
For best results, consider creating and using your own VM storage policies, even if the requirements of
the policy are same as those defined in the default storage policy. For information about creating a user-
defined VM storage policy, see Define a Storage Policy for vSAN Using vSphere Client.
When you assign a user-defined storage policy to a datastore, vSAN applies the settings for the user-
defined policy on the specified datastore. At any point, you can assign only one virtual machine storage
policy as the default policy to the vSAN datastore.
VMware, Inc. 23
Administering VMware vSAN
Characteristics
The following characteristics apply to the vSAN Default Storage Policy.
n The vSAN default storage policy is assigned to all virtual machine objects if you do not assign any
other vSAN policy when you provision a virtual machine. The VM Storage Policy text box is set to
Datastore default on the Select Storage page. For more information about using storage policies,
see the vSphere Storage documentation.
Note VM swap and VM memory objects receive the vSAN Default Storage Policy with Force
provisioning set to Yes.
n The vSAN default policy only applies to vSAN datastores. You cannot apply the default storage policy
to non-vSAN datastores, such as NFS or a VMFS datastore.
n Because the default virtual machine storage policy is compatible with any vSAN datastore in the
vCenter Server, you can move your virtual machine objects provisioned with the default policy to any
vSAN datastore in the vCenter Server.
n You can clone the default policy and use it as a template to create a user-defined storage policy.
n You can edit the default policy, if you have the StorageProfile.View privilege. You must have at least
one vSAN enabled cluster that contains at least one host. Typically you do not edit the settings of the
default storage policy.
n You cannot edit the name and description of the default policy, or the vSAN storage provider
specification. All other parameters including the policy rules are editable.
n The default storage policy is assigned when the policy that you assign during virtual machine
provisioning does not include rules specific to vSAN.
Prerequisites
Verify that the VM storage policy you want to assign as the default policy to the vSAN datastore meets the
requirements of virtual machines in the vSAN cluster.
Procedure
2 Click Configure.
3 Under General, click the Default Storage Policy Edit button, and select the storage policy that you
want to assign as the default policy to the vSAN datastore.
You can choose from a list of storage policies that are compatible with the vSAN datastore, such as
the vSAN Default Storage Policy and user-defined storage policies that have vSAN rule sets defined.
VMware, Inc. 24
Administering VMware vSAN
The storage policy is applied as the default policy when you provision new virtual machines without
explicitly specifying a storage policy for a datastore.
What to do next
You can define a new storage policy for virtual machines. See Define a Storage Policy for vSAN Using
vSphere Client.
Prerequisites
n Verify that the vSAN storage provider is available. See View vSAN Storage Providers.
Procedure
4 Type a name and a description for the storage policy and click Next.
VMware, Inc. 25
Administering VMware vSAN
5 On the Policy structure page, select Enable rules for "vSAN" storage, and click Next.
6 On the vSAN page, define the policy rule set, and click Next.
a On the Availability tab, define the Site disaster tolerance and Failures to tolerate.
Availability options define the rules for Primary and Secondary level of failures to tolerate, Data
locality, and Failure tolerance method.
n Site disaster tolerance defines the type of site failure tolerance used for virtual machine
objects.
n Failures to tolerate defines the number of host and device failures that a virtual machine
object can tolerate, and the data replication method.
For example, if you choose Dual site mirroring and 2 failures - RAID-6 (Erasure Coding),
vSAN configures the following policy rules:
b On the Advanced Policy Rules tab, define advanced policy rules, such as number of disk stripes
per object and IOPS limits.
c On the Tags tab, click Add Tag Rule, and define the options for your tag rule.
Make sure that the values you provide are within the range of values advertised by storage
capabilities of the vSAN datastore.
7 On the Storage compatibility page, review the list of datastores that match this policy and click Next.
To be eligible, a datastore does not need to satisfy all rule sets within the policy. The datastore must
satisfy at least one rule set and all rules within this set. Verify that the vSAN datastore meets the
requirements set in the storage policy and that it appears on the list of compatible datastores.
8 On the Review and finish page, review the policy settings, and click Finish.
What to do next
Assign this policy to a virtual machine and its virtual disks. vSAN places the virtual machine objects
according to the requirements specified in the policy. For information about applying the storage policies
to virtual machine objects, see the vSphere Storage documentation.
VMware, Inc. 26
Administering VMware vSAN
Prerequisites
n Verify that the vSAN storage provider is available. See View vSAN Storage Providers.
n Ensure that the virtual machine storage policies are enabled. For information about storage policies,
see the vSphere Storage documentation.
Procedure
1 From the vSphere Web Client home, click Policies and Profiles, then click VM Storage Policies.
4 Type a name and a description for the storage policy, and click Next.
6 On the Common rules for data services provided by hosts page, click Next.
The page expands as you add rules for the vSAN datastore.
VMware, Inc. 27
Administering VMware vSAN
Make sure that the values you provide are within the range of values advertised by storage
capabilities of the vSAN datastore.
From the Storage Consumption model, you can review the virtual disk size available and the
corresponding cache and capacity requirements, including the reserved storage space your
virtual machines might potentially consume when you apply the storage policy.
8 (Optional) Click the Add another rule set button to add another rule set.
9 Click Next.
10 On the Storage compatibility page, review the list of datastores that match this policy and click Next.
To be eligible, a datastore does not need to satisfy all rule sets within the policy. The datastore must
satisfy at least one rule set and all rules within this set. Verify that the vSAN datastore meets the
requirements set in the storage policy and that it appears on the list of compatible datastores.
11 On the Ready to complete page, review the policy settings, and click Finish.
What to do next
Assign this policy to a virtual machine and its virtual disks. vSAN places the virtual machine objects
according to the requirements specified in the policy. For information about applying the storage policies
to virtual machine objects, see the vSphere Storage documentation.
VMware, Inc. 28
Expanding and Managing a
vSAN Cluster 4
After you have set up your vSAN cluster, you can add hosts and capacity devices, remove hosts and
devices, and manage failure scenarios.
n Add new ESXi hosts to the cluster that are configured using the supported cache and capacity
devices. See Add a Host to the vSAN Cluster. When you add a device or add a host with capacity,
vSAN does not automatically distribute data to the newly added device. To enable vSAN to distribute
data to recently-added devices, you must manually rebalance the cluster by using the Ruby vSphere
Console (RVC). See "Manual Rebalance" in vSAN Monitoring and Troubleshooting.
n Move existing ESXi hosts to the vSAN cluster by using host profile. See Configuring Hosts Using
Host Profile. New cluster members add storage and compute capacity. You must manually create a
subset of disk groups from the local capacity devices on the newly added host. See Create a Disk
Group on a vSAN Host.
Verify that the hardware components, drivers, firmware, and storage I/O controllers that you plan on
using are certified and listed in the VMware Compatibility Guide at http://www.vmware.com/resources/
compatibility/search.php. When adding capacity devices, make sure that the devices are unformatted
and not partitioned, so that vSAN can recognize and claim the devices.
VMware, Inc. 29
Administering VMware vSAN
n Add new capacity devices to ESXi hosts that are cluster members. You must manually add the device
to the disk group on the host. See Add Devices to the Disk Group.
n Expand the storage capacity of your cluster either by adding storage devices to existing disk groups
or by adding disk groups. New disk groups require flash devices for the cache. For information about
adding devices to disk groups, see Add Devices to the Disk Group. Adding capacity devices without
increasing the cache might reduce your cache-to-capacity ratio to an unsupported level. See "Design
Considerations for Flash Caching Devices in vSAN" in Administering VMware vSAN.
n Improve the cluster performance by adding at least one cache device (flash) and one capacity device
(flash or magnetic disk) to an existing storage I/O controller or to a new host. Or you can add one or
more hosts with disk groups to produce the same performance impact after vSAN completes a
proactive rebalance in the vSAN cluster.
Although compute-only hosts can exist in a vSAN cluster, and consume capacity from other hosts in the
cluster, add uniformly configured hosts for efficient operation. For best results, add hosts with cache and
capacity devices to expand the cluster capacity. Although it is best to use the same or similar devices in
your disk groups, any device listed on the vSAN HCL is supported. Try to distribute capacity evenly
across hosts and disk groups. For information about adding devices to disk groups, see Add Devices to
the Disk Group.
After you expand the cluster capacity, perform a manual rebalance to distribute resources evenly across
the cluster. For more information, see "Manual Rebalance" in vSAN Monitoring and Troubleshooting.
When you add new hosts to the vSAN cluster, you can use the Cluster configuration wizard to complete
the host configuration. For more information about Quickstart, see "Using Quickstart to Configure and
Expand a vSAN Cluster" in vSAN Planning and Deployment.
Note If you are running vCenter Server on a host in the cluster, the host does not need to be placed into
maintenance mode as you add it to a cluster using the Quickstart workflow. The host that contains the
vCenter Server VM must be running ESXi 6.5 EP2 or later. The same host also can be running a Platform
Services Controller. All other VMs on the host must be powered off.
Prerequisites
Procedure
VMware, Inc. 30
Administering VMware vSAN
3 On the Add hosts card, click Add to open the Add hosts wizard.
a On the Add hosts page, enter information for new hosts, or click Existing hosts and select from
hosts listed in the inventory.
4 On the Cluster configuration card, click Configure to open the Cluster configuration wizard.
a (Optional) On the vMotion traffic page, enter IP address information for vMotion traffic.
b On the Storage traffic page, enter IP address information for storage traffic.
c (optional) On the Claim disks page, select disks on each new host.
d (optional) On the Create fault domains page, move the new hosts into their corresponding fault
domains.
For more information about fault domains, see Managing Fault Domains in vSAN Clusters.
e On the Ready to complete page, verify the cluster settings, and click Finish.
Prerequisites
n Verify that the resources, including drivers, firmware, and storage I/O controllers, are listed in the
VMware Compatibility Guide at http://www.vmware.com/resources/compatibility/search.php.
n VMware recommends creating uniformly configured hosts in the vSAN cluster, so you have an even
distribution of components and objects across devices in the cluster. However, there might be
situations where the cluster becomes unevenly balanced, particularly during maintenance or if you
overcommit the capacity of the vSAN datastore with excessive virtual machine deployments.
Procedure
2 Right-click the cluster and select Add Hosts. The Add hosts wizard appears.
Option Description
Existing hosts a Select hosts that you previously added to vCenter Server.
3 Click Next.
VMware, Inc. 31
Administering VMware vSAN
What to do next
Verify that the vSAN Disk Balance health check is green. If the Disk Balance health check issues a
warning, perform a manual rebalance operation during off-peak hours. For more information, see "Manual
Rebalance" in vSAN Monitoring and Troubleshooting.
For more information about vSAN cluster configuration and fixing problems, see "vSAN Cluster
Configuration Issues" in vSAN Monitoring and Troubleshooting.
The host profile includes information about storage configuration, network configuration, and other
characteristics of the host. If you are planning to create a cluster with many hosts, such as 8, 16, 32, or
64 hosts, use the host profile feature. Host profiles enable you to add more than one host at a time to the
vSAN cluster.
Prerequisites
n Verify that the hardware components, drivers, firmware, and storage I/O controllers are listed in the
VMware Compatibility Guide at http://www.vmware.com/resources/compatibility/search.php.
Procedure
c Select the host that you intend to use as the reference host and click Next.
d Type a name and description for the new profile and click Next.
e Review the summary information for the new host profile and click Finish.
a From the Profile list in the Host Profiles view, select the host profile to be applied to the vSAN
host.
VMware, Inc. 32
Administering VMware vSAN
c Select the host from the expanded list and click Attach to attach the host to the profile.
d Click Next.
When a host profile is attached to a cluster, the host or hosts within that cluster are also attached to
the host profile. However, when the host profile is detached from the cluster, the association between
the host or hosts in the cluster and that of the host profile remains intact.
a From the Profile List in the Host Profiles view, select the host profile to be detached from a host or
cluster.
c Select the host or cluster from the expanded list and click Detach.
d Click Detach All to detach all the listed hosts and clusters from the profile.
e Click Next.
f Click Finish to complete the detachment of the host from the host profile.
4 Verify the compliance of the vSAN host to its attached host profile and determine if any configuration
parameters on the host are different from those specified in the host profile.
The Objects tab lists all host profiles, the number of hosts attached to that host profile, and the
summarized results of the last compliance check.
To view specific details about which parameters differ between the host that failed compliance
and the host profile, click the Monitor tab and select the Compliance view. Expand the object
hierarchy and select the non-compliant host. The parameters that differ are displayed in the
Compliance window, below the hierarchy.
If compliance fails, use the Remediate action to apply the host profile settings to the host. This
action changes all host profile-managed parameters to the values that are contained in the host
profile attached to the host.
c To view specific details about which parameters differ between the host that failed compliance
and the host profile, click the Monitor tab and select the Compliance view.
The parameters that differ are displayed in the Compliance window, below the hierarchy.
VMware, Inc. 33
Administering VMware vSAN
b Right-click the host or hosts to remediate and select All vCenter Actions > Host Profiles >
Remediate.
You can update or change the user input parameters for the host profiles policies by customizing
the host.
c Click Next.
d Review the tasks that are necessary to remediate the host profile and click Finish.
The host is part of the vSAN cluster and its resources are accessible to the vSAN cluster. The host
can also access all existing vSAN storage I/O policies in the vSAN cluster.
n When you place an ESXi host in maintenance mode, you must select a data evacuation mode, such
as Ensure accessibility or Full data migration.
n When any member host of a vSAN cluster enters maintenance mode, the cluster capacity
automatically reduces as the member host no longer contributes storage to the cluster.
n A virtual machine's compute resources might not reside on the host that is being placed in
maintenance mode, and the storage resources for virtual machines might be located anywhere in the
cluster.
n The Ensure accessibility mode is faster than the Full data migration mode because the Ensure
accessibility migrates only the components from the hosts that are essential for running the virtual
machines. When in this mode, if you encounter a failure, the availability of your virtual machine is
affected. Selecting the Ensure accessibility mode does not reprotect your data during failure and
you might experience unexpected data loss.
n When you select the Full data migration mode, your data is automatically reprotected against a
failure, if the resources are available and the Primary level of failures to tolerate set to 1 or more.
When in this mode, all components from the host are migrated and, depending on the amount of data
you have on the host, the migration might take longer. With Full data migration mode, your virtual
machines can tolerate failures, even during planned maintenance.
n When working with a three-host cluster, you cannot place a server in maintenance mode with Full
data migration. Consider designing a cluster with four or more hosts for maximum availability.
Before you place a host in maintenance mode, you must verify the following:
n If you are using Full data migration mode, verify that the cluster has enough hosts and capacity
available to meet the Primary level of failures to tolerate policy requirements.
VMware, Inc. 34
Administering VMware vSAN
n Verify that enough flash capacity exists on the remaining hosts to handle any flash read cache
reservations. To analyze the current capacity use per host, and whether a single host failure might
cause the cluster to run out of space and impact the cluster capacity, cache reservation, and cluster
components, run the following RVC command: vsan.whatif_host_failures. For information about
the RVC commands, see the RVC Command Reference Guide.
n Verify that you have enough capacity devices in the remaining hosts to handle stripe width policy
requirements, if selected.
n Make sure that you have enough free capacity on the remaining hosts to handle the amount of data
that must be migrated from the host entering maintenance mode.
Run the Data Migration Pre-check to check the effect on the cluster if you place the host into maintenance
mode.
The Confirm Maintenance Mode dialog box provides information to guide your maintenance activities.
You can view the impact of each data evacuation option.
Before you place a vSAN host into maintenance mode, run the data migration pre-check. The test results
provide information to help you determine the impact to cluster capacity, predicted health checks, and any
objects that will go out of compliance. If the operation will not succeed, pre-check provides information
about what resources are needed.
VMware, Inc. 35
Administering VMware vSAN
Procedure
The pre-check results show whether the host can safely enter maintenance mode.
n The Object Compliance and Accessibility tab displays objects that might have issues after the
data migration.
n The Cluster Capacity tab displays the impact of data migration on the vSAN cluster before and
after you perform the operation.
n The Predicted Health tab displays the health checks that might be affected by the data migration.
What to do next
If the pre-check indicates that you can place the host into maintenance mode, you can click Enter
Maintenance Mode to migrate the data and place the host into maintenance mode.
VMware, Inc. 36
Administering VMware vSAN
When any member host of a vSAN cluster enters maintenance mode, the cluster capacity is automatically
reduced, because the member host no longer contributes capacity to the cluster.
Any vSAN iSCSI targets served by this host are transferred to other hosts in the cluster, and thus the
iSCSI initiator are redirected to the new target owner.
Prerequisites
Verify that your environment has the capabilities required for the option you select.
Procedure
1 Right-click the host and select Maintenance Mode > Enter Maintenance Mode.
Option Description
Ensure accessibility This is the default option. When you power off or remove the host from the cluster,
vSAN ensures that all accessible virtual machines on this host remain accessible.
Select this option if you want to take the host out of the cluster temporarily, for
example, to install upgrades, and plan to have the host back in the cluster. This
option is not appropriate if you want to remove the host from the cluster
permanently.
Typically, only partial data evacuation is required. However, the virtual machine
might no longer be fully compliant to a VM storage policy during evacuation. That
means, it might not have access to all its replicas. If a failure occurs while the host
is in maintenance mode and the Primary level of failures to tolerate is set to 1,
you might experience data loss in the cluster.
Note This is the only evacuation mode available if you are working with a three-
host cluster or a vSAN cluster configured with three fault domains.
Full data migration vSAN evacuates all data to other hosts in the cluster, maintains or fixes availability
compliance for the affected components, and protects data when sufficient
resources exist in the cluster. Select this option if you plan to migrate the host
permanently. When evacuating data from the last host in the cluster, make sure
that you migrate the virtual machines to another datastore and then place the host
in maintenance mode.
This evacuation mode results in the largest amount of data transfer and consumes
the most time and resources. All the components on the local storage of the
selected host are migrated elsewhere in the cluster. When the host enters
maintenance mode, all virtual machines have access to their storage components
and are still compliant with their assigned storage policies.
Note If a virtual machine object that has data on the host is not accessible and is
not fully evacuated, the host cannot enter the maintenance mode.
No data migration vSAN does not evacuate any data from this host. If you power off or remove the
host from the cluster, some virtual machines might become unaccessible.
A cluster with three fault domains has the same restrictions that a three-host cluster has, such as the
inability to use Full data migration mode or to reprotect data after a failure.
VMware, Inc. 37
Administering VMware vSAN
What to do next
You can track the progress of data migration in the cluster. See "Monitoring the Resynchronization Tasks
in the vSAN Cluster" in vSAN Monitoring and Troubleshooting.
A fault domain consists of one or more vSAN hosts grouped according to their physical location in the
data center. When configured, fault domains enable vSAN to tolerate failures of entire physical racks as
well as failures of a single host, capacity device, network link, or a network switch dedicated to a fault
domain.
The Primary level of failures to tolerate policy for the cluster depends on the number of failures a
virtual machine is provisioned to tolerate. When a virtual machine is configured with the Primary level of
failures to tolerate set to 1 (PFTT=1), vSAN can tolerate a single failure of any kind and of any
component in a fault domain, including the failure of an entire rack.
When you configure fault domains on a rack and provision a new virtual machine, vSAN ensures that
protection objects, such as replicas and witnesses, are placed in different fault domains. For example, if a
virtual machine's storage policy has the Primary level of failures to tolerate set to N (PFTT=n), vSAN
requires a minimum of 2*n+1 fault domains in the cluster. When virtual machines are provisioned in a
cluster with fault domains using this policy, the copies of the associated virtual machine objects are stored
across separate racks.
A minimum of three fault domains are required to support PFTT=1. For best results, configure four or
more fault domains in the cluster. A cluster with three fault domains has the same restrictions that a three
host cluster has, such as the inability to reprotect data after a failure and the inability to use the Full data
migration mode. For information about designing and sizing fault domains, see "Designing and Sizing
vSAN Fault Domains" in vSAN Planning and Deployment.
Consider a scenario where you have a vSAN cluster with 16 hosts. The hosts are spread across four
racks, that is, four hosts per rack. To tolerate an entire rack failure, create a fault domain for each rack.
You can configure a cluster of such capacity with the Primary level of failures to tolerate set to 1. If you
want the Primary level of failures to tolerate set to 2, configure five fault domains in the cluster.
When a rack fails, all resources including the CPU, memory in the rack become unavailable to the cluster.
To reduce the impact of a potential rack failure, configure fault domains of smaller sizes. Increasing the
number of fault domains increases the total amount of resource availability in the cluster after a rack
failure.
n Configure a minimum of three fault domains in the vSAN cluster. For best results, configure four or
more fault domains.
n A host not included in any fault domain is considered to reside in its own single-host fault domain.
VMware, Inc. 38
Administering VMware vSAN
n You do not need to assign every vSAN host to a fault domain. If you decide to use fault domains to
protect the vSAN environment, consider creating equal sized fault domains.
n When moved to another cluster, vSAN hosts retain their fault domain assignments.
n When designing a fault domain, place a uniform number of hosts in each fault domain.
For guidelines about designing fault domains, see "Designing and Sizing vSAN Fault Domains" in
vSAN Planning and Deployment.
n You can add any number of hosts to a fault domain. Each fault domain must contain at least one host.
When you provision a virtual machine on the cluster with fault domains, vSAN distributes protection
components, such as witnesses and replicas of the virtual machine objects across different fault domains.
As a result, the vSAN environment becomes capable of tolerating entire rack failures in addition to a
single host, storage disk, or network failure.
Prerequisites
n Choose a unique fault domain name. vSAN does not support duplicate fault domain names in a
cluster.
n Verify the version of your ESXi hosts. You can only include hosts that are 6.0 or later in fault domains.
n Verify that your vSAN hosts are online. You cannot assign hosts to a fault domain that is offline or
unavailable due to hardware configuration issue.
Procedure
4 Click the plus icon. The New Fault Domain wizard opens.
A fault domain cannot be empty. You must select at least one host to include in the fault domain.
7 Click Create.
The selected hosts appear in the fault domain. Each fault domain displays the used and reserved
capacity information. This enables you to view the capacity distribution across the fault domain.
VMware, Inc. 39
Administering VMware vSAN
Procedure
4 Click and drag the host that you want to add onto an existing fault domain.
Prerequisites
Verify that the host is online. You cannot move hosts that are offline or unavailable from a fault domain.
Procedure
Option Description
vSphere Client a Click and drag the host from the fault domain to the Standalone Hosts area.
b Click Move to confirm.
vSphere Web Client a Select the host that you want to move and click the Move hosts out of fault
domain icon.
b Click Yes.
The selected host is no longer part of the fault domain. Any host that is not part of a fault domain is
considered to reside in its own single-host fault domain.
What to do next
You can add hosts to fault domains. See Move Host into Selected Fault Domain.
Procedure
VMware, Inc. 40
Administering VMware vSAN
Option Description
vSphere Client a Click the Actions icon on the right side of the fault domain, and choose Edit.
b Enter a new fault domain name.
vSphere Web Client a Select the fault domain, and click the Rename selected fault domain icon.
b Enter a new fault domain name.
Procedure
Option Description
vSphere Client a Click the Actions icon on the right side of the fault domain, and choose Delete.
b Click Delete to confirm.
vSphere Web Client a Select the fault domain that you want to delete and click the Remove selected
fault domains icon ( ).
b Click Yes to confirm.
All hosts in the fault domain are removed and the selected fault domain is deleted from the vSAN cluster.
Each host that is not part of a fault domain is considered to reside in its own single-host fault domain.
This feature enables an iSCSI initiator on a remote host to transport block-level data to an iSCSI target on
a storage device in the vSAN cluster. vSAN 6.7 and later releases support Windows Server Failover
Clustering (WSFC), so WSFC nodes can access vSAN iSCSI targets.
VMware, Inc. 41
Administering VMware vSAN
After you configure the vSAN iSCSI target service, you can discover the vSAN iSCSI targets from a
remote host. To discover vSAN iSCSI targets, use the IP address of any host in the vSAN cluster, and the
TCP port of the iSCSI target. To ensure high availability of the vSAN iSCSI target, configure multipath
support for your iSCSI application. You can use the IP addresses of two or more hosts to configure the
multipath.
Note vSAN iSCSI target service does not support other vSphere or ESXi clients or initiators, third-party
hypervisors, or migrations using raw device mapping (RDMs).
vSAN iSCSI target service supports the following CHAP authentication methods:
CHAP In CHAP authentication, the target authenticates the initiator, but the
initiator does not authenticate the target.
Mutual CHAP In mutual CHAP authentication, an extra level of security enables the
initiator to authenticate the target.
For more information about using the vSAN iSCSI target service, refer to the iSCSI target usage guide.
iSCSI Targets
You can add one or more iSCSI targets that provide storage blocks as logical unit numbers (LUNs). vSAN
identifies each iSCSI target by a unique iSCSI qualified Name (IQN). You can use the IQN to present the
iSCSI target to a remote iSCSI initiator so that the initiator can access the LUN of the target.
Each iSCSI target contains one or more LUNs. You define the size of each LUN, assign a vSAN storage
policy to each LUN, and enable the iSCSI target service on a vSAN cluster. You can configure a storage
policy to use as the default policy for the home object of the vSAN iSCSI target service.
A unique name identifies each iSCSI initiator group. You can add one or more iSCSI initiators as
members of the group. Use the IQN of the initiator as the member initiator name.
Procedure
VMware, Inc. 42
Administering VMware vSAN
Option Description
3 Click OK or Apply.
What to do next
After the iSCSI target service is enabled, you can create iSCSI targets and LUNs, and define iSCSI
initiator groups.
Prerequisites
Procedure
Option Description
VMware, Inc. 43
Administering VMware vSAN
3 Click OK.
What to do next
Procedure
Option Description
3 Click Add.
Procedure
5 In the vSAN iSCSI LUNs section, select a LUN and click Edit. The Edit LUN dialog box is displayed.
VMware, Inc. 44
Administering VMware vSAN
7 Click OK.
Procedure
Option Description
iqn.YYYY-MM.domain:name
Where:
n YYYY = year, such as 2016
n MM = month, such as 09
n domain = domain where the initiator resides
n name = member name (optional)
iqn.YYYY-MM.domain:name
Where:
n YYYY = year, such as 2016
n MM = month, such as 09
n domain = domain where the initiator resides
n name = member name (optional)
3 Click OK or Create.
What to do next
VMware, Inc. 45
Administering VMware vSAN
Prerequisites
Procedure
Option Description
3 Click Add.
Prerequisites
Verify that you have enabled the vSAN iSCSI target service and created targets and LUNs.
VMware, Inc. 46
Administering VMware vSAN
Procedure
Option Description
vSphere Client a Click Monitor and select Virtual Objects. iSCSI targets are listed on the page.
b Select a target and click View Placement Details. The Physical Placement
shows where the data components of the target are located.
c Click Group components by host placement to view the hosts associated
with the iSCSI data components.
The vSAN hybrid cluster uses magnetic disks for the capacity layer and flash devices for the cache layer.
You can change the configuration of the disk groups in the cluster so that it uses flash devices on the
cache layer and the capacity layer.
Procedure
2 Remove the hybrid disk groups for each host in the cluster.
c Under Disk Groups, select the disk group to remove, click …, and then click Remove.
VMware, Inc. 47
Administering VMware vSAN
Prerequisites
If the vCenter Server VM is running on the vSAN cluster, migrate the VM to the first host, or record the
host where it is currently running.
Procedure
1 Power off all virtual machines that are running on the vSAN cluster.
If the vCenter Server is running on the vSAN cluster, the vCenter Server VM must be powered off
last.
2 Place all ESXi hosts that compose the cluster in maintenance mode.
VMware, Inc. 48
Device Management in a vSAN
Cluster 5
You can perform various device management tasks in a vSAN cluster. You can create hybrid or all-flash
disk groups, enable vSAN to claim devices for capacity and cache, enable or disable LED indicators on
devices, mark devices as flash, mark remote devices as local, and so on.
vSAN 6.6 and later releases have a uniform workflow for claiming disks across all scenarios. It groups all
available disks by model and size, or by host. You must select which devices to use for cache and which
to use for capacity.
Create a Disk Group on When you create disk groups, you must specify each host and each device
a Host to be used for the vSAN datastore. You organize cache and capacity
devices into disk groups.
To create a disk group, you define the disk group and individually select
devices to include in the disk group. Each disk group contains one flash
cache device and one or more capacity devices.
When you create a disk group, consider the ratio of flash cache to
consumed capacity. The ratio depends on the requirements and workload
of the cluster. For a hybrid cluster, consider using at least 10 percent of
flash cache to consumed capacity ratio (not including replicas such as
mirrors). For guidance on determining the cache ratio for all-flash clusters,
refer to Designing vSAN Disk groups – All Flash Cache Ratio Update.
The vSAN cluster initially contains a single vSAN datastore with zero bytes
consumed.
VMware, Inc. 49
Administering VMware vSAN
As you create disk groups on each host and add cache and capacity
devices, the size of the datastore increases according to the amount of
physical capacity added by those devices. vSAN creates a single
distributed vSAN datastore using the local empty capacity available from
the hosts added to the cluster.
Each disk group includes a single flash cache device. You can create
multiple disk groups manually, and claim a flash cache device for each
group.
Note If a new ESXi host is added to the vSAN cluster, the local storage
from that host is not added to the vSAN datastore automatically. You have
to create a disk group and add the devices to the disk group to use the new
storage from the new ESXi host.
Claim Disks for the You can select multiple devices from your hosts, and vSAN creates default
vSAN Cluster disk groups for you.
When you add more capacity to the hosts or add new hosts with capacity,
you can select the new devices to increase the capacity of the vSAN
datastore. In an all-flash cluster, you can mark flash devices for use as
capacity.
After vSAN has claimed devices, it creates the vSAN shared datastore. The
total size of the datastore reflects the capacity of all capacity devices in disk
groups across all hosts in the cluster. Some capacity overhead is used for
metadata.
In this method, you manually select devices to create a disk group for a host. You add one cache device
and at least one capacity device to the disk group.
Procedure
VMware, Inc. 50
Administering VMware vSAN
n Select the type of capacity disks to use, depending on the type of disk group you want to create
(HDD for hybrid or Flash for all-flash).
u Select the devices you want to use for capacity.
Procedure
n For hybrid disk groups, each host that contributes storage must contribute one flash cache device
and one or more HDD capacity devices. You can add only one cache device per disk group.
n Select a flash device to be used as cache and click Claim for cache tier.
n Select an HDD device to be used as capacity and click Claim for capacity tier.
n For all-flash disk groups, each host that contributes storage must contribute one flash cache
device and one or more flash capacity devices. You can add only one cache device per disk
group.
n Select a flash device to be used as cache and click Claim for cache tier.
n Select a flash device to be used for capacity and click Claim for capacity tier.
vSAN claims the devices that you selected and organizes them into default disk groups that support
the vSAN datastore.
VMware, Inc. 51
Administering VMware vSAN
The devices must be the same type as the existing devices in the disk groups, such as SSD or magnetic
disks.
Procedure
5 Select the device that you want to add and click Add.
If you add a used device that contains residual data or partition information, you must first clean the
device. For information about removing partition information from devices, see Remove Partition
From Devices. You can also run the host_wipe_vsan_disks RVC command to format the device.
For more information about RVC commands, see the RVC Command Reference Guide.
What to do next
Verify that the vSAN Disk Balance health check is green. If the Disk Balance health check issues a
warning, perform a manual rebalance operation during off-peak hours. For more information, see "Manual
Rebalance" in vSAN Monitoring and Troubleshooting.
VMware, Inc. 52
Administering VMware vSAN
Because removing unprotected devices might be disruptive for the vSAN datastore and virtual machines
in the datastore, avoid removing devices or disk groups.
Typically, you delete devices or disk groups from vSAN when you are upgrading a device or replacing a
failed device, or when you must remove a cache device. Other vSphere storage features can use any
flash-based device that you remove from the vSAN cluster.
Deleting a disk group permanently deletes the disk membership and the data stored on the devices.
Note Removing one flash cache device or all capacity devices from a disk group removes the entire disk
group.
Evacuating data from devices or disk groups might result in the temporary noncompliance of virtual
machine storage policies.
Prerequisites
n You can either place the vSAN host in maintenance mode by selecting the Full data migration option
or by selecting Ensure data accessibility when deleting a device or a disk group. If you select No
data migration from the drop-down menu, your data might be at risk if a failure occurs during
evacuation.
Procedure
Option Description
Remove the Disk Group a Under Disk Groups, select the disk group to remove, and click …, then
Remove.
b Select a data evacuation mode.
Remove the Selected Device a Under Disk Groups, select the disk group that contains the device that you are
removing.
b Under Disks, select the device to remove, and click the Remove Disk(s).
c Select a data evacuation mode.
You can move the evacuated data to another disk or disk group on the same host.
The data is evacuated from the selected devices or a disk group and is no longer available to vSAN.
VMware, Inc. 53
Administering VMware vSAN
When you recreate a disk group on a vSAN cluster, vSAN manages the process for you. vSAN evacuates
data from all disks in the disk group, removes the disk group, and creates the disk group with the same
disks.
Procedure
All data residing on the disks is evacuated. The disk group is removed from the cluster, and recreated.
vSAN can light the locator LED on a failed device so that you can easily identify the device. This is
particularly useful when you are working with multiple hot plug and host swap scenarios.
Consider using I/O storage controllers with pass-through mode, because controllers with RAID 0 mode
require additional steps to enable the controllers to recognize locator LEDs.
For information about configuring storage controllers with RAID 0 mode, see your vendor documentation.
When you no longer need a visual alert on your vSAN devices, you can turn off locator LEDs on the
selected devices.
Prerequisites
n Verify that you have installed the supported drivers for storage I/O controllers that enable this feature.
For information about the drivers that are certified by VMware, see the VMware Compatibility Guide
at http://www.vmware.com/resources/compatibility/search.php.
n In some cases, you might need to use third-party utilities to configure the Locator LED feature on your
storage I/O controllers. For example, when you are using HP you should verify that the HP SSA CLI
is installed.
For information about installing third-party VIBs, see the vSphere Upgrade documentation.
VMware, Inc. 54
Administering VMware vSAN
Procedure
5 At the bottom of the page, select one or more storage devices from the list, and enable or disable the
locator LEDs on the selected devices.
Option Action
Turn on LED Enables locator LED on the selected storage device. You can enable locator LEDs
from the Manage tab and click Storage > Storage Devices.
Turn off LED Disables locator LED on the selected storage device. You can disable locator LEDs
from the Manage tab and click Storage > Storage Devices.
Flash devices might not be recognized as flash when they are enabled for RAID 0 mode rather than
passthrough mode. When devices are not recognized as local flash, they are excluded from the list of
devices offered for vSAN and you cannot use them in the vSAN cluster. Marking these devices as local
flash makes them available to vSAN.
Prerequisites
n Make sure that the virtual machines accessing the device are powered off and the datastore is
unmounted.
Procedure
5 From the Show drop-down menu at the bottom of the page, select Not in Use.
6 Select one or more flash devices from the list and click the Mark as Flash Disk.
VMware, Inc. 55
Administering VMware vSAN
If you marked a magnetic disk as a flash device, you can change the disk type of the device by marking it
as a magnetic disk.
Prerequisites
n Verify that the virtual machines accessing the device are powered off.
Procedure
5 From the Show drop-down menu at the bottom of the page, select Not in Use.
6 Select one or more magnetic disks from the list and click Mark as HDD Disk.
The Drive Type for the selected magnetic disks appears as HDD.
Prerequisites
Procedure
5 From the Show drop-down menu at the bottom of the page, select Not in Use.
VMware, Inc. 56
Administering VMware vSAN
6 From the list of devices, select one or more remote devices that you want to mark as local and click
the Mark as local disk.
Procedure
5 From the Show drop-down menu at the bottom of the page, select Not in Use.
6 Select one or more devices that you want to mark as remote and click the Mark as remote.
Prerequisites
Procedure
6 Select the capacity device that you want to add to the disk group.
7 Click OK or Add.
VMware, Inc. 57
Administering VMware vSAN
If you have added a device that contains residual data or partition information, you must remove all
preexisting partition information from the device before you can claim it for vSAN use. VMware
recommends adding clean devices to disk groups.
When you remove partition information from a device, vSAN deletes the primary partition that includes
disk format information and logical partitions from the device.
Prerequisites
Verify that the device is not in use by ESXi as boot disk, VMFS datastore, or vSAN.
Procedure
Option Description
7 Click OK to confirm.
The device is clean and does not include any partition information.
VMware, Inc. 58
Increasing Space Efficiency in a
vSAN Cluster 6
You can use space efficiency techniques to reduce the amount of space for storing data. These
techniques reduce the total storage space required to meet your needs.
vSAN 6.7 Update 1 and later supports SCSI unmap commands that enable you to reclaim storage space
that is mapped to a deleted vSAN object.
You can enable deduplication and compression on a vSAN cluster to eliminate duplicate data and reduce
the amount of space required to store data.
You can set the Failure tolerance method policy attribute on VMs to use RAID 5 or RAID 6 erasure
coding. Erasure coding can protect your data while using less storage space than the default RAID 1
mirroring.
You can use deduplication and compression, and RAID 5 or RAID 6 erasure coding to increase storage
space savings. RAID 5 or RAID 6 each provide clearly defined space savings over RAID 1. Deduplication
and compression can provide additional savings.
VMware, Inc. 59
Administering VMware vSAN
Deleting or removing files frees space within the file system. This free space is mapped to a storage
device until the file system releases or unmaps it. vSAN supports reclamation of free space, which is also
called the unmap operation. You can free storage space in the vSAN datastore when you delete or
migrate a VM, consolidate a snapshot, and so on.
Reclaiming storage space can provide higher host-to-flash I/O throughput and improve flash endurance.
vSAN also supports the SCSI UNMAP commands issued directly from a guest operating system to
reclaim storage space. vSAN supports offline unmaps as well as inline unmaps. On Linux OS, offline
unmaps are performed with the fstrim(8) command, and inline unmaps are performed when the
mount -o discard command is used. On Windows OS, NTFS performs inline unmaps by default.
Unmap capability is disabled by default. To enable unmap on a vSAN cluster, use the following RVC
command: vsan.unmap_support –enable
When you enable unmap on a vSAN cluster, you must power off and then power on all VMs. VMs must
use virtual hardware version 13 or above to perform unmap operations.
Deduplication removes redundant data blocks, whereas compression removes additional redundant data
within each data block. These techniques work together to reduce the amount of space required to store
the data. vSAN applies deduplication and then compression as it moves data from the cache tier to the
capacity tier.
You can enable deduplication and compression as a cluster-wide setting, but they are applied on a disk
group basis. When you enable deduplication and compression on a vSAN cluster, redundant data within a
particular disk group is reduced to a single copy.
You can enable deduplication and compression when you create a new vSAN all-flash cluster or when
you edit an existing vSAN all-flash cluster. For more information about creating and editing vSAN clusters,
see "Enabling vSAN" in vSAN Planning and Deployment.
When you enable or disable deduplication and compression, vSAN performs a rolling reformat of every
disk group on every host. Depending on the data stored on the vSAN datastore, this process might take a
long time. Do not perform these operations frequently. If you plan to disable deduplication and
compression, you must first verify that enough physical capacity is available to place your data.
Note Deduplication and compression might not be effective for encrypted VMs, because VM Encryption
encrypts data on the host before it is written out to storage. Consider storage tradeoffs when using VM
Encryption.
VMware, Inc. 60
Administering VMware vSAN
n Avoid adding disks to a disk group incrementally. For more efficient deduplication and compression,
consider adding a disk group to increase the cluster storage capacity.
n When you add a disk group manually, add all the capacity disks at the same time.
n You cannot remove a single disk from a disk group. You must remove the entire disk group to make
modifications.
You can view the Usage breakdown before dedup and compression when you monitor vSAN capacity in
the vSphere Client. It displays information about the results of deduplication and compression. The Used
Before space indicates the logical space required before applying deduplication and compression, while
the Used After space indicates the physical space used after applying deduplication and compression.
The Used After space also displays an overview of the amount of space saved, and the Deduplication
and Compression ratio.
VMware, Inc. 61
Administering VMware vSAN
The Deduplication and Compression ratio is based on the logical (Used Before) space required to store
data before applying deduplication and compression, in relation to the physical (Used After) space
required after applying deduplication and compression. Specifically, the ratio is the Used Before space
divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used
After space is 1 GB, the deduplication and compression ratio is 3x.
When deduplication and compression are enabled on the vSAN cluster, it might take several minutes for
capacity updates to be reflected in the Capacity monitor as disk space is reclaimed and reallocated.
n On-disk format version 3.0 or later is required to support deduplication and compression.
n You must have a valid license to enable deduplication and compression on a cluster.
n When you enable deduplication and compression on a vSAN cluster, all disk groups participate in
data reduction through deduplication and compression.
n vSAN can eliminate duplicate data blocks within each disk group, but not across disk groups.
n Capacity overhead for deduplication and compression is approximately five percent of total raw
capacity.
n Policies must have either 0 percent or 100 percent object space reservations. Policies with 100
percent object space reservations are always honored, but can make deduplication and compression
less efficient.
Procedure
VMware, Inc. 62
Administering VMware vSAN
Option Description
tier icon ( ).
Prerequisites
Procedure
VMware, Inc. 63
Administering VMware vSAN
Option Description
While enabling deduplication and compression, vSAN updates the on-disk format of each disk group of
the cluster. To accomplish this change, vSAN evacuates data from the disk group, removes the disk
group, and recreates it with a new format that supports deduplication and compression.
The enablement operation does not require virtual machine migration or DRS. The time required for this
operation depends on the number of hosts in the cluster and amount of data. You can monitor the
progress on the Tasks and Events tab.
When deduplication and compression are disabled on the vSAN cluster, the size of the used capacity in
the cluster can expand (based on the deduplication ratio). Before you disable deduplication and
compression, verify that the cluster has enough capacity to handle the size of the expanded data.
Procedure
VMware, Inc. 64
Administering VMware vSAN
Option Description
While disabling deduplication and compression, vSAN changes the disk format on each disk group of the
cluster. It evacuates data from the disk group, removes the disk group, and recreates it with a format that
does not support deduplication and compression.
The time required for this operation depends on the number of hosts in the cluster and amount of data.
You can monitor the progress on the Tasks and Events tab.
Enabling deduplication and compression requires a format change for disk groups. To accomplish this
change, vSAN evacuates data from the disk group, removes the disk group, and recreates it with a new
format that supports deduplication and compression.
In certain environments, your vSAN cluster might not have enough resources for the disk group to be fully
evacuated. Examples for such deployments include a three-node cluster with no resources to evacuate
the replica or witness while maintaining full protection. Or a four-node cluster with RAID-5 objects already
deployed. In the latter case, you have no place to move part of the RAID-5 stripe, since RAID-5 objects
require a minimum of four nodes.
You can still enable deduplication and compression and use the Allow Reduced Redundancy option. This
option keeps the VMs running, but the VMs might be unable to tolerate the full level of failures defined in
the VM storage policy. As a result, temporarily during the format change for deduplication and
compression, your virtual machines might be at risk of experiencing data loss. vSAN restores full
compliance and redundancy after the format conversion is completed.
VMware, Inc. 65
Administering VMware vSAN
n You can add a capacity disk to a disk group with enabled deduplication and compression. However,
for more efficient deduplication and compression, instead of adding capacity disks, create a new disk
group to increase cluster storage capacity.
n When you remove a disk form a cache tier, the entire disk group is removed. Removing a cache tier
disk when deduplication and compression are enabled triggers data evacuation.
n Deduplication and compression are implemented at a disk group level. You cannot remove a capacity
disk from the cluster with enabled deduplication and compression. You must remove the entire disk
group.
n If a capacity disk fails, the entire disk group becomes unavailable. To resolve this issue, identify and
replace the failing component immediately. When removing the failed disk group, use the No Data
Migration option.
RAID 5 or RAID 6 erasure coding enables vSAN to tolerate the failure of up to two capacity devices in the
datastore. You can configure RAID 5 on all-flash clusters with four or more fault domains. You can
configure RAID 5 or RAID 6 on all-flash clusters with six or more fault domains.
RAID 5 or RAID 6 erasure coding requires less additional capacity to protect your data than RAID 1
mirroring. For example, a VM protected by a Primary level of failures to tolerate value of 1 with RAID 1
requires twice the virtual disk size, but with RAID 5 it requires 1.33 times the virtual disk size. The
following table shows a general comparison between RAID 1 and RAID 5 or RAID 6.
Table 6-1. Capacity Required to Store and Protect Data at Different RAID Levels
VMware, Inc. 66
Administering VMware vSAN
RAID 5 or RAID 6 erasure coding is a policy attribute that you can apply to virtual machine components.
To use RAID 5, set Failure tolerance method to RAID-5/6 (Erasure Coding) - Capacity and Primary
level of failures to tolerate to 1. To use RAID 6, set Failure tolerance method to RAID-5/6 (Erasure
Coding) - Capacity and Primary level of failures to tolerate to 2. RAID 5 or RAID 6 erasure coding
does not support a Primary level of failures to tolerate value of 3.
To use RAID 1, set Failure tolerance method to RAID-1 (Mirroring) - Performance. RAID 1 mirroring
requires fewer I/O operations to the storage devices, so it can provide better performance. For example, a
cluster resynchronization takes less time to complete with RAID 1.
Note In a vSAN stretched cluster, the Failure tolerance method of RAID-5/6 (Erasure Coding) -
Capacity applies only to the Secondary level of failures to tolerate.
For more information about configuring policies, see Chapter 3 Using vSAN Policies.
n You can achieve additional space savings by enabling deduplication and compression on the vSAN
cluster.
VMware, Inc. 67
Using Encryption on a vSAN
Cluster 7
You can use data at rest encryption to protect data in your vSAN cluster.
vSAN can perform data at rest encryption. Data is encrypted after all other processing, such as
deduplication, is performed. Data at rest encryption protects data on storage devices, in case a device is
removed from the cluster.
Using encryption on your vSAN cluster requires some preparation. After your environment is set up, you
can enable encryption on your vSAN cluster.
vSAN encryption requires an external Key Management Server (KMS), the vCenter Server system, and
your ESXi hosts. vCenter Server requests encryption keys from an external KMS. The KMS generates
and stores the keys, and vCenter Server obtains the key IDs from the KMS and distributes them to the
ESXi hosts.
vCenter Server does not store the KMS keys, but keeps a list of key IDs.
n vCenter Server requests an AES-256 Key Encryption Key (KEK) from the KMS. vCenter Server
stores only the ID of the KEK, but not the key itself.
VMware, Inc. 68
Administering VMware vSAN
n The ESXi host encrypts disk data using the industry standard AES-256 XTS mode. Each disk has a
different randomly generated Data Encryption Key (DEK).
n Each ESXi host uses the KEK to encrypt its DEKs, and stores the encrypted DEKs on disk. The host
does not store the KEK on disk. If a host reboots, it requests the KEK with the corresponding ID from
the KMS. The host can then decrypt its DEKs as needed.
n A host key is used to encrypt core dumps, not data. All hosts in the same cluster use the same host
key. When collecting support bundles, a random key is generated to re-encrypt the core dumps. You
can specify a password to encrypt the random key.
When a host reboots, it does not mount its disk groups until it receives the KEK. This process can take
several minutes or longer to complete. You can monitor the status of the disk groups in the vSAN health
service, under Physical disks > Software state health.
n Do not deploy your KMS server on the same vSAN datastore that you plan to encrypt.
n Encryption is CPU intensive. AES-NI significantly improves encryption performance. Enable AES-NI
in your BIOS.
n The witness host in a stretched cluster does not participate in vSAN encryption. Only metadata is
stored on the witness host.
n Establish a policy regarding core dumps. Core dumps are encrypted because they can contain
sensitive information such as keys. If you decrypt a core dump, carefully handle its sensitive
information. ESXi core dumps might contain keys for the ESXi host and for the data on it.
n Always use a password when you collect a vm-support bundle. You can specify the password
when you generate the support bundle from the vSphere Client or using the vm-support
command.
The password recrypts core dumps that use internal keys to use keys that are based on the
password. You can later use the password to decrypt any encrypted core dumps that might be
included in the support bundle. Unencrypted core dumps or logs are not affected.
n The password that you specify during vm-support bundle creation is not persisted in vSphere
components. You are responsible for keeping track of passwords for support bundles.
Before you can encrypt the vSAN datastore, you must set up a KMS cluster to support encryption. That
task includes adding the KMS to vCenter Server and establishing trust with the KMS. vCenter Server
provisions encryption keys from the KMS cluster.
VMware, Inc. 69
Administering VMware vSAN
The KMS must support the Key Management Interoperability Protocol (KMIP) 1.1 standard.
vCenter Server creates a KMS cluster when you add the first KMS instance. If you configure the KMS
cluster on two or more vCenter Servers, make sure you use the same KMS cluster name.
Note Do not deploy your KMS servers on the vSAN cluster you plan to encrypt. If a failure occurs, hosts
in the vSAN cluster must communicate with the KMS.
n When you add the KMS, you are prompted to set this cluster as a default. You can later change the
default cluster explicitly.
n After vCenter Server creates the first cluster, you can add KMS instances from the same vendor to
the cluster, and configure all KMS instances to synchronize keys among them. Use the method
documented by your KMS vendor.
n You can set up the cluster with only one KMS instance.
n If your environment supports KMS solutions from different vendors, you can add multiple KMS
clusters.
Prerequisites
n Verify that the key server is in the vSphere Compatibility Matrixes and is KMIP 1.1 compliant.
n Connecting to a KMS through a proxy server that requires user name or password is not supported.
Procedure
2 Browse the inventory list and select the vCenter Server instance.
4 Click Add, specify the KMS information in the wizard, and click Add.
Option Value
KMS cluster Select Create new cluster for a new cluster. If a cluster exists, you can select that
cluster.
Cluster name Name for the KMS cluster. You can use this name to connect to the KMS if your
vCenter Server instance becomes unavailable.
Server alias Alias for the KMS. You can use this alias to connect to the KMS if your vCenter
Server instance becomes unavailable.
VMware, Inc. 70
Administering VMware vSAN
Option Value
User name Some KMS vendors allow users to isolate encryption keys that are used by
different users or groups by specifying a user name and password. Specify a user
name only if your KMS supports this functionality, and if you intend to use it.
Password Some KMS vendors allow users to isolate encryption keys that are used by
different users or groups by specifying a user name and password. Specify a
password only if your KMS supports this functionality, and if you intend to use it.
Prerequisites
Procedure
3 Select the KMS instance with which you want to establish a trusted connection.
5 Select the option appropriate for your server and complete the steps.
Option See
Root CA certificate Use the Root CA Certificate Option to Establish a Trusted Connection.
New Certificate Signing Request Use the New Certificate Signing Request Option to Establish a Trusted Connection.
Upload certificate and private key Use the Upload Certificate and Private Key Option to Establish a Trusted
Connection.
VMware, Inc. 71
Administering VMware vSAN
The root CA certificate that vSphere Virtual Machine Encryption uses is a self-signed certificate that is
stored in a separate store in the VMware Endpoint Certificate Store (VECS) on the vCenter Server
system.
Note Generate a root CA certificate only if you want to replace existing certificates. If you do, other
certificates that are signed by that root CA become invalid. You can generate a new root CA certificate as
part of this workflow.
Procedure
3 Select the KMS instance with which you want to establish a trusted connection.
The Download Root CA Certificate dialog box is populated with the root certificate that vCenter
Server uses for encryption. This certificate is stored in VECS.
6 Follow the instructions from your KMS vendor to upload the certificate to their system.
Note Some KMS vendors, for example SafeNet, require that the KMS vendor restarts the KMS to
pick up the root certificate that you upload.
What to do next
vCenter Server generates a certificate to protect connections with the KMS. The certificate is stored in a
separate key store in the VMware Endpoint Certificate Store (VECS) on the vCenter Server system.
Procedure
3 Select the KMS instance with which you want to establish a trusted connection.
The Download Certificate dialog box is populated with the root certificate that vCenter Server uses for
encryption. This certificate is stored in VECS.
Note Do not generate a new certificate unless you want to replace existing certificates.
VMware, Inc. 72
Administering VMware vSAN
6 Follow the instructions from your KMS vendor to upload the certificate to the KMS.
What to do next
Use the New Certificate Signing Request Option to Establish a Trusted Connection
Some KMS vendors, for example Thales, require that vCenter Server generate a Certificate Signing
Request (CSR) and send that CSR to the KMS. The KMS signs the CSR and returns the signed
certificate. You can upload the signed certificate to vCenter Server.
Using the New Certificate Signing Request option is a two-step process. First you generate the CSR
and send it to the KMS vendor. Then you upload the signed certificate that you receive from the KMS
vendor to vCenter Server.
Procedure
3 Select the KMS instance with which you want to establish a trusted connection.
5 In the dialog box, copy the full certificate in the text box to the clipboard or download it as a file, and
click OK.
Use the Generate new CSR button in the dialog box only if you explicitly want to generate a CSR.
Using that option makes any signed certificates that are based on the old CSR invalid.
6 Follow the instructions from your KMS vendor to submit the CSR.
7 When you receive the signed certificate from the KMS vendor, click Key Management Servers
again, and select New Certificate Signing Request again.
8 Paste the signed certificate into the bottom text box or click Upload File and upload the file, and click
OK.
What to do next
Use the Upload Certificate and Private Key Option to Establish a Trusted Connection
Some KMS vendors such as HyTrust require that you upload the KMS server certificate and private key to
the vCenter Server system.
Some KMS vendors generate a certificate and private key for the connection and make them available to
you. After you upload the files, the KMS trusts your vCenter Server instance.
VMware, Inc. 73
Administering VMware vSAN
Prerequisites
n Request a certificate and private key from the KMS vendor. The files are X509 files in PEM format.
Procedure
3 Select the KMS instance with which you want to establish a trusted connection.
5 Paste the certificate that you received from the KMS vendor into the top text box or click Upload File
to upload the certificate file.
6 Paste the key file into the bottom text box or click Upload File to upload the key file.
7 Click OK.
What to do next
Prerequisites
As a best practice, verify that the Connection Status in the Key Management Servers tab shows Normal
and a green check mark.
Procedure
2 Click the Configure tab and click Key Management Servers under More.
Do not select the server. The menu to set the default is available only for the cluster.
4 Click Yes.
VMware, Inc. 74
Administering VMware vSAN
You can complete the trust setup, that is, make vCenter Server trust the KMS, either by trusting the KMS
or by uploading a KMS certificate. You have two options:
n Trust the certificate explicitly by using the Refresh KMS certificate option.
n Upload a KMS leaf certificate or the KMS CA certificate to vCenter Server by using the Upload KMS
certificate option.
Note If you upload the root CA certificate or the intermediate CA certificate, vCenter Server trusts all
certificates that are signed by that CA. For strong security, upload a leaf certificate or an intermediate CA
certificate that the KMS vendor controls.
Procedure
3 Select the KMS instance with which you want to establish a trusted connection.
Option Action
Refresh KMS certificate a Click All Actions, and select Refresh KMS certificate.
b In the dialog box that appears, click Trust.
Upload KMS certificate a Click All Actions, and select Upload KMS Certificate.
b In the dialog box that appears, click Upload file, upload a certificate file, and
click OK.
Prerequisites
n Required privileges:
n Host.Inventory.EditCluster
n Cryptographer.ManageEncryptionPolicy
n Cryptographer.ManageKMS
n Cryptographer.ManageKeys
n You must have set up a KMS cluster and established a trusted connection between vCenter Server
and the KMS.
Procedure
VMware, Inc. 75
Administering VMware vSAN
3 Under vSAN, select Services and click the Encryption Edit button.
4 On the vSAN Services dialog, enable Encryption, and select a KMS cluster.
Note Make sure the Erase disks before use check box is deselected, unless you want to wipe
existing data from the storage devices as they are encrypted.
Encryption of data at rest is enabled on the vSAN cluster. vSAN encrypts all data added to the vSAN
datastore.
The following options are available when you generate new encryption keys for your vSAN cluster.
n If you generate a new KEK, all hosts in the vSAN cluster receive the new KEK from the KMS. Each
host's DEK is re-encrypted with the new KEK.
n If you choose to re-encrypt all data using new keys, a new KEK and new DEKs are generated. A
rolling disk reformat is required to re-encrypt data.
Prerequisites
n Required privileges:
n Host.Inventory.EditCluster
n Cryptographer.ManageKeys
n You must have set up a KMS cluster and established a trusted connection between vCenter Server
and the KMS.
Procedure
5 To generate a new KEK, click Apply. The DEKs are re-encrypted with the new KEK.
n To generate a new KEK and new DEKs, and re-encrypt all data in the vSAN cluster, select the
following check box: Also re-encrypt all data on the storage using new keys.
n If your vSAN cluster has limited resources, select the Allow Reduced Redundancy check box. If
you allow reduced redundancy, your data might be at risk during the disk reformat operation.
VMware, Inc. 76
Administering VMware vSAN
Prerequisites
n Required privileges:
n Host.Inventory.EditCluster
n Cryptographer.ManageEncryptionPolicy
n Cryptographer.ManageKMS
n Cryptographer.ManageKeys
n You must have set up a KMS cluster and established a trusted connection between vCenter Server
and the KMS.
Procedure
5 On the vSAN Services dialog, enable Encryption, and select a KMS cluster.
6 (Optional) If the storage devices in your cluster contain sensitive data, select Erase Disks Before
Use.
This setting directs vSAN to wipe existing data from the storage devices as they are encrypted. This
option can increase the time to process each disk, so do not choose it unless you have unwanted
data on the disks.
7 Click Apply.
A rolling reformat of all disk groups takes places as vSAN encrypts all data in the vSAN datastore.
Note Core dumps can contain sensitive information. Follow your organization's data security and privacy
policy when handling core dumps.
VMware, Inc. 77
Administering VMware vSAN
n In most cases, vCenter Server retrieves the key for the host from the KMS and attempts to push the
key to the ESXi host after reboot. If the operation is successful, you can generate the vm-support
package and you can decrypt or re-encrypt the core dump.
n If vCenter Server cannot connect to the ESXi host, you might be able to retrieve the key from the
KMS.
n If the host used a custom key, and that key differs from the key that vCenter Server pushes to the
host, you cannot manipulate the core dump. Avoid using custom keys.
The vm-support package includes log files, core dump files, and more.
Prerequisites
Inform your support representative that encryption is enabled for the vSAN cluster. Your support
representative might ask you to decrypt core dumps to extract relevant information.
Note Core dumps can contain sensitive information. Follow your organization's security and privacy
policy to protect sensitive information such as host keys.
VMware, Inc. 78
Administering VMware vSAN
Procedure
4 In the dialog box, select Password for encrypted core dumps, and specify and confirm a password.
5 Leave the defaults for other options or make changes if requested by VMware Technical Support, and
click Finish.
7 If your support representative asked you to decrypt the core dump in the vm-support package, log in
to any ESXi host and follow these steps.
a Log in to the ESXi and connect to the directory where the vm-support package is located.
b Make sure that the directory has enough space for the package, the uncompressed package, and
the recompressed package, or move the package.
vm-support -x *.tgz .
The resulting file hierarchy might contain core dump files for the ESXi host, usually in /var/core,
and might contain multiple core dump files for virtual machines.
vm-support-incident-key-file is the incident key file that you find at the top level in the directory.
decryptedZdump is the name for the file that the command generates. Make the name similar to
the encryptedZdump name.
e Provide the password that you specified when you created the vm-support package.
f Remove the encrypted core dumps, and compress the package again.
vm-support --reconstruct
VMware, Inc. 79
Administering VMware vSAN
You can decrypt and examine the core dumps in the vm-support package yourself. Core dumps might
contain sensitive information. Follow your organization's security and privacy policy to protect sensitive
information, such as host keys.
For details about re-encrypting a core dump and other features of crypto-util, see the command-line
help.
Prerequisites
The ESXi host key that was used to encrypt the core dump must be available on the ESXi host that
generated the core dump.
Procedure
1 Log directly in to the ESXi host on which the core dump occurred.
If the ESXi host is in lockdown mode, or if SSH access is disabled, you might have to enable access
first.
Option Description
Option Description
VMware, Inc. 80
Upgrading the vSAN Cluster 8
Upgrading vSAN is a multistage process, in which you must perform the upgrade procedures in the order
described here.
Before you attempt to upgrade, make sure you understand the complete upgrade process clearly to
ensure a smooth and uninterrupted upgrade. If you are not familiar with the general vSphere upgrade
procedure, you should first review the vSphere Upgrade documentation.
Note Failure to follow the sequence of upgrade tasks described here will lead to data loss and cluster
failure.
2 Upgrade the ESXi hosts. See Upgrade the ESXi Hosts. For information about migrating and
preparing your ESXi hosts for upgrade, see the vSphere Upgrade documentation.
3 Upgrade the vSAN disk format. Upgrading the disk format is optional, but for best results, upgrade the
objects to use the latest version. The on-disk format exposes your environment to the complete
feature set of vSAN. See Upgrade vSAN Disk Format Using RVC.
VMware, Inc. 81
Administering VMware vSAN
Upgrade Prerequisite
Consider the aspects that might delay the overall upgrade process. For guidelines and best practices, see
the vSphere Upgrade documentation.
Review the key requirements before you upgrade your cluster to vSAN 6.7.3.
Software, hardware, drivers, firmware, and Verify that vSAN 6.7.3 supports the software and hardware components,
storage I/O controllers drivers, firmware, and storage I/O controllers that you plan on using. Supported
items are listed on the VMware Compatibility Guide website at http://
www.vmware.com/resources/compatibility/search.php.
vSAN version Verify that you are using the latest version of vSAN. You cannot upgrade from a
beta version to vSAN 6.7.3. When you upgrade from a beta version, you must
perform a fresh deployment of vSAN.
Disk space Verify that you have enough space available to complete the software version
upgrade. The amount of disk storage needed for the vCenter Server installation
depends on your vCenter Server configuration. For guidelines about the disk
space required for upgrading vSphere, see the vSphere Upgrade
documentation.
vSAN disk format Verify that you have enough capacity available to upgrade the disk format. If
free space equal to the consumed capacity of the largest disk group is not
available, with the space available on disk groups other than the disk groups
that are being converted, you must choose Allow reduced redundancy as the
data migration option.
For example, the largest disk group in a cluster has 10 TB of physical capacity,
but only 5 TB is being consumed. An extra 5 TB of spare capacity is needed
elsewhere in the cluster, excluding the disk groups that are being migrated.
When upgrading the vSAN disk format, verify that the hosts are not in
maintenance mode. When any member host of a vSAN cluster enters
maintenance mode, the cluster capacity is automatically reduced. The member
host no longer contributes storage to the cluster and the capacity on the host is
unavailable for data. For information about various evacuation modes, see the
Place a Member of vSAN Cluster in Maintenance Mode.
vSAN hosts Verify that you have placed the vSAN hosts in maintenance mode and selected
the Ensure data accessibility or Evacuate all data option.
You can use the vSphere Update Manager for automating and testing the
upgrade process. However, when you use vSphere Update Manager to
upgrade vSAN, the default evacuation mode is Ensure data accessibility.
When you use the Ensure data accessibility mode, your data is not protected,
and if you encounter a failure while upgrading vSAN, you might experience
unexpected data loss. However, the Ensure data accessibility mode is faster
than the Evacuate all data mode, because you do not need to move all data to
another host in the cluster. For information about various evacuation modes,
see the Place a Member of vSAN Cluster in Maintenance Mode.
Virtual Machines Verify that you have backed up your virtual machines.
VMware, Inc. 82
Administering VMware vSAN
Recommendations
Consider the following recommendations when deploying ESXi hosts for use with vSAN:
n If ESXi hosts are configured with memory capacity of 512 GB or less, use SATADOM, SD, USB, or
hard disk devices as the installation media.
n If ESXi hosts are configured with memory capacity greater than 512 GB, use a separate magnetic
disk or flash device as the installation device. If you are using a separate device, verify that vSAN is
not claiming the device.
n When you boot a vSAN host from a SATADOM device, you must use a single-level cell (SLC) device
and the size of the boot device must be at least 16 GB.
n To ensure your hardware meets the requirements for vSAN, refer to "Hardware Requirement for
vSAN" in vSAN Planning and Deployment.
vSAN 6.5 and later enables you to adjust the boot size requirements for an ESXi host in a vSAN cluster.
For more information, see the VMware knowledge base article at http://kb.vmware.com/kb/2147881.
Do not upgrade the witness host until all data hosts have been upgraded and have exited maintenance
mode.
Using vSphere Update Manager to upgrade hosts in parallel can result in the witness host being
upgraded in parallel with one of the data hosts. To avoid upgrade problems, configure vSphere Update
Manager so it does not upgrade the witness host in parallel with the data hosts.
VMware supports in-place upgrades on 64-bit systems from vCenter Server 4.x, vCenter Server 5.0.x,
vCenter Server 5.1.x, and vCenter Server 5.5 to vCenter Server 6.0 and later. The vCenter Server
upgrade includes a database schema upgrade and an upgrade of the vCenter Server. Instead of
performing an in-place upgrade to vCenter Server, you can use a different machine for the upgrade. For
detailed instructions and various upgrade options, see the vSphere Upgrade documentation.
VMware, Inc. 83
Administering VMware vSAN
If you have multiple hosts in the vSAN cluster, and you use vSphere Update Manager to upgrade the
hosts, the default evacuation mode is Ensure data accessibility. If you use this mode, and while
upgrading vSAN you encounter a failure, you risk losing data. For information about working with
evacuation modes, see Place a Member of vSAN Cluster in Maintenance Mode
For information about using vSphere Update Manager, see the documentation website at https://
www.vmware.com/support/pubs/vum_pubs.html .
Before you attempt to upgrade the ESXi hosts, review the best practices discussed in the vSphere
Upgrade documentation. VMware provides several ESXi upgrade options. Choose the upgrade option
that works best with the type of host that you are upgrading. For more information about various upgrade
options, see the vSphere Upgrade documentation.
Prerequisites
n Verify that you have sufficient disk space for upgrading the ESXi hosts. For guidelines about the disk
space requirement, see the vSphere Upgrade documentation.
n Verify that you are using the latest version of ESXi. You can download the latest ESXi installer from
the VMware product download website at https://my.vmware.com/web/vmware/downloads.
n Verify that you are using the latest version of vCenter Server.
n Verify the compatibility of the network configuration, storage I/O controller, storage device, and
backup software.
n Use Distributed Resource Scheduler (DRS) to prevent virtual machine downtime during the upgrade.
Verify that the automation level for each virtual machine is set to Fully Automated mode to help DRS
migrate virtual machines when hosts are entering maintenance mode. Alternatively, you can also
power off all virtual machines or perform manual migration.
Procedure
You must begin your upgrade path with ESXi 5.5 or later hosts in the vSAN cluster.
a Right-click the host and select Maintenance Mode > Enter Maintenance Mode.
b Select the Ensure data accessibility or Evacuate all data evacuation mode, depending on your
requirement, and wait for the host to enter maintenance mode.
If you are using vSphere Update Manager to upgrade the host, or if you are working with a three-
host cluster, the default evacuation mode available is Ensure data accessibility. This mode is
faster than the Evacuate all data mode. However, the Ensure data accessibility mode does not
fully protect your data. During a failure, your data might be at risk and you might experience
downtime, and unexpected data loss.
2 Upload the software to the datastore of your ESXi host and verify that the file is available in the
directory inside the datastore. For example, you can upload the software to /vmfs/volumes/
<datastore>/VMware-ESXi-6.0.0-1921158-depot.zip.
VMware, Inc. 84
Administering VMware vSAN
After the ESXi host has installed successfully, you see the following message:
The update completed successfully, but the system needs to be rebooted for the
changes to be effective.
b Right-click the host, select Power > Reboot, click Yes to confirm, and then wait for the host to
restart.
c Right-click the host, select Connection > Disconnect, and then select Connection > Connect
to reconnect to the host.
To upgrade the remaining hosts in the cluster, repeat this procedure for each host.
If you have multiple hosts in your vSAN cluster, you can use vSphere Update Manager to
upgrade the remaining hosts.
What to do next
1 (Optional) Upgrade the vSAN disk format. See Upgrade vSAN Disk Format Using RVC.
2 Verify the host license. In most cases, you must reapply your host license. For more information
about applying host licenses, see the vCenter Server and Host Management documentation.
3 (Optional) Upgrade the virtual machines on the hosts by using the vSphere Client or vSphere Update
Manager.
For best results, upgrade the objects to use the latest on-disk format. The latest on-disk format provides
the complete feature set of vSAN.
Depending on the size of disk groups, the disk format upgrade can be time-consuming because the disk
groups are upgraded one at a time. For each disk group upgrade, all data from each device is evacuated
and the disk group is removed from the vSAN cluster. The disk group is then added back to vSAN with
the new on-disk format.
Note Once you upgrade the on-disk format, you cannot roll back software on the hosts or add certain
older hosts to the cluster.
VMware, Inc. 85
Administering VMware vSAN
When you initiate an upgrade of the on-disk format, vSAN performs several operations that you can
monitor from the Resyncing Components page. The table summarizes each process that takes place
during the disk format upgrade.
5%-10% Disk group upgrade. vSAN performs the initial disk upgrade with
no data migration. This process takes a few minutes.
15%-95% Disk group removal and reformat. Each disk group is removed
from the cluster, reformatted, and added back to the cluster. The
time required for this process varies, depending on the
megabytes allocated and the system load. A system at or near
its I/O capacity transfers slowly.
95%-100% Final object version upgrade. Object conversion to the new on-
disk format and resynchronization is completed. The time
required for this process varies, depending on the amount of
space used and whether the Allow reduced redundancy option
is selected.
During the upgrade, you can monitor the upgrade process from the Resyncing Components page. See
"Monitor the Resynchronization Taks in the vSAN Cluster" in vSAN Monitoring and Troubleshooting. You
also can use the RVC vsan.upgrade_status <cluster> command to monitor the upgrade. Use the
optional -r <seconds> flag to refresh the upgrade status periodically until you press Ctrl+C. The
minimum number of seconds allowed between each refresh is 60.
You can monitor other upgrade tasks, such as device removal and upgrade in the Recent Tasks pane of
the status bar.
n If you upgrade a cluster with three hosts and you choose Evacuate all data, the evacuation can fail
for objects with a Primary level of failures to tolerate greater than 0 (zero). A three-host cluster
cannot reprotect a disk group that is being fully evacuated using the resources of only two hosts. You
might be prompted to add another disk group to an existing host.
VMware, Inc. 86
Administering VMware vSAN
For a three-host cluster, you can choose the Ensure accessibility data migration option. When in
this mode, any hardware failure might result in data loss.
You also must ensure that enough free space is available. The space must be equal to the logical
consumed capacity of the largest disk group. This capacity must be available on a disk group
separate from the one that is being migrated.
n When upgrading a three-host cluster or when upgrading a cluster with limited resources, allow the
virtual machines to operate in a reduced redundancy mode. Run the RVC command with the option,
vsan.ondisk_upgrade --allow-reduced-redundancy.
n Using the --allow-reduced-redundancy command option means that certain virtual machines
might be unable to tolerate failures during the migration. This lowered tolerance for failure also can
cause data loss. vSAN restores full compliance and redundancy after the upgrade is completed.
During the upgrade, the compliance status of virtual machines and their redundancies is temporarily
noncompliant. After you complete the upgrade and finish all rebuild tasks, the virtual machines will
become compliant.
n While the upgrade is in progress, do not remove or disconnect any host, and do not place a host in
maintenance mode. These actions might cause the upgrade to fail.
For information about the RVC commands and command options, see the RVC Command Reference
Guide.
Note If you enable encryption or deduplication and compression on an existing vSAN cluster, the on-
disk format is automatically upgraded to the latest version. This procedure is not required. You can avoid
reformatting the disk groups twice. See Edit vSAN Settings.
VMware, Inc. 87
Administering VMware vSAN
Prerequisites
n Verify that you are using the updated version of vCenter Server.
n Verify that you are using the latest version of ESXi hosts.
n Verify that the disks are in a healthy state. Navigate to the Disk Management page to verify the object
status.
n Verify that the hardware and software that you plan on using are certified and listed in the VMware
Compatibility Guide website at http://www.vmware.com/resources/compatibility/search.php.
n Verify that you have enough free space to perform the disk format upgrade. Run the RVC command,
vsan.whatif_host_failures, to determine whether you have enough capacity to complete the
upgrade or perform a component rebuild, in case you encounter any failure during the upgrade.
n Verify that your hosts are not in maintenance mode. When upgrading the disk format, do not place the
hosts in maintenance mode. When any member host of a vSAN cluster enters maintenance mode,
the member host no longer contributes capacity to the cluster. The cluster capacity is reduced and the
cluster upgrade might fail.
n Verify that there are no component rebuilding tasks currently in progress in the vSAN cluster. For
information about vSAN resynchronization, see vSphere Monitoring and Performance.
Procedure
The upgrade pre-check analyzes the cluster to uncover any issues that might prevent a successful
upgrade. Some of the items checked are host status, disk status, network status, and object status.
Upgrade issues are displayed in the Disk pre-check status text box.
5 Click Upgrade.
6 Click Yes on the Upgrade dialog box to perform the upgrade of the on-disk format.
vSAN performs a rolling reboot of each disk group in the cluster. The On-disk Format Version column
displays the disk format version of storage devices in the cluster.
If a failure occurs during the upgrade, you can check the Resyncing Objects page. Wait for all
resynchronizations to complete, and run the upgrade again. You also can check the cluster health using
the health service. After you have resolved any issues raised by the health checks, you can run the
upgrade again.
VMware, Inc. 88
Administering VMware vSAN
Note If you enable encryption or deduplication and compression on an existing vSAN cluster, the on-
disk format is automatically upgraded to the latest version. This procedure is not required. You can avoid
reformatting the disk groups twice. See Edit vSAN Settings.
Prerequisites
n Verify that you are using the updated version of vCenter Server.
n Verify that you are using the latest version of ESXi hosts.
n Verify that the disks are in a healthy state. Navigate to the Disk Management page in the vSphere
Web Client to verify the object status.
n Verify that the hardware and software that you plan on using are certified and listed in the VMware
Compatibility Guide website at http://www.vmware.com/resources/compatibility/search.php.
n Verify that you have enough free space to perform the disk format upgrade. Run the RVC command,
vsan.whatif_host_failures, to determine whether you have enough capacity to complete the
upgrade or perform a component rebuild, in case you encounter any failure during the upgrade.
n Verify that your hosts are not in maintenance mode. When upgrading the disk format, do not place the
hosts in maintenance mode. When any member host of a vSAN cluster enters maintenance mode,
the member host no longer contributes capacity to the cluster. The cluster capacity is reduced and the
cluster upgrade might fail.
n Verify that there are no component rebuilding tasks currently in progress in the vSAN cluster. See
"Monitor the Resynchronization Tasks in the vSAN Cluster in vSAN Monitoring and Troubleshooting.
Procedure
VMware, Inc. 89
Administering VMware vSAN
The upgrade pre-check analyzes the cluster to uncover any issues that might prevent a successful
upgrade. Some of the items checked are host status, disk status, network status, and object status.
Upgrade issues are displayed in the Disk pre-check status text box.
6 Click Yes on the Upgrade dialog box to perform the upgrade of the on-disk format.
vSAN performs a rolling reboot of each disk group in the cluster. The On-disk Format Version column
displays the disk format version of storage devices in the cluster. The Disks with outdated version
column indicates the number of devices using the new format. When the upgrade is successful, the Disks
with outdated version is 0 (zero).
If a failure occurs during the upgrade, you can check the Resyncing Components page in the vSphere
Web Client. Wait for all resynchronizations to complete, and run the upgrade again. You also can check
the cluster health using the health service. After you have resolved any issues raised by the health
checks, you can run the upgrade again.
Prerequisites
n Verify that you are using the updated version of vCenter Server.
n Verify that the version of the ESXi hosts running in the vSAN cluster is 6.5 or later.
n Verify that the disks are in a healthy state from the Disk Management page. You can also run the
vsan.disk_stats RVC command to verify disk status.
n Verify that the hardware and software that you plan on using are certified and listed in the VMware
Compatibility Guide website at http://www.vmware.com/resources/compatibility/search.php.
n Verify that you have enough free space to perform the disk format upgrade. Run the RVC
vsan.whatif_host_failures command to determine that you have enough capacity to complete
the upgrade or perform a component rebuild in case you encounter failure during the upgrade.
n Verify that you have PuTTY or similar SSH client installed for accessing RVC.
For detailed information about downloading the RVC tool and using the RVC commands, see the
RVC Command Reference Guide.
n Verify that your hosts are not in maintenance mode. When upgrading the on-disk format, do not place
your hosts in maintenance mode. When any member host of a vSAN cluster enters maintenance
mode, the available resource capacity in the cluster is reduced because the member host no longer
contributes capacity to the cluster. The cluster upgrade might fail.
VMware, Inc. 90
Administering VMware vSAN
n Verify that there are no component rebuilding tasks currently in progress in the vSAN cluster by
running the RVC vsan.resync_dashboard command.
Procedure
2 Run the following RVC command to view the disk status: vsan.disks_stats /< vCenter IP
address or hostname>/<data center name>/computers/<cluster name>
After the disk format upgrade has completed successfully, the following message appears.
There are n v1 objects that require upgrade Object upgrade progress: n upgraded, 0 left
5 Run the following RVC command to verify that the object versions are upgraded to the new on-disk
format: vsan.obj_status_report
Procedure
The current disk format version appears at the top of the page.
VMware, Inc. 91
Administering VMware vSAN
Procedure
You also can navigate to your ESXi host and select Summary > Configuration, and verify that you
are using the latest version of the ESXi host.
Run the vsan.ondisk_upgrade --help command to display the list of RVC command options.
Options Description
--hosts_and_clusters Use to specify paths to all host systems in the cluster or cluster's compute resources.
--ignore-objects, -i Use to skip vSAN object upgrade. You can also use this command option to eliminate
the object version upgrade. When you use this command option, objects continue to
use the current on-disk format version.
--allow-reduced-redundancy, -a Use to remove the requirement of having a free space equal to one disk group during
disk upgrade. With this option, virtual machines operate in a reduced redundancy
mode during upgrade, which means certain virtual machines might be unable to
tolerate failures temporarily and that inability might cause data loss. vSAN restores full
compliance and redundancy after the upgrade is completed.
--force, -f Use to enable force-proceed and automatically answer all confirmation questions.
For information about using the RVC commands, see the RVC Command Reference Guide.
VMware, Inc. 92
Administering VMware vSAN
vSAN 6.6.1 and later generates automated build recommendations for vSAN clusters. vSAN combines
information in the VMware Compatibility Guide and vSAN Release Catalog with information about the
installed ESXi releases. These recommended updates provide the best available release to keep your
hardware in a supported state.
System baselines for vSAN 6.7.1 and later also can include device driver and firmware updates. These
updates support the ESXi software recommended for your cluster.
In vSAN 6.7.3 and later, you can configure Update Manager to generate build recommendations for the
current ESXi release only, or for the latest supported ESXi release. A build recommendation for the
current release includes all patches and driver updates for the release.
vSAN generates one baseline group for each vSAN cluster. vSAN system baselines are listed in the
Baselines pane of the Baselines and Groups tab. You can continue to create and remediate your own
baselines.
vSAN system baselines can include custom ISO images provided by certified vendors. If hosts in your
vSAN cluster have OEM-specific custom ISOs, then vSAN recommended system baselines can include
custom ISOs from the same vendor. Update Manager cannot generate a recommendation for custom
ISOs not supported by vSAN. If you are running a customized software image that overrides the vendor
name in the host's image profile, Update Manager cannot recommend a system baseline.
Update Manager automatically scans each vSAN cluster to check compliance against the baseline group.
To upgrade your cluster, you must manually remediate the system baseline through Update Manager. You
can remediate vSAN system baseline on a single host or on the entire cluster.
vSAN requires Internet connectivity to access the release catalog. You do not need to be enrolled in the
Customer Experience Improvement Program (CEIP) for vSAN to access the release catalog.
If you do not have an Internet connection, you can upload the vSAN release catalog directly to the
vCenter Server. In the vSphere Client, click Configure > vSAN > Update, and click Upload from file in
the Release Catalog section. You can download the latest vSAN release catalog.
Update Manager enables you to import storage controller firmware and drivers recommended for your
vSAN cluster. Some storage controller vendors provide a software management tool that vSAN can use
to update controller drivers and firmware. If the management tool is not present on ESXi hosts, you can
download the tool.
VMware, Inc. 93
Administering VMware vSAN
vSAN build recommendations ensure sure that each vSAN cluster remains at the current hardware
compatibility status or better. If hardware in the vSAN cluster is not included on the HCL, vSAN can
recommend an upgrade to the latest release, since it is no worse than the current state.
Note Update Manager uses the vSAN health service when performing remediation precheck for hosts in
a vSAN cluster. vSAN health service is not available on hosts running ESXi 6. 0 Update 1 or earlier.
When Update Manager upgrades hosts running ESXi 6.0 Update 1 or earlier, the upgrade of the last host
in the vSAN cluster might fail. If remediation failed because of vSAN health issues, you can still complete
the upgrade. Use the vSAN health service to resolve health issues on the host, then take that host out of
maintenance mode to complete the upgrade workflow.
The following examples describe the logic behind vSAN build recommendations.
Example 1 A vSAN cluster is running 6.0 Update 2, and its hardware is included on the
6.0 Update 2 HCL. The HCL lists the hardware as supported up to release
6.0 Update 3, but not supported for 6.5 and later. vSAN recommends an
upgrade to 6.0 Update 3, including the necessary critical patches for the
release.
Example 2 A vSAN cluster is running 6.0 Update 2, and its hardware is included on the
6.0 Update 2 HCL. The hardware is also supported on the HCL for release
6.7 Update 3. vSAN recommends an upgrade to release 6.7 Update 3.
Example 3 A vSAN cluster is running 6.0 Update 2 and its hardware is not on the HCL
for that release. vSAN recommends an upgrade to 6.7 Update 3, even
though the hardware is not on the HCL for 6.7 Update 3. vSAN
recommends the upgrade because the new state is no worse than the
current state.
Example 4 A vSAN cluster is running 6.0 Update 2, and its hardware is included on the
6.0 Update 2 HCL. The hardware is also supported on the HCL for release
6.7 Update 3 and selected baseline preference is patch-only. vSAN
recommends an upgrade to 6.0 Update 3, including the necessary critical
patches for the release.
The recommendation engine runs periodically (once each day), or when the following events occur.
n Cluster membership changes. For example, when you add or remove a host.
VMware, Inc. 94
Administering VMware vSAN
n An update is made to the VMware Compatibility Guide or the vSAN Release Catalog.
The vSAN Build Recommendation health check displays the current build that is recommended for the
vSAN cluster. It also can warn you about any issues with the feature.
System Requirements
Update Manager must be installed manually on Windows vCenter Server.
vSAN requires Internet access to update release metadata, to check the VMware Compatibility Guide,
and to download ISO images from My VMware.
vSAN requires valid credentials to download ISO images for upgrades from My VMware. For hosts
running 6.0 Update 1 and earlier, you must use RVC to enter the My VMware credentials. For hosts
running later software, you can log in from the ESX Build Recommendation health check.
To enter My VMware credentials from RVC, run the following command: vsan.login_iso_depot -u
<username> -p <password>
VMware, Inc. 95