Hi.
Try it like this
Disable
Get-DatastoreCluster -name 'DsCluster_name' | Set-DatastoreCluster -IOLoadBalanceEnabled $false
Enable
Get-DatastoreCluster -name 'DsCluster_name' | Set-DatastoreCluster -IOLoadBalanceEnabled $true
Hi.
Try it like this
Disable
Get-DatastoreCluster -name 'DsCluster_name' | Set-DatastoreCluster -IOLoadBalanceEnabled $false
Enable
Get-DatastoreCluster -name 'DsCluster_name' | Set-DatastoreCluster -IOLoadBalanceEnabled $true
Perfect.
Thank you.
You can use the Set-Datastore cmdlet with the StorageIOControlEnabled switch.
You will have to do this for each datastore in the SDRS cluster.
SDRS load balancing is not exactly the same as enabling/disabling SIOC.
But which combination are you actually looking for?
In recent vSphere versions, you can enable metric gathering without actually enabling SIOC.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you for the explanation. I was looking for the option at SDRS level (load balancing), and then I realized that in some datastores the ''metric gathering' was also enabled. Dont know who or how it has been enabled. So i'm disabling it on each datastore.
The thing is that we found out that the DeviceqDepth is somehow getting modified only in the datastores where control IO is enabled, and we don't want this.
I'm still checking the documentation to see if I can get some explanation.