Storage I/O Control is a new feature of vSphere 4.1 which allows a user to define the QoS prioritization for the I/O activity on a single host or a cluster of hosts. SIOC supports only VMFS volumes and the latency threshold is configured on a per VMFS datastore.
Currently, the only method of configuring SIOC is using the vSphere Client while connected to your vCenter Server, which can be tedious if you manage more than 1 VMFS datastore:
The following vSphere SDK for Perl script allows a user to bulk update SIOC across your vSphere infrastructure based on an input file that consists of the name of the VMFS datastores and the latency thresholds to be configured. The script requires that you connect to your vCenter server and provide the following input parameters:
–datastore_inputfile = Is the name of the datastore input file which contains the name of your VMFS datastore and the latency value
–operation = There are four supported operations (query|enable|disable|update)
–vihost = Name of the ESX(i) host to perform the operation on (you only need to perform the operation on 1 host within a cluster and the changes are taken place across all hosts)
Here is an example of the datastore input file:
[vi-admin@makalu scripts]$ cat datastorelist
# mydatastore1; 35
Note: The latency threshold must be between 10-100 ms. The default value when you enable SIOC is 30 ms,
Example of query operation:
Example of enable operation:
Example of disable operation:
Example of update operation:
Before attempting to make any changes, make sure you consult with your storage vendor.