vCenter

 View Only

Powercli script to getadvanced settings from esxi host Disk Queue Full Sample Size and Disk Queue Full Threshold

  • 1.  Powercli script to getadvanced settings from esxi host Disk Queue Full Sample Size and Disk Queue Full Threshold

    Posted Nov 04, 2024 11:13 AM

    HI

    We found out that global settings from vCenter do not apply to LUns specifically Queue Full Sample and Queue Full Threshold from vcenter even we set them in vCenter

    we had to log into each host and change these values with following command

    esxcli storage core device set --device <naa.???> --queue-full-sample-size 32 --queue-full-threshold 4

    Now that is ok but I am just wondering if there is any power cli command that we can at least output these values in csv format so since this is manuall work we want to see that we didnt miss anything

    At the beggining we tried to change it in advanced host settings but found out that it doesnt apply when you run

    esxcli storage core device list

    we saw that this setting doesnt apply and HPE told us that we have to change it for each LUN on each host manually unless someone know how to change it to hosts that connect to HP 3PAR

    Just wondering if there is powerCLI that will output this value using esxcli for each host in vcenter