Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
1.3.4. 叢集設定系統
The Cluster Configuration System (CCS) manages the cluster configuration and provides configuration information to other cluster components in a Red Hat cluster. CCS runs in each cluster node and makes sure that the cluster configuration file in each cluster node is up to date. For example, if a cluster system administrator updates the configuration file in Node A, CCS propagates the update from Node A to the other nodes in the cluster (refer to 圖形 1.7, “CCS Overview”).

圖形 1.7. CCS Overview
Other cluster components (for example, CMAN) access configuration information from the configuration file through CCS (refer to 圖形 1.7, “CCS Overview”).

圖形 1.8. Accessing Configuration Information
叢集設定檔(
/etc/cluster/cluster.conf
)是以 XML 格式寫成,描述了以下叢集特點:
- 叢集名稱 — 顯示叢集名稱、叢集設定檔的版本等級、以及基本的 fence 時間屬性,給節點加入叢集或從叢集中被 fence 時使用。
- 叢集 — 顯示叢集中的每個節點,指定節點名稱、節點 ID、quorum 的票數、以及該節點的 fencing 方式。
- Fence 裝置 — 顯示叢集中的 fence 裝置。參數會根據 fence 裝置的類型而有所不同。舉例來說,如果電源控制器是 fence 裝置,叢集設定會定義電源控制器的名稱、IP 位址、登入名稱與密碼。
- 管理資源 — 顯示需要用來建立叢集服務的資源。管理資源包括備援區域的定義、資源(例如 IP 位址)、以及服務。這些管理資源加起來,定義了叢集服務及其所需的備援行為。