GFS or ocfs will do.. However a long as you can guarantee only on system is 
writing to the shared filesystem, you don't absolutely need an cluster 
filesystem (which add a lot of complexity)...

And if you are not using pygrub, try block-drbd. That script will take care of 
Xen and drbd for you

Cheers,

Bart

----- Original Message -----
From: "Paras pradhan" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, September 25, 2008 7:26:28 PM GMT +01:00 Amsterdam / Berlin / 
Bern / Rome / Stockholm / Vienna
Subject: [Linux-HA] Re: [DRBD-user] sample file haresources

On Thu, Sep 25, 2008 at 10:35 AM, Jürgen Scholz <[EMAIL PROTECTED]>wrote:

> I am attaching my haresources and ha.cf files . Please suggest me what
>> went wrong.
>>
>>
>> Right now I am working on a very basic drbd setup to host xen guests for
>> high availability. After my setup is working, then I will move to XML style
>> as approached by other list members.
>>
> Why are you supplying an IP address after the hostname ... and it's the
> same address for both hosts?
> Since it doesn't seem as if you want to create a primary/primary setup you
> can't use the drbd resource on both nodes at the same time. If you're trying
> to do active/active you chose the wrong filesystem.
>
> Look at my haresources. It's a active/passive failover configuration
> working for two years now. Notice that the passive host does not have an own
> entry!
>
> # haresources
> zitrone-a ipcheck::10.0.0.110::10.0.0.111 \
>        IPaddr::10.0.0.3/16/eth0 \
>        Delay::2 \
>        drbddisk::home \
>        drbddisk::daten \
>        Delay::1 \
>        Filesystem::/dev/drbd0::/mnt/drbd/home::xfs::noatime,nodiratime \
>        Filesystem::/dev/drbd1::/mnt/drbd/daten::xfs::noatime,nodiratime \
>        Delay::1 \
>        killnfsd \
>        nfs-true \
>        samba
>
> You probably want to read up on the linux-ha documentation before
> progressing any further. It seems that you missed how to configure this
> thing and how it works. This will give you trouble when you'll have to
> finetune this thing or fix any glitches.
>
> hth,
> juergen
>


I think since I am working on xen domains migration, I need active/active
setup. Xen guests require the resource to be primary where its running. So
if node1 fails, then node2 will host guest converting its role to primary
from secondary.

for active/active which filesystem i need to work?

Thanks
Paras.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to