[sheepdog-users] bind option seems not to work

Ruoyu liangry at ucweb.com
Fri Jul 25 12:26:39 CEST 2014

I guess, -b means your sheep is about to listen on and if it is not specified, sheep is about to listen 

To get what you want, you should use -y It will tell 
zookeeper that the node's address is

Valerio wrote:

Hi, my cluster has 3 nodes with 2 network cards (nic).
eth0 has an ip
eth1 has an ip

I stopped the cluster and changed sheep setting so to bind sheep to the
eth0 ip.
This way it shall not use eth1.

sheep -n /var/lib/sheepdog,/mnt/sheep/0 \
-b \
-c zookeeper:,,

The same on the other 2 nodes setting the according ip.

I run sheep on the first node and you can already see what's wrong:

dog node list -a
   Id   Host:Port         V-Nodes       Zone
    0        128   84584640

it's using eth1 ip address instead of eth0!

Am I misunderstanding something or do I open a bug?

Thank you.

More information about the sheepdog-users mailing list