<\/p>\n\r\n[mordor:~] .\/mc-xen-balancer\r\n[+] hypervisor2 : 0.0 load and 0 slice(s) running\r\n[+] init\/reset load counter for hypervisor2\r\n[+] hypervisor2 has no slices consuming CPU time\r\n[+] hypervisor3 : 1.11 load and 3 slice(s) running\r\n[+] added test1 on hypervisor3 with 0 CPU time (registered 18.4 as a reference)\r\n[+] added test2 on hypervisor3 with 0 CPU time (registered 19.4 as a reference)\r\n[+] added test3 on hypervisor3 with 0 CPU time (registered 18.3 as a reference)\r\n[+] sleeping for 30 seconds\r\n\r\n[+] hypervisor2 : 0.0 load and 0 slice(s) running\r\n[+] init\/reset load counter for hypervisor2\r\n[+] hypervisor2 has no slices consuming CPU time\r\n[+] hypervisor3 : 1.33 load and 3 slice(s) running\r\n[+] updated test1 on hypervisor3 with 0.0 CPU time eaten (registered 18.4 as a reference)\r\n[+] updated test2 on hypervisor3 with 0.0 CPU time eaten (registered 19.4 as a reference)\r\n[+] updated test3 on hypervisor3 with 1.5 CPU time eaten (registered 19.8 as a reference)\r\n[+] sleeping for 30 seconds\r\n\r\n[+] hypervisor2 : 0.16 load and 0 slice(s) running\r\n[+] init\/reset load counter for hypervisor2\r\n[+] hypervisor2 has no slices consuming CPU time\r\n[+] hypervisor3 : 1.33 load and 3 slice(s) running\r\n[+] updated test1 on hypervisor3 with 0.0 CPU time eaten (registered 18.4 as a reference)\r\n[+] updated test2 on hypervisor3 with 0.0 CPU time eaten (registered 19.4 as a reference)\r\n[+] updated test3 on hypervisor3 with 1.7 CPU time eaten (registered 21.5 as a reference)\r\n[+] hypervisor3 has 3 threshold overload\r\n[+] Time to see if we can migrate a VM from hypervisor3\r\n[+] VM key : hypervisor3-test3\r\n[+] Time consumed in a run (interval is 30s) : 1.7\r\n[+] hypervisor2 is a candidate for being a host (step 1 : max VMs)\r\n[+] hypervisor2 is a candidate for being a host (step 2 : max load)\r\ntrying to migrate test3 from hypervisor3 to hypervisor2 (10.0.0.2)\r\nSuccessfully migrated test3 !\r\n<\/pre>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"
I retweeted this on twitter, but it’s just too good to not show. Over at rottenbytes.com Nicolas is showing some proof of concept code he wrote with MCollective that monitors the load on his dom0 machines and initiate live migrations of virtual machines to less loaded servers. This is the kind of crazy functionality I […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[7],"tags":[85,78],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/1419"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=1419"}],"version-history":[{"count":6,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/1419\/revisions"}],"predecessor-version":[{"id":1699,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/1419\/revisions\/1699"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=1419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=1419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=1419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}