[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] DRBD and XEN on Centos5.5
Hi All, > -----Original Message----- > I'm looking for some pointers and gotchas regarding implementing DRBD > and > XEN on Centos 5.5 > > I have a Dom0 with Centos 5.5, drbd-8.3.8 and xen 3.4.3. I'm able to > create > a DomU with the drbd backed device as it's storage, however, when I > attempt > to use the drbd: syntax in the config so that pygrub can boot the domU, > it > fails with Error: Boot loader didn't return any data! > > Should I the following to overcome this issue or has this been fixed > and am > I doing something wrong? > > "... qemu-dm wrapper script found at this URL: > http://www.antibozo.net/xen/qemu-dm.drbd" I've done some further testing and found that the scripts that come with xen for DRBD don't work using the drbd: syntax in the DomU.conf file. They are unable to bring a drbd resource into the primary state and even if the resource is in a primary state pygrub cannot find the resource to boot. What does work is http://www.antibozo.net/xen/qemu-dm.drbd" - this will bring the drbd resource into primary and boot from it :-) - Thanks Jefferson Ogata for this script. I have also managed to live migrate the domain by promoting to primary the drbd resource on the destination server and then issuing the standard xm migrate -l DomU destination command. The (in my case) pvm migrated over seamlessly and without any problems. The promotion to primary has to be manually done i.e. drbdadm primary "drbdresource" on the destination host. I think that the next thing is heartbeat for HA :-) Cheers Simon. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |