<br><br><div class="gmail_quote">Le 14 décembre 2011 14:54, Marc Muehlfeld <span dir="ltr">&lt;<a href="mailto:Marc.Muehlfeld@medizinische-genetik.de">Marc.Muehlfeld@medizinische-genetik.de</a>&gt;</span> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">Am 14.12.2011 14:00, schrieb Raphaël Hoareau:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You could also try to use two NICs with specific routes. NIC1 knows the<div class="im"><br>
route to Server1 and NIC2 knows the route to Server2.<br>
</div></blockquote>
<br>
Could it be possible that this can&#39;t be done or do I miss something?<br>
<br>
Node 1: 192.168.29.14 and 192.168.20.14<br>
Node 2: 192.168.29.15 and 192.168.20.15<br>
Each IP is on a separate own NIC in both machines.<br>
<br>
<br>
<br>
Connection over both NICs are fine:<br>
<br>
# traceroute 192.168.20.14<br>
traceroute to 192.168.20.14 (192.168.20.14), 30 hops max, 60 byte packets<br>
 1  192.168.20.14 (192.168.20.14)  0.162 ms  0.148 ms  0.141 ms<br>
<br>
# traceroute 192.168.29.14<br>
traceroute to 192.168.29.14 (192.168.29.14), 30 hops max, 60 byte packets<br>
 1  192.168.29.14 (192.168.29.14)  0.189 ms  0.172 ms  0.244 ms<br>
<br></blockquote><div><br>Could you precise on which host the command is executed ? It will help a lot. (Also available for the output above)<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<br>
<br>
But (both nodes on different NICs/Subnets):<br>
<br>
# gluster peer probe 192.168.29.14<br>
Probe successful<br>
<br>
# gluster volume create test replica 2 transport tcp 192.168.29.14:/mnt/ 192.168.20.15:/mnt/<br>
Operation failed on 192.168.29.14<br>
<br>
<br>
Both nodes with connection over the same NIC/Subnet:<br>
<br>
# gluster peer probe 192.168.20.14<br>
Probe successful<br>
<br>
# gluster volume create test replica 2 transport tcp 192.168.20.14:/mnt/ 192.168.20.15:/mnt/<br>
Creation of volume test has been successful. ...<br>
<br>
It also works if I create the volume over the <a href="http://192.168.29.0/24" target="_blank">192.168.29.0/24</a> subnet. But not if I mix them.<br>
<br>
<br>
<br>
<br>
<br>
The log says:<br>
[2011-12-14 14:53:45.253837] I [glusterd-handler.c:448:<u></u>glusterd_handle_cluster_lock] 0-glusterd: Received LOCK from uuid: 4e765edc-9ca6-4404-8757-<u></u>ca170ce938df<br>
[2011-12-14 14:53:45.253888] I [glusterd-utils.c:243:<u></u>glusterd_lock] 0-glusterd: Cluster lock held by 4e765edc-9ca6-4404-8757-<u></u>ca170ce938df<br>
[2011-12-14 14:53:45.253938] I [glusterd-handler.c:2651:<u></u>glusterd_op_lock_send_resp] 0-glusterd: Responded, ret: 0<br>
[2011-12-14 14:53:45.255287] I [glusterd-handler.c:488:<u></u>glusterd_req_ctx_create] 0-glusterd: Received op from uuid: 4e765edc-9ca6-4404-8757-<u></u>ca170ce938df<br>
[2011-12-14 14:53:45.256600] E [glusterd-op-sm.c:366:<u></u>glusterd_op_stage_create_<u></u>volume] 0-glusterd: cannot resolve brick: 192.168.20.15:/mnt<br></blockquote><div><br>It seems that 192.168.29.14 can&#39;t resolv 192.168.20.15. Can you show the result of &quot;route -n&quot; executed on the host that produces that log ?<br>

<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
[2011-12-14 14:53:45.256635] E [glusterd-op-sm.c:7370:<u></u>glusterd_op_ac_stage_op] 0-: Validate failed: 1<br>
[2011-12-14 14:53:45.256681] I [glusterd-handler.c:2743:<u></u>glusterd_op_stage_send_resp] 0-glusterd: Responded to stage, ret: 0<br>
[2011-12-14 14:53:45.256994] I [glusterd-handler.c:2693:<u></u>glusterd_handle_cluster_<u></u>unlock] 0-glusterd: Received UNLOCK from uuid: 4e765edc-9ca6-4404-8757-<u></u>ca170ce938df<br>
[2011-12-14 14:53:45.257049] I [glusterd-handler.c:2671:<u></u>glusterd_op_unlock_send_resp] 0-glusterd: Responded to unlock, ret: 0<br>
</blockquote></div><br>I don&#39;t have much time right now, but I&#39;ll try to help you a bit more later.<br><br>Regards,<br><br>Raphaël.<br>