[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] DRBD and XEN on Centos5.5


  • To: "'Xen List'" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Simon Billis" <simon@xxxxxxxxxx>
  • Date: Mon, 9 Aug 2010 15:53:21 +0100
  • Delivery-date: Mon, 09 Aug 2010 07:55:23 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Acs3sZG+zxIZ6euBQ/i1i+jvAXxtkAAG1iHA

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.