[sheepdog] some problem about sheepdog

gzh1992n gzh1992n at gmail.com
Fri Aug 1 07:03:31 CEST 2014


*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...*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20140801/3f26eda3/attachment-0003.html>


More information about the sheepdog mailing list