What are the drawbacks of running both nodes in primary/primary ? . I have got it working but having issues such as, when I stop heartbeat, sometimes it is lively migrating(with proper failback) and sometimes relocating (with no fail back).
Does my ha.cf file has something to do with this? If yes I will post it. Thanks Paras. On Fri, Sep 26, 2008 at 2:55 PM, Paras pradhan <[EMAIL PROTECTED]>wrote: > This is what I really wanted to know. > What does centos users do to create xen cluster using drbd for > high availability? > > Block-drbd doesn't work with RH/centos means .. its impossible or needs lot > of work? > > I would really appreciate if some one points me what centos/rh users are > doing to make xen and drbd work to create a high availability cluster. > Didn't find much resources while googling too. > > > Thanks > Paras. > > > On Fri, Sep 26, 2008 at 2:28 PM, Bart Baars <[EMAIL PROTECTED]>wrote: > >> It is included in Centos... >> >> however since you mentioned centos... you use pygrub to boot you >> domainU's... and block-drbd does not work with RH/centos.. >> >> Cheers, >> >> Bart >> ----- Original Message ----- >> From: "Paras pradhan" <[EMAIL PROTECTED]> >> To: "General Linux-HA mailing list" <[email protected]> >> Sent: Thursday, September 25, 2008 10:35:06 PM GMT +01:00 Amsterdam / >> Berlin / Bern / Rome / Stockholm / Vienna >> Subject: Re: [Linux-HA] Re: [DRBD-user] sample file haresources >> >> On Thu, Sep 25, 2008 at 3:17 PM, Bart Baars <[EMAIL PROTECTED]> >> wrote: >> >> > 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 >> > >> >> >> >> is block-drbd is dependent on xen version. does it reqire xen 3.3? .. >> >> centos repo only has 3.0.3 >> >> >> 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 >> > > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
