[sheepdog-users] dog node recovery and node with single nic

Valerio Pachera sirio81 at gmail.com
Wed Nov 6 16:42:31 CET 2013


Hi, I added a node to my testing cluster (id 2).
This node has a single nic, the other have two (one dedicated to sheepdog
sync).

root at test006:~/script# dog node list
  Id   Host:Port         V-Nodes       Zone
   0   192.168.2.44:7000        71  738371776
   1   192.168.2.45:7000        71  755148992
   2   192.168.2.46:7000        289  771926208
   3   192.168.2.47:7000        81  788703424

Dog node recovery shows the right output from all nodes but the new one:

dog node recovery
Nodes In Recovery:
  Id   Host:Port         V-Nodes       Zone       Progress
failed to connect to 192.168.10.4:3333: No route to host
failed to connect to 192.168.10.4:3333: No route to host
fallback to non-io connection
failed to connect to 192.168.10.5:3333: No route to host
failed to connect to 192.168.10.5:3333: No route to host
fallback to non-io connection
   2   192.168.2.46:7000     289  771926208       16.9%
failed to connect to 192.168.10.7:3333: No route to host
failed to connect to 192.168.10.7:3333: No route to host
fallback to non-io connection

sheep.log
Nov 06 16:31:41   INFO [main] main(845) shutdown
Nov 06 16:33:42   INFO [main] md_add_disk(310) /mnt/sheep/dsk01, vdisk nr
1838, total disk 1
Nov 06 16:33:42   INFO [main] send_join_request(777) IPv4 ip:192.168.2.46
port:7000
Nov 06 16:33:42   INFO [main] check_host_env(424) Allowed open files
1024000, suggested 6144000
Nov 06 16:33:42   INFO [main] main(838) sheepdog daemon (version
0.7.0_197_g9f718d2) started
Nov 06 16:33:44  ERROR [block] connect_to(193) failed to connect to
192.168.10.4:3333: No route to host
Nov 06 16:33:44  ERROR [block] sockfd_cache_get_long(348) fallback to
non-io connection
Nov 06 16:33:45  ERROR [block] connect_to(193) failed to connect to
192.168.10.5:3333: No route to host
Nov 06 16:33:45  ERROR [block] sockfd_cache_get_long(348) fallback to
non-io connection
Nov 06 16:33:46  ERROR [block] connect_to(193) failed to connect to
192.168.10.7:3333: No route to host
Nov 06 16:33:46  ERROR [block] sockfd_cache_get_long(348) fallback to
non-io connection
Nov 06 16:33:46   INFO [main] recover_object_main(841) object
5394190000089e is recovered (1/7373)
Nov 06 16:33:46   INFO [main] recover_object_main(841) object
539419000003d5 is recovered (2/7373)
Nov 06 16:33:46   INFO [main] recover_object_main(841) object
687c40000000bf is recovered (3/7373)
...


node id 1
sheep -n /var/sheep /mnt/sheep/dsk01

other nodes
sheep -n /var/sheep /mnt/sheep/dsk01,/mnt/sheep/dsk02 -i host=192.168.10.X
port=3333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20131106/645a3db3/attachment-0004.html>


More information about the sheepdog-users mailing list