Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Thu, Sep 25, 2008 at 10:35 AM, Jürgen Scholz <juergen at kernkraft400.com>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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080925/ad90b5ab/attachment.htm>