Enabling the Performance Service
The performance service is disabled by default upon the creation of the vSAN cluster. You can enable the performance service after you configure the vSAN cluster to monitor the performance of the cluster, the participating hosts, disks, and VMs.
In the vSphere Client, you can enable the performance service from Health and Performance settings on the cluster.
To enable the vSAN performance service using the vSphere Client, navigate to the vSAN cluster, click the Monitor tab, and then click vSAN. Click Performance and then click Enable.
Following is an example of how
to enable the performance service by using the
vSAN
Management API:
print 'Enable perf service on this cluster' # Apply the Performance Service to the VSAN config vsanPerfSystem = vcMos['vsan-performance-manager'] # Apply the config update task = vsanPerfSystem.CreateStatsObjectTask(cluster) vsanapiutils.WaitForTasks([task], si)