[sheepdog-users] [Issue]Support for multiple NICs confusion

Hitoshi Mitake mitake.hitoshi at gmail.com
Fri Aug 14 16:10:12 CEST 2015


On Fri, Aug 14, 2015 at 9:51 AM, zhanghongzhou
<zhang.hongzhou at hotmail.com> wrote:
> I think by default CRM should be bound to "cluster ip", not external ip.

How can we distinguish cluster IP from external IP? If you have an
idea for implementing it, of course it is very welcomed.

Thanks,
Hitoshi

> Otherwise we should specify with "-y".
>
> I can prepare a patch if we agree on this.
>
> ________________________________
> Date: Fri, 14 Aug 2015 00:02:39 +0300
> Subject: Re: [sheepdog-users] [Issue]Support for multiple NICs confusion
> From: v.tolstov at selfip.ru
> To: zhang.hongzhou at hotmail.com
> CC: sheepdog-users at lists.wpkg.org
>
>
>
> 13 авг. 2015 г. 7:57 пользователь "zhanghongzhou"
> <zhang.hongzhou at hotmail.com> написал:
>>
>> 1. The cluster network is 192.168.xxx.xxx
>> 2. Another NIC on one of the nodes is 10.xxx.xxx.xxx
>> 3. If I didn't specify using "-y 192.168.xxx.xxx", CRM will adopt the
>> first NIC listed by getifaddrs(), say, 10.xxx.xxx.xxx
>> 4. Other nodes can't connect to 10.xxx.xxx.xxx, so error message below:
>>
>> Aug 13 12:42:57  ERROR [block] connect_to(193) failed to connect to
>> 10.239.129.191:7000: Network is unreachable
>> Aug 13 12:42:57  ERROR [block] connect_to(193) failed to connect to
>> 10.239.129.191:7000: Network is unreachable
>> Aug 13 12:42:57  ALERT [block] do_get_vdis(514) failed to get vdi bitmap
>> from IPv4 ip:10.239.129.191 port:7000
>>
>> It's not a terrible issue since we can specify NIC in commandline. But
>> then the code to get_local_addr() will be unnecessary.
>>
>> Do we have plan to improve it?
>
> If you have ideas I can write some code, now I'm always specify address in
> sheep to avoid confusion.
>>
>> Thanks.
>>
>> --
>> sheepdog-users mailing lists
>> sheepdog-users at lists.wpkg.org
>> https://lists.wpkg.org/mailman/listinfo/sheepdog-users
>>
>
>
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog-users
>


More information about the sheepdog-users mailing list