Hello there!<br>Sorry for the delay, i've been busy this past few days.<br><br>Well I managed to fix it, it was a problem with haresources configuration file, now it is like this:<br><br><a href="http://datos1.tesisandres.pe">datos1.tesisandres.pe</a> IPaddr::<a href="http://192.168.0.100/24/eth0">192.168.0.100/24/eth0</a> drbddisk::webdata Filesystem::/dev/drbd0::/data::ext3 nfs-kernel-server drbddisk::mysql Filesystem::/dev/drbd1::/var/lib/mysql::ext3 mysql<br>
<br>This way, it works just fine.<br><br>But now, i'm trying to make resource webdata to be primary on my first node (data1) and resource mysql to be primary on second node (data2), but i cant make it work. I can manually make each resource as primary on the node i want to make them primary, but no luck automatically. For example, if node0 starts first, it will have both resources as primary, and when node1 starts, it wont failback the resource webdata to the other node.<br>
<br>My haresources is:<br><br><a href="http://datos1.tesisandres.pe">datos1.tesisandres.pe</a> IPaddr::<a href="http://192.168.0.100/24/eth0">192.168.0.100/24/eth0</a> drbddisk::webdata Filesystem::/dev/drbd0::/data::ext3 nfs-kernel-server <br>
<a href="http://datos2.tesisandres.pe">datos2.tesisandres.pe</a> drbddisk::mysql Filesystem::/dev/drbd1::/var/lib/mysql::ext3 mysql<br><br>Any ideas for this configuration??<br><br>thanks for help<br><br>I've trying to do it, but <br>
<br><div class="gmail_quote">On Mon, Apr 7, 2008 at 2:32 AM, Florian Haas <<a href="mailto:florian.haas@linbit.com">florian.haas@linbit.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Saturday 05 April 2008 08:29:43 Andres E. Rodriguez Lazo wrote:<br>
> *My haresources*<br>
<div class="Ih2E3d">> <a href="http://datos1.tesisandres.pe" target="_blank">datos1.tesisandres.pe</a> IPaddr::<a href="http://192.168.0.100/24/eth0" target="_blank">192.168.0.100/24/eth0</a> drbddisk::webdata<br>
> drbddisk::mysql Filesystem::/dev/drbd0::/data::ext3<br>
> Filesystem::/dev/drbd1::/data::ext3 nfs-kernel-server mysql<br>
<br>
</div>Just to clarify, please tell us whether all these resources are in fact placed<br>
on a single line. Right now I can't tell if that line wrapped only in your<br>
email, or whether you have introduced extra newlines in your config file.<br>
<br>
And by the way:<br>
<div class="Ih2E3d">> If i make them work independently they work just fine, but when i try to<br>
> make them work the two at the same they, some errores are showed at the<br>
> syslog and the primary node reboots, then the secondary node takes over,<br>
> and after a few secs it reboots and so on...<br>
<br>
</div>Referring to "some errors in the syslog" is quite unhelpful. You'll at least<br>
have to tell us _which_ errors you are seeing, and under what circumstances.<br>
<br>
Florian<br>
<br>
--<br>
: Florian G. Haas<br>
: LINBIT Information Technologies GmbH<br>
: Vivenotgasse 48, A-1120 Vienna, Austria<br>
<br>
When replying, there is no need to CC my personal address.<br>
I monitor the list on a daily basis. Thank you.<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Andres E. Rodriguez Lazo (4nDr3s - RoAkSoAx)<br>Ubuntu Counter Project - User # 17582