Intelligent Rebuilds in vsan 6.6 January 08, 2018

Similar documents
Adaptive Resync in vsan 6.7 First Published On: Last Updated On:

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

vsan Remote Office Deployment January 09, 2018

Native vsphere Storage for Remote and Branch Offices

vsan 6.6 Performance Improvements First Published On: Last Updated On:

VMware vsan 6.7 Technical Overview First Published On: Last Updated On:

VMware vsphere Clusters in Security Zones

vsan Security Zone Deployment First Published On: Last Updated On:

What's New in VMware vsan 6.6 First Published On: Last Updated On:

vsan Stretched Cluster Bandwidth Sizing First Published On: Last Updated On:

vsan Management Cluster First Published On: Last Updated On:

What's New in vsan 6.2 First Published On: Last Updated On:

vsan Stretched Cluster & 2 Node Guide January 26, 2018

Administering VMware Virtual SAN. Modified on October 4, 2017 VMware vsphere 6.0 VMware vsan 6.2

Migration. 22 AUG 2017 VMware Validated Design 4.1 VMware Validated Design for Software-Defined Data Center 4.1

Administering VMware vsan. 17 APR 2018 VMware vsphere 6.7 VMware vsan 6.7

VMware vsan 6.6 Technical Overview First Published On: Last Updated On:

Administering VMware vsan. Modified on October 4, 2017 VMware vsphere 6.5 VMware vsan 6.6.1

vsan Planning and Deployment Update 1 16 OCT 2018 VMware vsphere 6.7 VMware vsan 6.7

VMware Virtual SAN Data Management Operations

vsan Disaster Recovery November 19, 2017

vsan Monitoring January 08, 2018

ProphetStor DiskProphet Ensures SLA for VMware vsan

vsan Mixed Workloads First Published On: Last Updated On:

Veritas Storage Foundation for Windows by Symantec

vsan All Flash Features First Published On: Last Updated On:

DELL EMC VxRAIL vsan STRETCHED CLUSTERS PLANNING GUIDE

PLEXXI HCN FOR VMWARE ENVIRONMENTS

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Failure Testing January 09, 2018

Microsoft SQL Server 2014 on vsan 6.2 All-Flash December 15, 2017

VMware vsan 6.5 Technical Overview December 15, 2017

Microsoft SQL Server 2014 on VMware vsan 6.2 All-Flash October 31, 2017

Eliminate the Complexity of Multiple Infrastructure Silos

Metro Availability. Nutanix Best Practices Guide

Drive Sparing in EMC Symmetrix DMX-3 and DMX-4 Systems

VMware vsan 6.5 Technical Overview January 24, 2017

MONITORING STORAGE PERFORMANCE OF IBM SVC SYSTEMS WITH SENTRY SOFTWARE

Take Back Lost Revenue by Activating Virtuozzo Storage Today

Tech Note: vsphere Replication with vsan First Published On: Last Updated On:

VMware Virtual SAN. Technical Walkthrough. Massimiliano Moschini Brand Specialist VCI - vexpert VMware Inc. All rights reserved.

2014 VMware Inc. All rights reserved.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Storage Policies and vsan January 08, 2018

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

SRM 8.1 Technical Overview First Published On: Last Updated On:

VERITAS Volume Manager for Windows 2000 VERITAS Cluster Server for Windows 2000

SvSAN Data Sheet - StorMagic

The vsphere 6.0 Advantages Over Hyper- V

Nutanix Tech Note. Virtualizing Microsoft Applications on Web-Scale Infrastructure

Running VMware vsan Witness Appliance in VMware vcloudair First Published On: April 26, 2017 Last Updated On: April 26, 2017

Business Continuity and Disaster Recovery. Ed Crowley Ch 12

DELL EMC VXRAIL TM APPLIANCE OPERATIONS GUIDE

SRM 6.5 Technical Overview February 26, 2018

IBM Spectrum NAS. Easy-to-manage software-defined file storage for the enterprise. Overview. Highlights

vsan Monitoring and Troubleshooting Update 1 16 OCT 2018 VMware vsphere 6.7 VMware vsan 6.7

VMware Virtual SAN. High Performance Scalable Storage Architecture VMware Inc. All rights reserved.

TECHNICAL WHITE PAPER - JANUARY VMware Horizon 7 on VMware vsan Best Practices TECHNICAL WHITE PAPER

ActiveScale Erasure Coding and Self Protecting Technologies

DELL EMC UNITY: HIGH AVAILABILITY

Tips for a Successful VMware Virtual SAN Evaluation

Table of Contents HOL HCI

Interoperability First Published On: Last Updated On:

What s New in VMware Virtual SAN (VSAN) v 0.1c/AUGUST 2013

Introducing VMware Validated Designs for Software-Defined Data Center

Introducing VMware Validated Designs for Software-Defined Data Center

PLEXXI HCN FOR VMWARE VSAN

Using Double-Take Software and the Virtual Recovery Appliance

Virtuozzo Containers

SRM Evaluation Guide First Published On: Last Updated On:

Distributed System. Gang Wu. Spring,2018

Equitrac Office and Express DCE High Availability White Paper

Microsoft E xchange 2010 on VMware

iscsi Target Usage Guide December 15, 2017

vrealize Operations Manager vapp Deployment and Configuration Guide 23 AUG 2018 vrealize Operations Manager 6.5

VMware vsan and HCI: Validate and Prove. Student Handbook. VMware vsan and HCI: Validate and Prove Page 1

Storage Strategies for vsphere 5.5 users

vrealize Suite 7.0 Disaster Recovery by Using Site Recovery Manager 6.1 vrealize Suite 7.0

Server Fault Protection with NetApp Data ONTAP Edge-T

Data Sheet: Storage Management Veritas Storage Foundation for Oracle RAC from Symantec Manageability and availability for Oracle RAC databases

Stretched Clusters & VMware Site Recovery Manager December 15, 2017

VMware Validated Design Monitoring and Alerting Guide

VMWARE VSPHERE FEATURE COMPARISON

Performance Testing December 16, 2017

vsan Space Efficiency Technologies First Published On: Last Updated On:

CONFIGURATION GUIDE WHITE PAPER JULY ActiveScale. Family Configuration Guide

Expert Reference Series of White Papers. VSAN: Reimagining Storage in vsphere

VMware Virtual SAN Design and Sizing Guide for Horizon View Virtual Desktop Infrastructures TECHNICAL MARKETING DOCUMENTATION REV A /JULY 2014

Using VMware vsphere Replication. vsphere Replication 6.5

Exam Questions 1V0-621

Reasons to Deploy Oracle on EMC Symmetrix VMAX

Dell PowerVault MD3600f/MD3620f Remote Replication Functional Guide

VMWARE VIRTUAL SAN: ENTERPRISE-GRADE STORAGE FOR HYPER- CONVERGED INFRASTRUCTURES CHRISTOS KARAMANOLIS RAWLINSON RIVERA

Lenovo SAN Manager Rapid RAID Rebuilds and Performance Volume LUNs

Dell Technologies IoT Solution Surveillance with Genetec Security Center

VMware vsphere: Taking Virtualization to the Next Level

Figure 1-1: Local Storage Status (cache).

Stellar performance for a virtualized world

Veeam Backup & Replication v6

The Google File System

Transcription:

January 08, 2018 1

Table of Contents 1. Introduction 1.1.Executive Summary 1.2.Introduction to Intelligent Rebuilds 2. vsan 6.6 Intelligent Rebuilds 2.1.Purpose of Intelligent Rebuilds 2.2.Intelligent Rebuilds using Enhanced Rebalancing 2.3.Intelligent Rebuilds using Smart, Efficient Repairs 2.4.Intelligent Rebuilds using Partial Repairs 2.5.Intelligent Rebuilds using Resumable Resync 2.6.Intelligent Rebuilds with maintenance mode decommissioning 3. Usage scenarios 3.1.Activities that benefit from improved Intelligent Rebuilds 4. Conclusion 4.1.Conclusion 2

1. Introduction Executive Summary, and Introduction 3

1.1 Executive Summary Executive Summary A common requirement of enterprise storage systems is the ability to maintain resiliency and expected levels of performance in the face of hardware faults and other unforeseen conditions. VMware vsan is the industry leading distributed storage system built right into VMware vsphere, and is designed to offer the highest level of resiliency and performance, with the maximum amount of agility should hardware faults occur, or demands of the environment change. vsan's awareness of data placement is tightly integrated with routine activities such as host decommissioning, and VMware High Availability (HA). vsan can also place data intelligently based on site topology designs such as stretched clusters, and user defined fault domains. These, and many more conditions are accounted for in vsan's ability to intelligently manage performance, efficiency, and availability of data stored on a cluster powered by vsan. These mechanisms fall under the category of "intelligent rebuilds" and will be discussed in more detail in this document. 1.2 Introduction to Intelligent Rebuilds An Introduction to Intelligent Rebuilds In traditional three-tier architectures, resiliency of storage is provided by the use of redundant hardware componentry within a single storage unit - typically in the form of an array enclosure. In traditional storage systems, data is protected by using RAID protection schemes. These schemes are defined on a storage array, and achieved by spreading bytes of data across multiple drives, without regard to the type of data being stored on the LUN. Since virtualized environments might use a single array to provide storage for hundreds of VMs, this limits the flexibility of delivering various levels of protection and performance to individual VMs. Traditional arrays can only assign RAID protection levels per LUN. This presents operational challenges to virtualized environments, where many VMs could be running in a single LUN serving a datastore. If the array uses "wide striping" then it can only protect at one RAID level across the entire array. By contrast, VMware vsan is a distributed storage system that uses physical storage devices on each ESXi host in a cluster to contribute to the vsan storage system. vsan removes the concept and limitations around defining LUNs, and presents storage as a single, distributed datastore visible to all hosts in the vsphere cluster. VMware vsan is an object-based storage system integrated into VMware vsphere. Virtual machines that live on vsan storage are comprised of a number of storage objects. VMDKs, VM home namespace, VM swap areas, snapshot delta disks, and snapshot memory maps are all examples of storage objects in vsan. In vsan, RAID protection levels are defined and controlled in VMware vcenter, using storage policy based management (SPBM). vsan protects data at an object level, giving you the ability to protect VMs using various levels of protection (RAID-1, RAID-5, RAID-6) and performance on a per VM, or even per VMDK basis. vsan uses the concept of a RAID tree to ensure protection of objects. A "component" is the "leaf" of an object's RAID tree, and is how redundancy is provided to a given object. When using a RAID-1 protection scheme, a replica represents a complete copy of all of the components that make up an object. Figure 1 illustrates the relationship between between objects, components, and replicas. Components may be split into smaller components depending on environment conditions, policy settings, and the size of the objects. These disaggregated pieces of an object can be stored separately from the other components that make up an object. vsan automatically manages the distribution of components across the hosts that constitute a vsan cluster, and will actively rebuild or resynchronize components when VM objects are not currently adhering to their defined protection policies, severely imbalanced, or in the event of some operational change in the environment. 4

Figure 1. The relationship between an object, components, and replicas vsan 6.6 has a number of improvements designed to offer more intelligent rebuilds, optimizing the return to normal operations and compliance quickly, and automatically. 5

2. vsan 6.6 Intelligent Rebuilds Details behind the suite of functions and features that make up Intelligent Rebuilds in vsan 6.6 6

2.1 Purpose of Intelligent Rebuilds Purpose of Intelligent Rebuilds The purpose of any type of component resync or rebuild is to restore or ensure the level of resiliency defined for a given VMDK, VM, or collection of VMs. A number of improvements are included in vsan 6.6 that assist in the rebuild process and placement of components. The goals of the improvements were to provide the following: Achieve better balance of components across vsan hosts. Reduce time of rebuild or resync activities. Reduce amount of backend resources (CPU, network, disk I/O) used for storage related activities that are not the direct result of I/O generated by VMs. This includes a rebuild or resync of a component. vsan 6.6 includes a number of changes related to component rebuilds, such as: Intelligent rebuilds using enhanced rebalancing Intelligent rebuilds using smart, efficient repairs Intelligent rebuilds using partial repairs Resumable resyncs Maintenance mode decommissioning improvements Each enhancement will be described in more detail throughout this document, and will include recommendations to ensure the best use of these technologies for your vsan environment. RECOMMENDATION: Use supplementary tools to understand vsan backend activity. VMware vrealize Log Insight paired with the Log Insight content pack for vsan is a great way to better visualize vsan activity related activity. vrealize Operations paired with the management pack for vsan can also be used to better understand trends and workload behavior of your vsan powered environments. 2.2 Intelligent Rebuilds using Enhanced Rebalancing Intelligent Rebuilds using Enhanced Rebalancing Rebalancing is the act of redistributing components across the hosts that comprise a vsan datastore. The need to rebalance can be for a number of different reasons, such as thin provisioned virtual disks being filled up, or introducing an additional host to vsan, but the objective remains the same: Effective balancing of components across hosts leads to more efficient utilization of resources for both performance and capacity, and minimizes the effort to accommodate planned or unplanned events in a cluster. Rebalancing efforts fall into two general categories: Proactive rebalancing, and reactive rebalancing. Proactive rebalancing occurs when disks are less than 80% full. The opportunity to run a proactive rebalance will only occur when any single disk has consumed 30% more capacity than the disk with the lowest used capacity. vsan automatically checks for these conditions, and 7

will provide a health check alert that will allow the user to invoke a rebalance using the "Proactive Rebalance Disks" button in the Health section of the vsan UI. Reactive rebalancing occurs when any disk is more than 80% full. This is an automatic process taken by vsan to ensure the best distribution of components. An imbalance will automatically be detected, and vsan will automatically invoke efforts to achieve better balance. In vsan 6.6, a number of enhancements have been made in rebalancing components. Better decision making in rebalancing efforts. When determining the best strategy for moving components, vsan 6.6 factors in additional information about the components on disks exceeding 80% capacity. vsan evaluates how much data must be moved out of the identified disk in order to meet the desired balancing objective, and factors this into the component selection process. A more sophisticated selection process of components has been introduced in vsan 6.6 that prioritizes components so that the components selected for moving will make a more meaningful difference in the rebalancing effort. Previous editions of vsan relied on a rebalancing master to publish placement decisions for all components moving out of the source disk and host. This information could grow stale by the time the hosts act on the information. In vsan 6.6, data placement decisions are now based on a more recent cluster state, courtesy of more up to date information from other hosts. This improved decision making process for component placement can reduce the number of components being moved, and the number of unsuccessful component moves, thereby reducing the overall amount of CPU and network resources used to maintain proper balance. Splitting large components during redistribution. vsan 6.6 can now take an individual large component, and break it into smaller pieces for more optimal distribution. The breaking of components into smaller chunks will only occur during reactive balancing, when a disk has consumed more than 80% of its capacity. During the rebalancing process, if vsan finds a new disk with sufficient capacity for the component without the need for breaking into multiple components, it will place the component there in its entirety, and not split the component. As seen in Figure 2, if vsan can't find a new disk without breaking up the component, it will break into two, and retry the rebalancing effort. If it still cannot find a disk after the initial split, it will continue to further divide the component, and retry the previous step. This logic will be followed for up to 8 splits. The splitting of a component will only occur on the component being redistributed. Previous editions of vsan did not have this ability, and rebalancing efforts could either lead to less than ideal placement, or simply the inability to rebalance due to large component sizes coupled with minimal free space. 8

Figure 2. Reactive Rebalance with component split Improved visibility of rebalancing. Two improvements have been made to provide better visibility when rebalancing. The rebalance status has been updated to provide more frequent updates with more accurate reports of progress. The improvements make it much easier to report the number of bytes being moved out for rebalancing, and new resync graphs have been introduced in the performance service so that resync traffic can be monitored in greater detail. As shown in Figure 3, this can be found at the disk group level in the host-related vsan metrics. 9

Figure 3. Visibility of resync performance per disk group. vsan provides a number of rebalancing "states" in the UI, as shown in Figure 4. Proactive rebalance is needed. This state is triggered after vsan determines proactive rebalancing is needed following a 30 minute monitoring period. Proactive rebalance is in progress. This state is shown when a proactive rebalance is in progress. Proactive rebalance failed. This is when the object manager couldn t find any components that could be moved due to policy restrictions, lack of resources, etc. Reactive rebalance task is in progress. This state simply notifies the user that a reactive rebalance is in progress. Figure 4. An example of a rebalancing state as seen in the UI Note that rebalancing of components aims to achieve a relatively even distribution of components across the storage devices contributing to storage in a vsan data store. This is designed both to optimize performance, by distributing across the most devices, and to minimize the size of any 10

given fault domain. It will not rebalance data in such a way that it will compromise a given protection policy. For instance, vsan will never place the other leaf component of an object with a RAID-1 mirror on the same drive for the sake of balance. Resync Throttling. The traffic generated by any resyncing or rebalancing of components occurs on the network designated for vsan traffic. As described in this document, a number of enhancements in vsan 6.6 should reduce the effective amount of data traversing the vsan network during rebalancing or repair processes. In some cases, such as permanent host decommissioning during heavy workload, there may be times in which one would wish to reduce the resources used for this backend vsan activity. A new throttling mechanism is now available that helps achieve this. As shown in Figure 5, resync throttling is controlled at the cluster level using a slider bar in the UI. Figure 5. The throttling mechanism found in the UI The throttle represents the total bandwidth used by an individual disk group on a host, not the entire host. The vsan UI will show the resync bandwidth for the highest disk group per host. Once resync throttling is applied, it will apply this limit to all disk groups that attempt to exceed that limit. Throttling can be restricted down to 1MB per second. RECOMMENDATION: Resync throttling should generally only be used to address temporary conditions, and only if the performance metrics are indicating contention. Using resync throttling can only slow the effort down, not speed it up. The purpose of the resync throttling is to unblock VM I/Os during these situations, and should otherwise be left disabled. 2.3 Intelligent Rebuilds using Smart, Efficient Repairs Intelligent Rebuilds using Smart, Efficient Repairs vsan is designed to automatically detect when an object is no longer compliant with an assigned protection policy, and after a designated amount of time will rebuild the relevant components elsewhere to regain compliance. A common scenario would be if a host in a vsan cluster is unexpectedly offline. These component rebuilds are invoked when the compliance failure has occurred for 60 minutes or longer, and no explicit error codes were sensed. A rebuild would occur on the entire set of components deemed absent, in order to regain compliance with the assigned protection policies. Note that in scenarios where vsan detects an object no longer compliant with an assigned policy as a result of a device failure and resulting error code sensed, a rebuild will begin immediately. 11

In vsan 6.6, key enhancements have been made in the effort of restoring compliance of protection policies to objects, while minimizing resources used for a rebuild. Additional repair method. Prior to version 6.6, vsan offered a strict component rebuild process invoked after components were marked as absent for 60 minutes or longer. Once this rebuild process started, it would continue until completion, even if the affected host would come back online shortly after the 60 minute timeout window. This process would also resync the slightly outdated components on the recently restored host while rebuilding the entire component elsewhere, but could only use the rebuilt component upon completion. vsan 6.6 introduces a new repair method that also allows vsan to take advantage of the resyncronized component on the host, should vsan deem this the more efficient method to use. New logic to determine best method to use. When a host or device comes back online after a 60 minute window, vsan will look at the amount of data remaining for a component rebuild to complete, versus how long it would take to repair or resync the outdated component, and choose the method that will complete with the least amount of effort, cancelling the other rebuild operation. These improvements significantly reduce the amount of data that needs to be rebuilt, and the time that it takes for objects to regain compliance of their protection policies. Reducing the need for full component rebuilds can also free up space that is not needed immediately for the rebuild process. The added repair method, and the new logic in determining the best method for repair is extremely beneficial for hosts that were in their maintenance window just slightly longer than the 1 hour timeout period, as well as for hosts that hold a large amount of consumed capacity for objects. 2.4 Intelligent Rebuilds using Partial Repairs Intelligent Rebuilds using Partial Repairs When objects are no longer in compliance with their designated protection policy, vsan manages the repair and rebuilding process in the most efficient way possible. It takes into account a number of factors, including component size, distribution of objects, storage policy conditions, and capacity remaining on devices. When the repair or rebuild process begins after components have been absent for longer than 60 minutes, it will attempt to make the smartest decisions on the order and placement of the components it is rebuilding. In vsan 6.6, this rebuild and repairing process has been enhanced through the concept of "partial repairs." Previous editions of vsan would only be able to successfully execute a repair effort if there were enough resources to repair all of the degraded, or absent components in entirety. The repair process in vsan 6.6 will take a more opportunistic approach to healing by repairing as many degraded, or absent components as possible, even if there are insufficient resources to ensure full compliance. The effective result is that an object might remain non-compliant after a partial repair, but will still gain increased availability from those components that are able to be repaired. Any remaining components that are not repaired to meet their full level of compliance according to the SPBM policy will be repaired as soon as enough capacity resources become available. An example of a partial repair process can demonstrated in a scenario of a 6 node vsan cluster, with a VM configured for an FTT set to 2. As shown in Figure 6, In the event that two host failures occur, the VM would still be available, but the effective FTT would be 0, as there would only be one replica remaining. With the new partial repair process, vsan will initiate and complete a repair of the objects if enough resources are available to increase the effective FTT level as a result of the repair. While the objects might remain non-compliant from the desired SPBM policy of FTT=2, the partial repair process will have increased the effective availability to FTT=1. vsan will eventually complete the repair to make the object fully compliant when resources become available. Increased resource availability could come from adding hosts, adding capacity, deleting unused VMs, or reducing protection levels of other VMs. 12

13

Figure 6. An example of a partial repair process in a standard cluster. Partial repairs work in both standard and stretched cluster environments. An example of a partial repair process in a stretched cluster environment can be demonstrated in a scenario of an 8 node stretched cluster, with a VM configured for PFTT=1 (remote protection level), and SFTT=1 (Local protection level). As shown in Figure 7, in the event that a site failure occurs, and the remaining site has an host failure, the VM would still be available in the remaining site. The effective PFTT would be 0, and SFTT would be 0, as it would be the last replica remaining. The new partial repair process will initiate and complete a best effort repair in the surviving site. While the object might remain noncompliant across sites (PFTT), the partial repair process will have increased the effective local protection level to a locally compliant level of SFTT=1. vsan will eventually complete the repair to make the object fully compliant across sites when resources become available. 14

15

Figure 7. An example of a partial repair in a stretched cluster. In both examples, vsan will give priority to the partial repair of data components over witness components. 2.5 Intelligent Rebuilds using Resumable Resync Intelligent Rebuild using Resumable Resync Resynchronization efforts play an important role in the ability to ensure compliance of protection policies for objects in vsan. vsan 6.6 has improved the resync action so that it is more resilient, and efficient. In prior editions of vsan, an interrupted resync would need to start the resync process from the beginning. An example of a resync interruption includes an absent host coming back online, running the resync process, followed by a brief network interruption. Changing an SPBM policy on an object while the host containing the owner object is offline is another scenario in which resyncs would need to start from the beginning. As shown in Figure 8, vsan 6.6 is now able to transparently resume a resync operation where it left off following an interruption, avoiding the need to reprocess already resynchronized data. 16

Figure 8. Resumable resyncs. Resumable resyncs are achieved by accepting writes and tracking the changes on the component that remains available. vsan identifies the last write that the component has when the host containing the component goes offline, while keeping the previous effort of resynchronized data. The updated writes that are committed to the component still available is tracked separately from the original resync tracking. Once the component comes back from being temporarily unavailable, the tracked changes on the active components are merged into the components temporarily offline so that it can resume the resynchronization process. As data is resynchronized, vsan will incrementally update its understanding of what data has been committed so that in the event of another incremental outage, it does not have to resync data already synchronized. 2.6 Intelligent Rebuilds with maintenance mode decommissioning Intelligent Rebuilds with Maintenance Mode Decommissioning Maintenance mode operations are an important aspect of typical data center operations. The Enter Maintenance Mode (EMM) workflow is integrated into vsan operations, and gives the following options: Evacuate all data Ensure data accessibility No data evacuation "Ensure data accessibility" simply allows the VMs to remain accessible, yet potentially in a degraded state of redundancy. This is typical for most quick maintenance mode operations, and no data will be moved. No data evacuation is most often related to a full cluster shutdown, and just as the name implies, no data will be moved. Evacuate all data will rebuild the components onto other hosts to maintain the desired protection policies assigned to the VMs. This last option is commonly used for activities such as hardware maintenance, decommissioning, or possibly ondisk format changes introduced in vsan. These modes apply not only to host entering maintenance mode, but disk, and diskgroup EMM activities. In vsan 6.6, evacuating data to other hosts has been optimized to reduce the amount of overhead and data migration during an EMM operation. This translates to quicker time to complete the EMM operation. 17

The object manager will no longer attempt to fix compliance at an object level across the cluster during a full evacuation, but rather, only strive to move all components from the node entering maintenance mode onto other nodes in the cluster. vsan will preserve a current object effective FTT level during this operation. If an object had been assigned FTT=2 in its policy, but had an effective availability of FTT=1, it will preserve this FTT=1 status for the EMM effort. This reduces the amount of time required, minimizes data movement across the cluster, and also increases the chance for a successful maintenance mode operation. Previous editions would require all affected objects to be fully compliant, including the repair of other unrelated components before completing the EMM process. RECOMMENDATION: Choose the correct maintenance mode operation for your intention. Typical vsphere patches are often applied quickly, and the most significant downtime might just be the reboot process of the host. If you re VMs can run with less resiliency for a brief amount of time, then the Ensure Accessibility maintenance mode option is an extremely efficient way to go. Other maintenance activities on a server expected to take a longer time period might be more suitable for the full evacuate option. 18

3. Usage scenarios Scenarios that demonstrate where particular Intelligent Rebuild functionality comes into play. 19

3.1 Activities that benefit from improved Intelligent Rebuilds Activities that benefit from improved Intelligent Rebuilds Nearly all back-end management activities by vsan benefit from the improvements described in this document. The activities listed below highlight where, and how the individual improvements will provide benefit. The benefits of the enhancements are not limited to these examples, but serve as an way to better understand how the improvements apply to real world use cases. Sustained Fault domain failure Sustained fault domain failures can be the result of a single fault domain such as a host, device, disk group, or defined fault domain. A failed host for instance will be able to take advantage of a number of enhancements to intelligent rebuilds. Partial repairs will attempt to improve the FTT level even if it cannot satisfy the entire policy, while resumable resyncs will allow for a quicker time to completion in the event of intermittent outages during a rebuild process. Improved visibility of resync activity in the UI is also an important part of the intelligent rebuild process. Fault domain restored prior to rebuild completing A vsan cluster that has a host go offline for a temporary amount of time (but over 60 minutes) will also benefit from a number of enhancements to intelligent rebuilds. Smart efficient repairs provides the primary benefit in determining the best strategy for rebuild once the host comes back online. Improved visibility of resync activity in the UI is also an important part of the intelligent rebuild process. Decommissioning of a host or diskgroup Decommissioning a host in a vsphere cluster is a common practice in the data center. Whether it be for permanent removal of a host from a cluster, or temporarily for maintenance activities. In the event of entering maintenance mode in which full evacuation of data is desired, vsan s intelligent rebuilds take advantage of enhancements in maintenance mode decommissioning to speed of the process of entering maintenance mode. Improved visibility of resync activity in the UI provides additional benefit to the user. These enhancements are also applicable to disk and diskgroup decommissioning that can occur as a result of disk format changes, or other disk evacuation activities. RECOMMENDATION: Use a single host maintenance mode for rolling cluster updates. In traditional three-tier architectures, persistent storage was housed separately, and if a cluster had sufficient compute resources to tolerate more than one host offline at any given time, this could speed up the remediation process for host updates. In vsan, a single host maintenance mode rolling update is a better strategy as it will reduce the amount component resyncing to ensure proper compliance. Disks nearing capacity As storage devices in a vsan datastore fill up, the improvements made in vsan 6.6 show up in many areas. When the automated, reactive rebalancing is initiated, the enhanced rebalancing will allow for components to be split, offering better placement decisions during the rebalancing process. Improved visibility of resync activity in the UI provides additional benefit to the user. 20

RECOMMENDATION: Use performance graphs to understand backend activity. vsan 6.6 significantly reduces this burden of backend traffic, but in order to understand the actual burden of resync, monitor resync activity using the graphs courtesy of the Performance Service in vsan. The new resync graphs can be found by highlighting a host, clicking on Monitor > Performance > vsan Disk Group and looking at all resync related graphs. Disks imbalanced across cluster vsan powered clusters that have sufficient capacity, but are identified by vsan as imbalanced, will provide the option of a user initiated proactive rebalance, and will benefit from improved visibility of the resync activity during this rebalance effort. This imbalance could come from thin provisioned virtual disks having a sudden amount of growth, or perhaps from a host placed into maintenance mode where all of the data was evacuated, but has recently been brought back online. vsan will notice this imbalance, and suggest a rebalance if it is advised. The performance graphs in the vsan performance UI will illustrate the backend activity occurring during the resync, and the status indicators in the Health UI will provide more meaningful state of the rebalance activity. Impending failure of a device Not specifically discussed in this document, Degraded Device Handling (DDH) will also benefit from the enhancements made to intelligent rebuilds. In situations where there is only one valid copy of data left on the cluster, it will be evacuated and the component placements will be in accordance to the enhanced rebalancing mechanisms in vsan 6.6. Improved visibility of resync activity in the UI provides additional benefit to the user. 21

4. Conclusion Conclusion 22

4.1 Conclusion Conclusion All of the individual enhancements to the task of intelligent rebuilds deliver specific performance and efficiency improvements to vsan. These improvements, while described individually in this document, will have dramatic improvements in efficiency when vsan uses them collectively against the demands of real workloads, and environmental demands of a production environment. About the Author This content in this document was assembled using content from various resources from vsan Engineering and vsan Product Management. Pete Koehler is a Sr. Technical Marketing Manager, working in the Storage and Availability Business Unit at VMware, Inc. He specializes in enterprise architectures, data center analytics, software-defined storage, and hyper-converged Infrastructures. Pete provides more insight to challenges of the data center at vmpete.com, and can also be found on twitter at @vmpete. 23