...
- change service_offering and disk_offering table in cloud database.
alter table service_offering add column total_bytes_sec bigint(20) unsigned default 0;
alter table service_offering add column total_iops_sec bigint(20) unsigned default 0;
...
- disk_offering add column total_bytes_sec bigint(20) unsigned default 0;
alter table disk_offering add column total_iops_sec bigint(20) unsigned default 0;
- add global configurations
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'vm.disk.throttling.io_rate', 0, 'Default disk I/O rate in requests per second allowed in User vm\'s disk. ');
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'vm.disk.throttling.bytes_rate', 0, 'Default disk I/O rate in bytes per second allowed in User vm\'s disk. ');
...
add "Disk Rate (BPS)" and "Disk Rate (IOPS)" in Offerings ( compute,system,disk)
display "Disk Rate (BPS)" and "Disk Rate (IOPS)" in the detail page of offerings.
Discussions
- Is it necessary to limit the disk I/O of systemvms?
- For Attached additional Volume(AddVolumetoVM), is the limitation set to vm.service_offering (if not 0) or volume.disk_offering?
- the changes of names and labels.
References
Appendix
Appendix A:
...