This is a multi-part message in MIME format.
--------------040404050008060004030301
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
hello guys,
if you are interested, I wrote a simple python script to balance VMs on
different host/hypervisor, logic is simple and will search for same
couple of vm name and number suffix, odd and even, and it will try to
migrate even VM, if it resides on same host where resides the odd VM.
For example if VMPROJ1PROD01 and VMPROJ1PROD02 resides on same host,
then, the script will migrate only VMPROJ1PROD02.
url of script and rpms are on github:
http://github.com/amedeos/ovirt-BalanceVMOnDifferentHost
and feel free to suggest new patch, enhancement, create a fork...
p.s. I haven't use affinity groups, because maintenance of them will
become a struggle, and I want *only* to run same project/application VMs
with same name on different hypervisor.
Best regards
Amedeo Salvati
--------------040404050008060004030301
Content-Type: text/html; charset=iso-8859-15
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hello guys,
<br>
<br>
if you are interested, I wrote a simple python script to balance VMs
on
<br>
different host/hypervisor, logic is simple and will search for same
<br>
couple of vm name and number suffix, odd and even, and it will try
to
<br>
migrate even VM, if it resides on same host where resides the odd
VM.
<br>
<br>
For example if VMPROJ1PROD01 and VMPROJ1PROD02 resides on same host,
<br>
then, the script will migrate only VMPROJ1PROD02.
<br>
<br>
url of script and rpms are on github:
<br>
<br>
<a class="moz-txt-link-freetext"
href="http://github.com/amedeos/ovirt-BalanceVMOnDifferentHost"...
<br>
<br>
and feel free to suggest new patch, enhancement, create a fork...
<br>
<br>
p.s. I haven't use affinity groups, because maintenance of them will
<br>
become a struggle, and I want <b class="moz-txt-star"><span
class="moz-txt-tag">*</span>only<span
class="moz-txt-tag">*</span></b>
to run same project/application VMs
<br>
with same name on different hypervisor.
<br>
<br>
Best regards
<br>
Amedeo Salvati
</body>
</html>
--------------040404050008060004030301--