WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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