Hi everyone! I''m trying to setup live migration of a paravirtualized Xen domU between two identical machines (Dell PowerEdge T105) running CentOS 5.2 x86_64 I followed the guide at http://www.asplund.nu/xencluster/xen-cluster-howto.html, even if it is for Ubuntu, because I couldn''t find a recent one for CentOS :/ Right now I have the domU running on a node on top of LVM, and drbd is mirroring the lvm devices between the two nodes.. The next step should be to configure the domU to use drbd (http://www.asplund.nu/xencluster/xen-cluster-howto.html#DomU drbd config), but I can''t figure out how to tell virt-manager/virsh to use the drbd devices.. Am I going the wrong way? Should I setup DRBD first and _then_ install the domU maybe? (the guide goes the other way round) Should I ditch pygrub and boot the domU directly from its kernel/initrd? Many thanks for your help! P.S. xen-3.2.1-0xs kernel-xen-2.6.18-92.1.10.el5 drbd 8.2 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Oct 9, 2008 at 2:57 PM, Federico Fanton <federico@panizzolo.it>wrote:> Hi everyone! > I''m trying to setup live migration of a paravirtualized Xen domU between > two identical machines (Dell PowerEdge T105) running CentOS 5.2 x86_64 > I followed the guide at > http://www.asplund.nu/xencluster/xen-cluster-howto.html, even if it is for > Ubuntu, because I couldn''t find a recent one for CentOS :/ > > Right now I have the domU running on a node on top of LVM, and drbd is > mirroring the lvm devices between the two nodes.. > The next step should be to configure the domU to use drbd ( > http://www.asplund.nu/xencluster/xen-cluster-howto.html#DomU drbd config), > but I can''t figure out how to tell virt-manager/virsh to use the drbd > devices.. > > Am I going the wrong way? Should I setup DRBD first and _then_ install the > domU maybe? (the guide goes the other way round) > Should I ditch pygrub and boot the domU directly from its kernel/initrd? >Yes. first setup drbd which will result /dev/drbd0, drbd1,..... and install guests there.> > Many thanks for your help! > > P.S. > xen-3.2.1-0xs > kernel-xen-2.6.18-92.1.10.el5 > drbd 8.2 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersParas. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Oct 13, 2008 at 4:52 PM, Paras pradhan <pradhanparas@gmail.com> wrote:> > > On Thu, Oct 9, 2008 at 2:57 PM, Federico Fanton <federico@panizzolo.it> > wrote: >> >> Hi everyone! >> I''m trying to setup live migration of a paravirtualized Xen domU between >> two identical machines (Dell PowerEdge T105) running CentOS 5.2 x86_64 >> I followed the guide at >> http://www.asplund.nu/xencluster/xen-cluster-howto.html, even if it is for >> Ubuntu, because I couldn''t find a recent one for CentOS :/ >> >> Right now I have the domU running on a node on top of LVM, and drbd is >> mirroring the lvm devices between the two nodes.. >> The next step should be to configure the domU to use drbd >> (http://www.asplund.nu/xencluster/xen-cluster-howto.html#DomU drbd config), >> but I can''t figure out how to tell virt-manager/virsh to use the drbd >> devices.. >> >> Am I going the wrong way? Should I setup DRBD first and _then_ install the >> domU maybe? (the guide goes the other way round) >> Should I ditch pygrub and boot the domU directly from its kernel/initrd? > > Yes. first setup drbd which will result /dev/drbd0, drbd1,..... and install > guests there. > > Paras.Hi Federico, Great to see people using my guide. ;) Unless something has changed lately, it is not possibly to run pygrub when using DRBD. A possible solution might be this: http://www.antibozo.net/xen/qemu-dm.drbd Nothing I have tried myself (haven''t even use pygrub), but I found it when doing a search for DRBD and pygrub. The order you setup up DRBD should not make any difference. The only gain I can see is that you avoid having to reedit your config files. I put it in this order in the guide to avoid introducing new things before testing basic functionality. Good luck with your setup. Daniel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users