Hi
We have recently moved some of our systems from Esxi .5 to Esxi 6.5 and when running our powershell script to set the appropriate parameters we have come upon an issue where the Storage Core Devise Set command has changed. I can find examples of how to set the QueueFullThreshold and QueueFullSampleSize via Esxcli on each host by using
esxcli storage core device set --device device_name --queue-full-threshold 4 --queue-full-sample-size 32
However I would like to be able to update our PowerCLi script so that it then runs through and updates all the hosts.
Previously the following parameters were needed
{void set(boolean defaultname, string device, boolean force, string name, boolean nopersist, long queuefullsamplesize, long queuefullthreshold, long schednumreqoutstanding, string state)}
Which was carried out using the following $ESXCli.storage.core.device.set($True,$thisLUN.CanonicalName,$False,$null,$False,$QueueFullSample,$QueueFullThreshold,$null,$null)
However I am unsure what is needed for the new parameters.
{boolean set(boolean dataintegrityenabled, boolean defaultname, string device, boolean force, long ledduration, string ledstate, long maxqueuedepth, string name, boolean nopersist, long queuefullsamplesize, long queuefullthreshold, long schednumreqoutstanding, string state, boolean writecacheenabled)}
All I need to set is the long queuefullsamplesize, long queuefullthreshold settings
Any help would be appreciated as I am new to the PowerCli and its commands. I think I have figured out testing for the host version so it issues the correct command for each device.