<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Sep 25, 2008 at 10:35 AM, Jürgen Scholz <span dir="ltr"><<a href="mailto:juergen@kernkraft400.com">juergen@kernkraft400.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am attaching my haresources and <a href="http://ha.cf" target="_blank">ha.cf</a> files . Please suggest me what went wrong.<br>
<br>
<br>
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.<br>
</blockquote></div>
Why are you supplying an IP address after the hostname ... and it's the same address for both hosts?<br>
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.<br>
<br>
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!<br>
<br>
# haresources<br>
zitrone-a ipcheck::<a href="http://10.0.0.110" target="_blank">10.0.0.110</a>::<a href="http://10.0.0.111" target="_blank">10.0.0.111</a> \<br>
IPaddr::<a href="http://10.0.0.3/16/eth0" target="_blank">10.0.0.3/16/eth0</a> \<br>
Delay::2 \<br>
drbddisk::home \<br>
drbddisk::daten \<br>
Delay::1 \<br>
Filesystem::/dev/drbd0::/mnt/drbd/home::xfs::noatime,nodiratime \<br>
Filesystem::/dev/drbd1::/mnt/drbd/daten::xfs::noatime,nodiratime \<br>
Delay::1 \<br>
killnfsd \<br>
nfs-true \<br>
samba<br>
<br>
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.<br>
<br>
hth,<br>
juergen<br>
</blockquote></div><br><div><br></div><div><br></div><div>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.</div>
<div><br></div><div>for active/active which filesystem i need to work?</div><div><br></div><div>Thanks</div><div>Paras.</div></div>