In all truth, it wasn't all that easy, but that's the gist. Once it's set up, changing resources is easier, and you can watch graphically where resources are running , which makes testing a lot easier.<br><br>
<br><div><span class="gmail_quote">On 7/26/07, <b class="gmail_sendername">Mike Tewner</b> <<a href="mailto:tewner@gmail.com">tewner@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In other words, node1 and node2 go in *BOTH* haresources file.<br><br>You should also look into using the new CRM (?) version of the config and the grahical interface for heartbeat. You enable it by changing a line in ha.conf
. Then, you pull up the gui client and add your resources.<div><span class="e" id="q_11402672d361fccc_1"><br><br><br><br><div><span class="gmail_quote">On 7/26/07, <b class="gmail_sendername">Lars Ellenberg</b> <<a href="mailto:lars.ellenberg@linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lars.ellenberg@linbit.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, Jul 26, 2007 at 10:13:50AM +0700, Nguy Tan Phuc wrote:<br>> Hi All
<br>> I'm newcomer of heartbeat + DRBD.I don't clear drbddisk option in<br>> /etc/ha.d/haresources,It can't automatic mount and start service postfix but<br>> manual (typing command) is started<br>> It auto mount and start serive postfix when before I started service drbd
<br>> and heartbeat,<br>> When node1 is primary dead,node 2 is secondary must auto mount and start<br>> service postfix<br>> Can you hep me !!!<br>> Thanks<br>><br>> on node1 (/etc/ha.d/haresources)
<a href="http://172.33.34.252" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
172.33.34.252</a> Virtual IP<br>> node1 IPaddr::<a href="http://172.33.34.252/32/eth0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">172.33.34.252/32/eth0</a> drbddisk::postfix Filesystem::/dev/drbd0::/opt::ext3::defaults postfix
<br>><br>> on node2 (/etc/ha.d/haresources)
<a href="http://172.33.34.252" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">172.33.34.252</a> Virtual IP<br>> node2 IPaddr::<a href="http://172.33.34.252/32/eth0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
172.33.34.252/32/eth0</a> drbddisk::postfix Filesystem::/dev/drbd0::/opt::ext3::defaults postfix<br>
<br>you want to read<br><a href="http://www.linux-ha.org/haresources" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.linux-ha.org/haresources</a><br><br>you do not want to ignore that it says there
<br> "Note that it is absolutely mandatory<br> for the haresources files
<br> to be identical<br> on both machines."<br><br>--<br>: Lars Ellenberg Tel +43-1-8178292-0 :<br>: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :<br>: Vivenotgasse 48, A-1120 Vienna/Europe
<a href="http://www.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.linbit.com</a> :<br>__<br>please use the "List-Reply" function of your email client.<br>_______________________________________________
<br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
<br></blockquote></div><br>
</span></div></blockquote></div><br>