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”).
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”).
Accessing Configuration Information

圖形 1.8. Accessing Configuration Information

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