|
VMware ESX Server 2.1
Features | Documentation | Knowledge Base | Discussion Forums You may edit the configuration file using a text editor on the service console or through the management interface. To edit configurations parameters in the management interface, complete the following steps.
If you edit a virtual machine's configuration file by hand, use the following formats to control disk bandwidth allocation for the virtual machine. scsi0:1.name = <fsname>:<diskname>.dsk This is the standard format for specifying the VMFS file underlying a virtual disk. sched.scsi0:1.shares = n This configuration option specifies the initial disk bandwidth share allocation for a virtual machine for the disk scsi0:1 to be n shares. The valid range of numerical values for n is 1 to 100000. You may also use the special values low, normal and high. These values are automatically converted into numbers, through the configuration options DiskSharesLow, DiskSharesNormal and DiskSharesHigh, described in the next section. If the number of shares for a disk is not specified, the assigned allocation is normal, with a default value of 1000 shares. Note: It is possible for a configuration file to have multiple lines specifying the number of shares. If this happens, the last value specified is used.
scsi0.virtualdev = vmxbuslogic
scsi0:2.present = TRUE In the example above, the first four lines in the first group and the first two lines in the second group are present in the configuration file before you make your changes. The final line in each group is the added line to specify the disk bandwidth allocation. Use the following guidelines for the service console commands to monitor and manage allocation of disk bandwidth on an ESX Server computer. /proc/vmware/vm/<id>/disk/vmhba<x:y:z> Reading from this file reports the number of disk bandwidth shares allocated to the virtual machine identified by <id> for the disk identified by vmhba<x:y:z>. It also reports disk usage statistics. Writing a number <n> to this file changes the number of disk bandwidth shares allocated to the virtual machine identified by <id> to <n>. The valid range of values for <n> is 0 to 100000. Or, you may use the special values low, normal and high. These values are automatically converted into numbers, through the configuration options DiskSharesLow, DiskSharesNormal and DiskSharesHigh, described in this section.
/proc/vmware/config/DiskSchedNumReqOutstanding
/proc/vmware/config/DiskSchedQuantum
/proc/vmware/config/DiskSharesLow
/proc/vmware/config/DiskSharesNormal
/proc/vmware/config/DiskSharesHigh
|