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 文​​​​​​​件​​​​​​​,它​​​​​​​描​​​​​​​述​​​​​​​了​​​​​​​下​​​​​​​列​​​​​​​群​​​​​​​集​​​​​​​属​​​​​​​性​​​​​​​:
  • 群​​​​​​​集​​​​​​​名​​​​​​​ — 显​​​​​​​示​​​​​​​群​​​​​​​集​​​​​​​的​​​​​​​名​​​​​​​字​​​​​​​、​​​​​​​群​​​​​​​集​​​​​​​配​​​​​​​置​​​​​​​文​​​​​​​件​​​​​​​版​​​​​​​本​​​​​​​、​​​​​​​当​​​​​​​节​​​​​​​点​​​​​​​加​​​​​​​入​​​​​​​群​​​​​​​集​​​​​​​或​​​​​​​被​​​​​​​保​​​​​​​护​​​​​​​所​​​​​​​使​​​​​​​用​​​​​​​的​​​​​​​基​​​​​​​本​​​​​​​保​​​​​​​护​​​​​​​时​​​​​​​间​​​​​​​属​​​​​​​性​​​​​​​。​​​​​​​
  • 群​​​​​​​集​​​​​​​ — 显​​​​​​​示​​​​​​​群​​​​​​​集​​​​​​​的​​​​​​​每​​​​​​​个​​​​​​​节​​​​​​​点​​​​​​​,指​​​​​​​定​​​​​​​节​​​​​​​点​​​​​​​名​​​​​​​、​​​​​​​节​​​​​​​点​​​​​​​ ID、​​​​​​​quorum vote 的​​​​​​​数​​​​​​​量​​​​​​​和​​​​​​​其​​​​​​​保​​​​​​​护​​​​​​​方​​​​​​​法​​​​​​​。​​​​​​​
  • 保​​​​​​​护​​​​​​​设​​​​​​​备​​​​​​​ — 显​​​​​​​示​​​​​​​群​​​​​​​集​​​​​​​里​​​​​​​的​​​​​​​保​​​​​​​护​​​​​​​设​​​​​​​备​​​​​​​。​​​​​​​其​​​​​​​参​​​​​​​数​​​​​​​根​​​​​​​据​​​​​​​保​​​​​​​护​​​​​​​设​​​​​​​备​​​​​​​的​​​​​​​类​​​​​​​型​​​​​​​而​​​​​​​有​​​​​​​所​​​​​​​不​​​​​​​同​​​​​​​。​​​​​​​例​​​​​​​如​​​​​​​,对​​​​​​​于​​​​​​​用​​​​​​​作​​​​​​​保​​​​​​​护​​​​​​​设​​​​​​​备​​​​​​​的​​​​​​​电​​​​​​​源​​​​​​​控​​​​​​​制​​​​​​​器​​​​​​​,群​​​​​​​集​​​​​​​配​​​​​​​置​​​​​​​定​​​​​​​义​​​​​​​了​​​​​​​电​​​​​​​源​​​​​​​控​​​​​​​制​​​​​​​器​​​​​​​的​​​​​​​名​​​​​​​字​​​​​​​、​​​​​​​IP 地​​​​​​​址​​​​​​​、​​​​​​​登​​​​​​​录​​​​​​​帐​​​​​​​号​​​​​​​和​​​​​​​密​​​​​​​码​​​​​​​。​​​​​​​
  • 被​​​​​​​管​​​​​​​理​​​​​​​的​​​​​​​资​​​​​​​源​​​​​​​ — 显​​​​​​​示​​​​​​​创​​​​​​​建​​​​​​​群​​​​​​​集​​​​​​​服​​​​​​​务​​​​​​​所​​​​​​​必​​​​​​​需​​​​​​​的​​​​​​​资​​​​​​​源​​​​​​​。​​​​​​​被​​​​​​​管​​​​​​​理​​​​​​​的​​​​​​​资​​​​​​​源​​​​​​​包​​​​​​​括​​​​​​​故​​​​​​​障​​​​​​​切​​​​​​​换​​​​​​​域​​​​​​​的​​​​​​​定​​​​​​​义​​​​​​​、​​​​​​​资​​​​​​​源​​​​​​​(如​​​​​​​ IP 地​​​​​​​址​​​​​​​)和​​​​​​​服​​​​​​​务​​​​​​​。​​​​​​​它​​​​​​​也​​​​​​​定​​​​​​​义​​​​​​​了​​​​​​​群​​​​​​​集​​​​​​​服​​​​​​​务​​​​​​​和​​​​​​​群​​​​​​​集​​​​​​​服​​​​​​​务​​​​​​​的​​​​​​​故​​​​​​​障​​​​​​​切​​​​​​​换​​​​​​​行​​​​​​​为​​​​​​​。​​​​​​​