歡迎您光臨本站 註冊首頁

命令clustat可以看到狀態,但是用system-config-cluster不能看

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

命令clustat可以看到狀態,但是用system-config-cluster不能看

運行system-config-cluster,提示以下:
Because this node is not currently part of a cluster, the management tab for this application is not available.
但是運行clustat
# clustat
Member Status: Quorate

  Member Name                              Status
  ------ ----                              ------
  XXXXX                                   Online, Local, rgmanager
  YYYYY                                   Online, rgmanager
《解決方案》

系統版本和CLUSTER版本是什麼?RHEL4.6和RHEL5的cluster圖形配置界面有bug。這是第一
然後clustat貌似下面的服務並沒有跑起來。這是第二
《解決方案》

你檢查一下,看/SBIN下邊有沒有 CMAN_TOOL,並且在配置好后先運行一下 SERVICE CMAN START 
《解決方案》

OS:centos4.6
kernel:2.6.9-67.0.7.ELsmp x86_64
rpm:
system-config-cluster-1.0.51-2.0.el4_6.1
lvm2-cluster-2.02.27-2.el4_6.2
ccs-1.0.11-1.el4_6.1
gulm-1.0.10-0
magma-1.0.8-1
magma-plugins-1.0.12-0
rgmanager-1.9.72-1
perl-Net-Telnet-3.03-3

cman*.rpm我沒裝
我是參考
http://www.redhat.com/docs/manuals/csgfs/Oracle_GFS-en-US/ch_Installation_Cluster_Suite4.html 安裝的,只是我沒裝GFS,因為我不需要,我只是要lvm2-cluster
我只是想問問,大家有沒有遇到過這樣的問題,大致的解決辦法是什麼?並不需要特別系統的方案.
我發現conga倒是可以正常管理這個cluster

[ 本帖最後由 peixubin 於 2008-5-14 09:26 編輯 ]
《解決方案》


# rpm -qi cman
Name        : cman                         Relocations: (not relocatable)
Version     : 2.0.73                            Vendor: Red Hat, Inc.
Release     : 1.el5_1.5                     Build Date: Fri 01 Feb 2008 06:23:32 AM CST
Install Date: Sun 08 Jun 2008 05:08:27 PM CST      Build Host: hs20-bc2-2.build.redhat.com
Group       : System Environment/Base       Source RPM: cman-2.0.73-1.el5_1.5.src.rpm
Size        : 1038925                          License: GPL
Signature   : DSA/SHA1, Thu 06 Mar 2008 03:29:57 PM CST, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://sources.redhat.com/cluster/
Summary     : cman - The Cluster Manager
Description :
cman - The Cluster Manager


好好看看cman的說明!你CMAN都不裝,跑什麼cluster啊!?Red Hat的官方文檔不可能說不用裝cman的!

用conga的話在配置過程中也會自動幫你把cman裝好。
《解決方案》

樓上的你看看我給的那個鏈接,裡面沒有說要裝cman
《解決方案》

你看看centos上的一段話:

After you have propagated the cluster configuration to the cluster nodes you can either reboot each node or start the cluster software on each cluster node by running the following commands at each node in this order:

   1.

      service ccsd start
   2.

      service cman start (or service lock_gulmd start for GULM clusters)
   3.

      service fenced start (DLM clusters only)
   4.

      service clvmd start
   5.

      service gfs start, if you are using Red Hat GFS
   6.

      service rgmanager start
   7.

      Start the Red Hat Cluster Suite management GUI. At the Cluster Configuration Tool tab, verify that the configuration is correct. At the Cluster Status Tool tab verify that the nodes and services are running as expected.

[ 本帖最後由 peixubin 於 2008-5-14 12:25 編輯 ]
《解決方案》

樓上的你看看我給的那個鏈接,裡面沒有說要裝cman

看來你的文檔看得還是不全啊,GFS在百分之九十九的情況下要在CLUSTER環境下建立,至少我現在還沒有見到哪個用戶在單機的模式下跑GFS,從你的環境看顯然也是這樣。
而如果要建立CLUSTER百分之百就要裝CMAN。
你給我的這個鏈接顯然是側重於GFS構建,這個文檔的默認的基礎就是CLUSTER已經構建好了,當然也包括CMAN了。

光看一個文檔是不行的。

建議你再看看這個鏈接的文檔吧!
http://www.redhat.com/docs/manuals/csgfs/
《解決方案》

我不需要gfs,我只要lvm-cluster,其實現在已經正常運行了,只是用system-config-cluster不能看而已。

我參考的文檔上面明確的列出了需要安裝rpm,裡面沒有cman.

我不裝cman的原因是因為它需要特定的內核

有可能是system-config-cluster有bug
《解決方案》

既然你這麼說,我也沒必要堅持了。

我只能告訴你system-config-cluster在RHEL4.6上只要你能把界面運行出來就意味著沒有bug。
當然,在RHEL4.6上system-config-cluster最初的版本的確有bug,但是和你這個情況也顯然沒關係。

[火星人 ] 命令clustat可以看到狀態,但是用system-config-cluster不能看已經有1188次圍觀

http://coctec.com/docs/service/show-post-7418.html