Sample Exchange

 View Only

vSAN Cluster Maintenance 

Feb 01, 2018 04:25 AM

In a cluster without DRS enabled, user should manually migrate the virtual machines off a host to let the host enter Maintenance Mode.

This sample script can automate this process and let the hosts enter Maintenance Mode one by one. After Maintenance, the script can migrated the virtual machines to make them balanced and evenly distributed in the cluster.


#vSphere
#Apache2.0
#vSAN
#VMwarePowerCLI
#PowerShell
#ESXi

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
ps1 file
Vsan-ClusterMaintenance.ps1   12 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.