How-To Change XtremIO Disk.SchedNumReqOutstanding in VMware vSphere 6.0http://www.mattlestock.com/2015/05/how-to-change-xtremio-disk-schednumreqoutstanding-in-vmware-vsphere-6-0/
Recently I was working on our lab in the office after upgrading our hosts to vSphere 6.0 and needed to change the Disk.SchedNumReqOutstanding values to 256. However this value has changed in 6.0 to NoofoutstandingIOswithcompetingworlds.
There are a lot of PowerCLI scripts out there to set this value for all of your XtremIO luns, however in 6.0 there were additional values added to storage.core.device.set.
So here’s a PowerCLI script that will connect to your vCenter server, enumerate your hosts, and modify the Disk.SchedNumReqOutstanding value to the EMC recommended 256.
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Connect-VIServer -Server VCENTER_IP -User USERNAME -Password PASSWORD
$hosts = get-vmhost
foreach ($esx in $hosts)
{
$esxcli=get-esxcli -VMHost $esx
$devices = $esxcli.storage.core.device.list()
foreach ($device in $devices)
{
if ($device.Model -like "XtremApp")
{
$esxcli.storage.core.device.set($null, $null, $device.device, $null, $null, $null, $null, $null, $null, $null, $null, 256, $null, $null)
}
}
}
|
No comments:
Post a Comment