Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

Setting the QueueFullThreshold and QueueFullSampleSize via PowerCLI

$
0
0

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.


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>