VMware Cloud Community
momox1
Contributor
Contributor
Jump to solution

SDRS - Disable-enable Enable I/O metric for SDRS recommendations

Hello,

I hope you are doing well.

I'm looking to enable/disable the ''Enable I/O metric for SDRS recommendations'' on all clusters  but for the moment I did not find the code or function to perform such action.

Any hint?

 

Thank you

0 Kudos
1 Solution

Accepted Solutions
Macleud
Enthusiast
Enthusiast
Jump to solution

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

View solution in original post

0 Kudos
4 Replies
Macleud
Enthusiast
Enthusiast
Jump to solution

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
0 Kudos
momox1
Contributor
Contributor
Jump to solution

Perfect.

 

Thank you.

0 Kudos
LucD
Leadership
Leadership
Jump to solution

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.

LucD_0-1657804385857.png

 


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
momox1
Contributor
Contributor
Jump to solution

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.

0 Kudos