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

Re: [Xen-users] Live migrate using DRBD



On Mon, Jun 7, 2010 at 6:07 PM, Mark Adams <mark@xxxxxxxxxxxxxxxxxx> wrote:
>> You didn't mention how you use the disk. In my experience it's easier
>> to simply use phy:/dev/drbd/by-res/ symlinks (which is available since
>> drbd 8.3, I think) compared to using drbd:/ (which I never got to
>> work) or phy:/dev/drbd* (which is not informative).
>
> I'm using the drbd: resources because they have the built in scripts to
> make the hosts primary/secondary etc as required with the live
> migration. Does this still work when using the phy:/ or do you need to
> do this yourself?

I never did got those script to work.

What I did is set both resource to act as primary all the time. While
this has the POSSIBILITY of introduing corruption (due to simultaneus
write to both nodes), it's no more dangerous than mapping an external
SCSI LUN to two hosts.

-- 
Fajar

_______________________________________________
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®.