RHCS: cman: can't open cluster socket: Device or resource busy failed
添加NODE時啟動cman時會出現上面的情況,但重新將其它伺服器
重新啟動一下就又可以了。
=======================================
難道新添一個node需要重新啟動其它的所有伺服器嗎?估計沒有這樣的。
倒底是怎麼樣添加node呢?<?xml version="1.0"?>
<cluster config_version="9" name="cluster">
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="RHCS-MASTER" votes="1">
<fence>
<method name="1">
<device name="manualfence" nodename="RHCS-MASTER"/>
</method>
</fence>
</clusternode>
<clusternode name="backup" votes="1">
<fence>
<method name="1">
<device name="manualfence" nodename="backup"/>
</method>
</fence>
</clusternode>
<clusternode name="RHCS-HA" votes="1">
<fence>
<method name="1">
<device name="manualfence" nodename="RHCS-HA"/>
</method>
</fence>
</clusternode>
<clusternode name="RHCS-20" votes="1">
<fence>
<method name="1">
<device name="manualfence" nodename="RHCS-20"/>
</method>
</fence>
</clusternode>
<clusternode name="RHCS-30" votes="1">
<fence>
<method name="1">
<device name="manualfence" nodename="RHCS-30"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_manual" name="manualfence"/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="EPG-80" ordered="0" restricted="0">
<failoverdomainnode name="RHCS-MASTER" priority="1"/>
<failoverdomainnode name="backup" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<ip address="192.168.22.42" monitor_link="1"/>
<script file="/etc/init.d/apache" name="EPG-Apache"/>
</resources>
<service autostart="1" domain="EPG-80" name="service-epg">
<ip ref="192.168.22.42"/>
<script ref="EPG-Apache"/>
</service>
</rm>
</cluster>
《解決方案》
每改變一次伺服器配置,我必須把所有的伺服器的關於RHCS重新啟動一次才行,不然這個問題必定會出來。
還是沒有找到問題的解決方法~
《解決方案》
每改變一次伺服器配置,我必須把所有的伺服器的關於RHCS重新啟動一次才行,不然這個問題必定會出來。
還是 ...
hb_li_520 發表於 2010-07-13 11:08 http://linux.chinaunix.net/bbs/images/common/back.gif
請問你是哪個版本的平台 以及RHCS 版本 以便確認問題
《解決方案》
Redhat 4 update 7的版.....
RHCS具體的版本不明白你說的什麼意思?
ftp://ftp.redhat.com/pub/redhat/linux/updates/enterprise/4AS/en/RHCS/SRPMS/
難道不是每個OS系統都會對應不同的版本么.
ccs 1.0.7
fence
dlm-kernel-2.6.9-54.11
dlm-1.0.7-1
cman-1.0.17
fence-1.32.63
iddev-2.0.0-4
rgmanager-1.9.38-0
GFS-kernel-2.6.9-80
GFS-6.1.18-1
等等.
《解決方案》
更改集群配置,使之生效一般用ccs_tool update /etc/cluster/cluster.conf,操作之前記得改一下配置版本號;之後要使用cman_tool -r後面跟版本號。不用重啟集群服務。
《解決方案》
更改集群配置,使之生效一般用ccs_tool update /etc/cluster/cluster.conf,操作之前記得改一下配置版本號; ...
jerrywjl 發表於 2010-07-19 12:09 http://linux.chinaunix.net/bbs/images/common/back.gif
謝謝。都怪自已看文檔不仔細.^0^
The cluster configuration guis take case of propagating changes to cluster.conf to your cluster. The system-config-cluster gui has a big button that says "Send to Cluster". If you're maintaining your cluster.conf file by hand and want to propagate it to the rest of the cluster, do this:
1. Edit /etc/cluster/cluster.conf using the editor of choice.
2. Tell ccs about the change:
ccs_tool update /etc/cluster/cluster.conf
3. Find out what version your cluster.conf file currently is from cman's perspective:
cman_tool status | grep "Config version"
It should come back with something like this:
Config version: 37
4. Tell cman your newer cluster.conf is a newer version:
cman_tool version -r 38
Note: For RHEL5 and similar, cman_tool -r is no longer necessary.