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