[sheepdog] some problem about sheepdog
Bastian Scholz
nimrodxx at gmx.de
Fri Aug 1 09:09:32 CEST 2014
Your Host are 10.198.3.141 and 10.198.4.108 and
not in the same IP Subnet. (Are you able to ping
these host among each other at all?)
Your corosync listen to 192.168.1.1, which seem
to be no local interface on your hosts.
And your sheep processes listen to 127.0.0.1 which
is the loopback interface.
My advise, put your both hosts in the same IP
subnet, configure corosync to bind to these
Interfaces and if it dosnt work, post the
command you start sheep daemon with...
Cheers
Bastian
Am 2014-08-01 07:03, schrieb gzh1992n:
> *Hi*
>
>
>
> *Recently, I met some problems in learning sheepdog.*
> *I have 2 machines. They information follow:*
>
> *Node1[10.198.3.141]*
> eth1 Link encap:Ethernet HWaddr FC:48:EF:2E:47:2B
> inet addr:10.198.3.141 Bcast:10.198.3.191
> Mask:255.255.255.192
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:166041 errors:0 dropped:0 overruns:0 frame:0
> TX packets:272247 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:81563807 (77.7 MiB) TX bytes:35527000 (33.8 MiB)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:489642 errors:0 dropped:0 overruns:0 frame:0
> TX packets:489642 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:54504426 (51.9 MiB) TX bytes:54504426 (51.9 MiB)
>
>
> *Node2[10.198.4.108]*
> eth1 Link encap:Ethernet HWaddr FC:48:EF:2E:69:8B
> inet addr:10.198.4.108 Bcast:10.198.4.127
> Mask:255.255.255.192
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:113220 errors:0 dropped:0 overruns:0 frame:0
> TX packets:66017 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:114656591 (109.3 MiB) TX bytes:18070118 (17.2 MiB)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:77863 errors:0 dropped:0 overruns:0 frame:0
> TX packets:77863 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:9968948 (9.5 MiB) TX bytes:9968948 (9.5 MiB)
>
>
>
> *They are not in the same ethernet switch.The corosync conf follow:*
>
> # Please read the corosync.conf.5 manual page
> compatibility: whitetank
>
> totem {
> version: 2
> secauth: off
> threads: 0
> interface {
> ringnumber: 0
> bindnetaddr: 192.168.1.1
> mcastaddr: 239.255.1.1
> mcastport: 5405
> ttl: 1
> }
> }
>
> logging {
> fileline: off
> to_stderr: no
> to_logfile: yes
> to_syslog: yes
> logfile: /var/log/cluster/corosync.log
> debug: off
> timestamp: on
> logger_subsys {
> subsys: AMF
> debug: off
> }
> }
>
> amf {
> mode: disabled
> }
>
> *Two confs is same. My issue is that they not in the same cluster.*
>
> *Node1 input *"dog node list"
> Id Host:Port V-Nodes Zone
> 0 127.0.0.1:7000 64 16777343
> Node2 input "dog node list"
> Id Host:Port V-Nodes Zone
> 0 127.0.0.1:7000 64 16777343
>
> *Only two nodes in the same **ethernet switch can in the same cluster?*
>
> *help me,please...*
More information about the sheepdog
mailing list