2016-02-24 112 views
1

我需要對我的集羣錯誤的幫助:紅帽集羣(起搏器/ Corosync):DLM無法啓動

[[email protected]]# pcs status 
Cluster name: oracluster 
Last updated: Mon Feb 22 16:00:12 2016 
Last change: Mon Feb 22 15:45:14 2016 
Stack: corosync 
Current DC: db2 (2) - partition with quorum 
Version: 1.1.12-a14efad 
2 Nodes configured 
5 Resources configured 


Online: [ db1 db2 ] 

Full list of resources: 

ClusterVIP (ocf::heartbeat:IPaddr2): Started db2 
Clone Set: dlm-clone [dlm] 
    Stopped: [ db1 db2 ] 
Clone Set: clvmd-clone [clvmd] 
    Stopped: [ db1 db2 ] 

Failed actions: 
    dlm_start_0 on db2 'not configured' (6): call=18, status=complete, exit-reason='none', last-rc-change='Mon Feb 22 15:57:04 2016', queued=0ms, exec=34ms 


PCSD Status: 
    db1: Online 
    db2: Online 

Daemon Status: 
    corosync: active/disabled 
    pacemaker: active/disabled 
    pcsd: active/enabled 

詳情:

我有2個節點(DB1,DB2)共享存儲(SAN) 。這兩個服務器都在RHEL7.1中。現在我想將存儲添加爲資源。根據RHEL文檔,DLM和CLVMD也應作爲資源添加。我發現啓用STONITH時該錯誤將消失,但DLM尚未啓動。日誌說它需要配置Fencing Device,我現在沒有。

任何解決此問題的方法?我們是否有辦法禁用圍欄機制,並使羣集繼續工作?提前感謝你!

回答

0

配置SONITH。它會幫助你解決這個問題。

0

你說,你有SAN存儲,然後創建了一個擊劍和partion使用它作爲SCSI STONITH,IL將解決你的問題,這樣爲例:

pcs stonith create scsi-stonith-device fence_scsi devices=/dev/mapper/fence pcmk_monitor_action=metadata pcmk_reboot_action=off pcmk_host_list="node1 node2" meta provides=unfencing 

,不要忘記啓用stonith與pcs property set stonith-enabled=true