Commit Graph

  • 490eb5e463 Updated the global manager to handle hosts with no VMs as being idle (0% CPU utilization) Anton Beloglazov 2012-10-24 14:21:36 +11:00
  • ad07469551 Updated vm_mhz_to_percentage, return [0] if there are no VMs - the host is idle Anton Beloglazov 2012-10-24 14:19:13 +11:00
  • 222cb18e02 Added a debug log message Anton Beloglazov 2012-10-24 14:13:59 +11:00
  • 3cf9c50a74 Updated append_*_data_locally to create a file if it does not exist Anton Beloglazov 2012-10-24 14:08:03 +11:00
  • 281e2fdf37 Updated the global manager to use the host CPU data Anton Beloglazov 2012-10-24 13:52:53 +11:00
  • 1ab44cc57e Updated the local manager to use the host CPU data Anton Beloglazov 2012-10-23 18:06:44 +11:00
  • 409fcec124 Added get_local_host_data Anton Beloglazov 2012-10-23 18:03:48 +11:00
  • 444775d5b3 Added append_host_data_remotely, updated execute Anton Beloglazov 2012-10-23 17:51:14 +11:00
  • 8518021871 Fixed a test Anton Beloglazov 2012-10-23 17:34:48 +11:00
  • 6c1534baf2 Added append_host_data_locally, updated cleanup_all_local_data Anton Beloglazov 2012-10-23 17:34:05 +11:00
  • 214917d933 Fixed a call to collector.write_vm_data_locally Anton Beloglazov 2012-10-23 17:33:28 +11:00
  • e0ce26445e Added build_local_host_path Anton Beloglazov 2012-10-23 17:32:51 +11:00
  • 16e26b6580 Renamed VM data IO functions to include "vm" Anton Beloglazov 2012-10-23 16:38:58 +11:00
  • f0e502d901 A minor fix Anton Beloglazov 2012-10-23 16:38:23 +11:00
  • 010e416d3c Fixed vm_mhz_to_percentage to correctly handle 0 filling Anton Beloglazov 2012-10-23 16:34:44 +11:00
  • 269ce0c065 Made the test runner accept a package argument to run tests from Anton Beloglazov 2012-10-23 16:34:14 +11:00
  • 3b8d1c41db Added another todo Anton Beloglazov 2012-10-22 18:01:54 +11:00
  • 6cdb69b2f1 Added host CPU MHz to vm_mhz_to_percentage Anton Beloglazov 2012-10-22 17:39:59 +11:00
  • 8ae20e8069 Added a todo Anton Beloglazov 2012-10-22 17:39:13 +11:00
  • 03cabd13fb Changed host_cpu_usable_by_vms to 1.0 Anton Beloglazov 2012-10-22 17:04:32 +11:00
  • f05c7c2c4b Updated the vm-placement script to use the data on CPU utilization by the hypervisor Anton Beloglazov 2012-10-22 17:04:16 +11:00
  • 6cbd066859 Removed a log message Anton Beloglazov 2012-10-22 17:00:26 +11:00
  • beacd650ca Updated the DB cleaner to clean the host_resource_usage table as well Anton Beloglazov 2012-10-22 16:59:42 +11:00
  • bd85baf977 Testing host CPU MHz history Anton Beloglazov 2012-10-22 16:54:12 +11:00
  • c56235afde Fixing the host CPU MHz Anton Beloglazov 2012-10-22 16:50:20 +11:00
  • 0b6ac7bdec Fixed tests Anton Beloglazov 2012-10-22 16:46:34 +11:00
  • 728654f79a Minor changes Anton Beloglazov 2012-10-22 16:43:19 +11:00
  • f60cdcf5b3 Debugging travis Anton Beloglazov 2012-10-22 16:39:10 +11:00
  • 5bc484f75c Added more logging messages Anton Beloglazov 2012-10-22 16:39:03 +11:00
  • a5431054e8 Debugging travis Anton Beloglazov 2012-10-22 16:31:04 +11:00
  • f1fc247011 A minor fix Anton Beloglazov 2012-10-22 16:30:57 +11:00
  • acf603f50b Added storing host CPU MHz locally and in the DB Anton Beloglazov 2012-10-22 16:25:20 +11:00
  • 02ff71133a Added get_host_cpu_mhz Anton Beloglazov 2012-10-22 16:05:55 +11:00
  • 762821bb84 Added a host_resource_usage DB table and a few query functions Anton Beloglazov 2012-10-22 11:58:57 +11:00
  • 9b9f139e82 Added debug messages to mhod Anton Beloglazov 2012-10-20 17:35:51 +11:00
  • e5bd43ee4d Fixed a call to bruteforce.optimize Anton Beloglazov 2012-10-20 17:25:15 +11:00
  • bb97b619a2 Fixed the return contract of mhod Anton Beloglazov 2012-10-20 17:22:16 +11:00
  • f031480b0a Fixed mhod Anton Beloglazov 2012-10-20 17:20:01 +11:00
  • 824daa7932 Fixed a call to update_request_windows Anton Beloglazov 2012-10-20 17:12:33 +11:00
  • 21e60d6299 Added max_window_size to init_request_windows Anton Beloglazov 2012-10-20 17:10:20 +11:00
  • b1e58b842e Fixed current_state in mhod Anton Beloglazov 2012-10-20 16:54:36 +11:00
  • 427f70cddd Fixed contracts in mhod Anton Beloglazov 2012-10-20 16:49:07 +11:00
  • 3a61748844 Fixed contracts in mhod Anton Beloglazov 2012-10-20 16:47:03 +11:00
  • 094f235b25 Added a script for deleting log files on compute hosts Anton Beloglazov 2012-10-20 15:44:16 +11:00
  • 4027f676c0 Added mhod_factory Anton Beloglazov 2012-10-20 15:39:48 +11:00
  • bdcb0db0a2 Modifed the config to use the MHOD overload detection Anton Beloglazov 2012-10-20 15:39:26 +11:00
  • 9efe6cf254 Removed debug messages Anton Beloglazov 2012-10-20 14:24:17 +11:00
  • 581ce72714 Debugging overload detection Anton Beloglazov 2012-10-20 14:03:56 +11:00
  • 33c0792a80 Debugging overload detection Anton Beloglazov 2012-10-20 13:58:16 +11:00
  • d2b9ecc509 Fixed physical_cpu_mhz Anton Beloglazov 2012-10-19 18:27:56 +11:00
  • 242c2656b3 Debugging overload detection Anton Beloglazov 2012-10-19 18:25:16 +11:00
  • 7e1793b6b9 Debugging overload detection Anton Beloglazov 2012-10-19 18:21:56 +11:00
  • 24010e0962 Debugging overload detection Anton Beloglazov 2012-10-19 18:18:49 +11:00
  • da5618297b Debugging overload detection Anton Beloglazov 2012-10-19 18:15:02 +11:00
  • ce9fe7960a Debugging overload detection Anton Beloglazov 2012-10-19 18:10:23 +11:00
  • 1a5b1060af Changed host_cpu_usable_by_vms to 99% Anton Beloglazov 2012-10-19 18:05:20 +11:00
  • b393e09fa5 Updated algorithm_overload_detection_parameters to use a non-adjusted CPU threshold Anton Beloglazov 2012-10-19 17:57:31 +11:00
  • 98a6c6db04 Fixed a test Anton Beloglazov 2012-10-19 17:55:21 +11:00
  • ce3252ec29 Fixed an error Anton Beloglazov 2012-10-19 17:55:18 +11:00
  • 347e035f41 Updated the local manager to use host_cpu_usable_by_vms Anton Beloglazov 2012-10-19 17:27:09 +11:00
  • 720f5b885c Updated the collector to store the adjusted CPU capacity of the host Anton Beloglazov 2012-10-19 17:19:56 +11:00
  • ab23b5bcec Applied host_cpu_usable_by_vms, fixed tests Anton Beloglazov 2012-10-19 17:10:58 +11:00
  • 30f3299e9d Added a host_cpu_usable_by_vms config option Anton Beloglazov 2012-10-19 16:58:57 +11:00
  • 7c0a50b7d5 Set the RAM threshold for VM placement to 95% Anton Beloglazov 2012-10-19 16:48:33 +11:00
  • 47271c5936 Adjusted the CPU thresholds considering the upper limit of the CPU allocated to VMs being 75% (16800 out of 22336 MHZ) Anton Beloglazov 2012-10-19 16:44:28 +11:00
  • 59cbd2f44d Fixed a bug Anton Beloglazov 2012-10-19 13:48:38 +11:00
  • f26d6e8e67 Updated migrate_vms to migrate two VMs at a time Anton Beloglazov 2012-10-19 13:43:14 +11:00
  • 5568774896 Added handling libvirt exception in case of deleted VMs Anton Beloglazov 2012-10-18 17:51:41 +11:00
  • 2980ff3b11 Removed a todo comment Anton Beloglazov 2012-10-18 16:36:41 +11:00
  • e4d342fcc8 Changed the log level of 412 from error to info Anton Beloglazov 2012-10-18 13:23:00 +11:00
  • 706d451ea5 Fixed a test Anton Beloglazov 2012-10-18 11:54:21 +11:00
  • 30e26f8bb8 Fixed monitoring of VM migration Anton Beloglazov 2012-10-18 11:47:55 +11:00
  • 888ba2ec68 Removed debug code Anton Beloglazov 2012-10-18 11:14:43 +11:00
  • 6b91622481 Debugging travis Anton Beloglazov 2012-10-18 11:04:27 +11:00
  • 80ccbffd1e Added logging of VM migrations to migrate_vms Anton Beloglazov 2012-10-18 10:57:19 +11:00
  • 6f5e0a8aa5 Added insert_vm_migration Anton Beloglazov 2012-10-18 10:55:03 +11:00
  • 9922d95b58 Added a vm_migrations DB table Anton Beloglazov 2012-10-18 10:41:57 +11:00
  • c7f1adbca0 Removed a comment Anton Beloglazov 2012-10-18 10:23:25 +11:00
  • 6d1d0ed8c0 Removed a comment Anton Beloglazov 2012-10-18 10:22:47 +11:00
  • 0268de7528 Added host_cpu_overload_threshold to the state Anton Beloglazov 2012-10-17 18:19:01 +11:00
  • 11aa36ca19 Modified log_host_overload to only log when the state has changed Anton Beloglazov 2012-10-17 18:14:26 +11:00
  • cb2b7929b8 Updated log_host_overload to return whether the host is overloaded Anton Beloglazov 2012-10-17 16:52:56 +11:00
  • 3cf767281e Allowed >1 thresholds of resource usage in VM placement Anton Beloglazov 2012-10-17 16:39:23 +11:00
  • 34ee836a9d Added host overload logging Anton Beloglazov 2012-10-17 16:37:31 +11:00
  • 1ba9d5d8be Added a host_cpu_overload_threshold config option Anton Beloglazov 2012-10-17 16:26:57 +11:00
  • e7af8703db Added insert_host_overload Anton Beloglazov 2012-10-17 16:18:11 +11:00
  • 2bf8f18aec Added physical_cpu_mhz to the state of the data collector Anton Beloglazov 2012-10-17 15:39:57 +11:00
  • 296a39c540 Added a host_overload db table Anton Beloglazov 2012-10-17 15:31:31 +11:00
  • 55d91f821c A minor fix Anton Beloglazov 2012-10-16 17:57:08 +11:00
  • 1c5ff3a57c Added a vm_instance_directory option, updated migrate_vms to chmod that directory before migration Anton Beloglazov 2012-10-16 17:51:23 +11:00
  • 4aeca4ea1d Another minor fix Anton Beloglazov 2012-10-16 15:47:52 +11:00
  • 08a90cc040 Minor fixes Anton Beloglazov 2012-10-16 15:38:40 +11:00
  • 5b1f3fa587 Fixed tests Anton Beloglazov 2012-10-16 15:32:35 +11:00
  • fa8ac98c86 Fixed calls to switch_hosts_on Anton Beloglazov 2012-10-16 15:07:31 +11:00
  • 90365efb25 Added host_mac, added automatically obtaining mac addresses when needed Anton Beloglazov 2012-10-16 14:56:11 +11:00
  • 609f701395 Updated deactivating hosts depending on the prev states Anton Beloglazov 2012-10-16 12:32:03 +11:00
  • cb3aa90fab Added select_active_hosts and select_inactive_hosts Anton Beloglazov 2012-10-16 12:28:09 +11:00
  • 977a248304 Added switching off initially idle hosts Anton Beloglazov 2012-10-16 12:09:36 +11:00
  • e2a9a707a8 Added select_host_states Anton Beloglazov 2012-10-16 12:06:40 +11:00
  • 0a3f4507e0 Added calling a sleep command over SSH, tested Anton Beloglazov 2012-10-16 11:44:05 +11:00