<div dir="ltr">On my testing cluster I noticed that starting all sheeps at the "same time", may lead to failure in joining the cluster.<br><div><br>parallel-ssh -H 'test004 test005 test006 test007' /root/script/run_sheep.sh<br>
<br>root@test004:~# dog node list<br> Id Host:Port V-Nodes Zone<br> 0 <a href="http://192.168.2.44:7000">192.168.2.44:7000</a> 128 738371776<br><br>root@test005:~# dog node list<br> Id Host:Port V-Nodes Zone<br>
0 <a href="http://192.168.2.45:7000">192.168.2.45:7000</a> 119 755148992<br> 1 <a href="http://192.168.2.47:7000">192.168.2.47:7000</a> 137 788703424<br><br>root@test006:~# dog node list<br> Id Host:Port V-Nodes Zone<br>
0 <a href="http://192.168.2.46:7000">192.168.2.46:7000</a> 128 771926208<br><br>root@test007:~# dog node list<br> Id Host:Port V-Nodes Zone<br> 0 <a href="http://192.168.2.45:7000">192.168.2.45:7000</a> 119 755148992<br>
1 <a href="http://192.168.2.47:7000">192.168.2.47:7000</a> 137 788703424<br><br></div><div>It's not repeatable tough.<br></div><div>I tried to shutdown the cluster and re-run parallel-ssh and all nodes were showing the right 'node list' (4 nodes total).<br>
<br></div><div>It's not a problem for me but I was wondering if anybody else noticed the same behavior.<br></div><div>I also wonder if may depend on corosync or sheepdog.<br><br></div><div>I'm running sheep -v <br>
</div><div>and corosync 1.4.6.<br><br></div><div>I don't see anything useful in sheep.log<br><br>Nov 13 13:01:51 INFO [main] main(845) shutdown<br>Nov 13 15:11:19 INFO [main] md_add_disk(310) /mnt/sheep/dsk01, vdisk nr 217, total disk 1<br>
Nov 13 15:11:19 INFO [main] md_add_disk(310) /mnt/sheep/dsk02, vdisk nr 233, total disk 2<br>Nov 13 15:11:19 INFO [main] send_join_request(777) IPv4 ip:192.168.2.44 port:7000<br>Nov 13 15:11:19 INFO [main] check_host_env(424) Allowed open files 1024000, suggested 6144000<br>
Nov 13 15:11:19 INFO [main] main(838) sheepdog daemon (version 0.7.0_197_g9f718d2) started<br>Nov 13 15:13:59 INFO [main] md_add_disk(310) /mnt/sheep/dsk01, vdisk nr 217, total disk 1<br>Nov 13 15:13:59 INFO [main] md_add_disk(310) /mnt/sheep/dsk02, vdisk nr 233, total disk 2<br>
Nov 13 15:13:59 INFO [main] send_join_request(777) IPv4 ip:192.168.2.44 port:7000<br>Nov 13 15:13:59 INFO [main] check_host_env(424) Allowed open files 1024000, suggested 6144000<br>Nov 13 15:13:59 INFO [main] main(838) sheepdog daemon (version 0.7.0_197_g9f718d2) started<br>
Nov 13 15:14:41 INFO [main] main(845) shutdown<br>Nov 13 15:14:53 INFO [main] md_add_disk(310) /mnt/sheep/dsk01, vdisk nr 217, total disk 1<br>Nov 13 15:14:53 INFO [main] md_add_disk(310) /mnt/sheep/dsk02, vdisk nr 233, total disk 2<br>
Nov 13 15:14:53 INFO [main] send_join_request(777) IPv4 ip:192.168.2.44 port:7000<br>Nov 13 15:14:53 INFO [main] check_host_env(424) Allowed open files 1024000, suggested 61440<br></div><div><br></div></div>