T
toby
Guest
Hi,
I successfully set up a 2 node proxmox 2.0 HA cluster with DRBD/LVM and KVM VMs. Everything including live migration, fencing etc. works well OOTB - congratulations for such a great product! The only problem I have is that rgmanager on shutdown simply seems to stop resources (VMs) and restart them on other nodes. However I would expect integrated live migration functionality for VM resources so that the VMs are not rebooted but live migrated instead. Any idea how to achieve that?
If not, what do you think about writing an init-script (K00move-vms) which - using clusvcadm - moves locally hosted VMs to the other nodes at reboot/halt?
Thanks in advance!
EDIT: my cluster.conf:
I successfully set up a 2 node proxmox 2.0 HA cluster with DRBD/LVM and KVM VMs. Everything including live migration, fencing etc. works well OOTB - congratulations for such a great product! The only problem I have is that rgmanager on shutdown simply seems to stop resources (VMs) and restart them on other nodes. However I would expect integrated live migration functionality for VM resources so that the VMs are not rebooted but live migrated instead. Any idea how to achieve that?
If not, what do you think about writing an init-script (K00move-vms) which - using clusvcadm - moves locally hosted VMs to the other nodes at reboot/halt?
Thanks in advance!
EDIT: my cluster.conf:
Code:
<?xml version="1.0"?>
<cluster config_version="6" name="EDC-STORAGE">
<cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="..." auth="password" lanplus="1" login="root" name="fence_esb01" passwd="..." power_wait="5"/>
<fencedevice agent="fence_ipmilan" ipaddr="..." auth="password" lanplus="1" login="root" name="fence_esb02" passwd="..." power_wait="5"/>
</fencedevices>
<clusternodes>
<clusternode name="esb01" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="fence_esb01"/>
</method>
</fence>
</clusternode>
<clusternode name="esb02" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="fence_esb02"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="1000"/>
</rm>
</cluster>
Last edited by a moderator: