Is it possible to set SOIC using host profile? i want to make sure any new datastore added to the host gets SOIC enabled. is there a way to do this using Host Profile.
Also, is there a list that cannot be set using host profiles, i know of:
Lockdown Mode
License
thanks
script like this would change those settings
PowerCLI C:\> Get-Datastore <Datasctore Name>|Get-View|?{$_.Summary.Accessible -eq $true -and $_.Capability.StorageIORMSupported -and $_.Summary.MultipleHostAccess}|%{(Get-View (Get-View ServiceInstance).Content.StorageResourceManager).ConfigureDatastoreIORM_Task($_.MoRef, (New-Object VMware.Vim.StorageIORMConfigSpec -Property @{enabled=$true; congestionThresholdMode="automatic"; percentOfPeakThroughput="90"; statsAggregationDisabled=$true; statsCollectionEnabled=$true}))}
SIOC is a datastore level setting, not a host setting which means host profiles will not make this setting, If you have enabled SIOC on a datastore that setting is seen on all hosts attached to that datastore.
Adding a new datastore this setting would have to be enabled when added or a script run after the fact.
Cheers
Thanks.
with SIOC, the web client has new setting for Peak throughput theshold percentage and Exclude I/OO statistics from SDRS. Do you have a script to channge these?
script like this would change those settings
PowerCLI C:\> Get-Datastore <Datasctore Name>|Get-View|?{$_.Summary.Accessible -eq $true -and $_.Capability.StorageIORMSupported -and $_.Summary.MultipleHostAccess}|%{(Get-View (Get-View ServiceInstance).Content.StorageResourceManager).ConfigureDatastoreIORM_Task($_.MoRef, (New-Object VMware.Vim.StorageIORMConfigSpec -Property @{enabled=$true; congestionThresholdMode="automatic"; percentOfPeakThroughput="90"; statsAggregationDisabled=$true; statsCollectionEnabled=$true}))}