四個節點,有兩個是新增長的節點,兩個老節點間組成集羣沒有問題,新增長了兩個節點,不管是四個組成集羣node
# --------------------------------- Discovery ---------------------------------- # # Pass an initial list of hosts to perform discovery when new node is started: # The default list of hosts is ["127.0.0.1", "[::1]"] # discovery.zen.ping.unicast.hosts: ["10.96.91.208","10.96.91.209","10.96.91.210","10.96.91.211"] # # Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1): # discovery.zen.minimum_master_nodes: 3 # # For more information, consult the zen discovery module documentation. #
仍是兩個節點集羣(新舊搭配)服務器
# --------------------------------- Discovery ---------------------------------- # # Pass an initial list of hosts to perform discovery when new node is started: # The default list of hosts is ["127.0.0.1", "[::1]"] # discovery.zen.ping.unicast.hosts: ["10.96.91.208","10.96.91.210"] # # Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1): # discovery.zen.minimum_master_nodes: 2 # # For more information, consult the zen discovery module documentation.
查看日誌,能夠發現是網絡問題。
排查網絡
網卡的網絡配置網絡
cd /etc/sysconfig/network/ more ifcfg-eth0
網絡路由配置spa
more routes
網關配置日誌
more /etc/resolv.conf
這些配置四臺服務器基本都是同樣的。因此不是配置問題
繼續檢查ping 和 traceroute
ping沒有問題
traceroute顯示不同,發現有了一個空跳。懷疑是防火牆的問題code
查看防火牆的狀態orm
chkconfig --list|grep fire
關閉防火牆blog
cd /etc/init.d/ ./SuSEfirewall2_setup stop ./SuSEfirewall2_init stop
開機關閉防火牆路由
chkconfig SuSEfirewall2_setup off
chkconfig SuSEfirewall2_init off
至此,解決問題it