Product SiteDocumentation Site

第 8 章 转变为Active/Active

目录

8.1. 需求
8.2. Adding CMAN Support
8.2.1. Installing the required Software
8.2.2. Configuring CMAN
8.2.3. Redundant Rings
8.2.4. Configuring CMAN Fencing
8.2.5. Bringing the Cluster Online with CMAN
8.3. 创建一个 GFS2 文件系统
8.3.1. 准备工作
8.3.2. 创建并迁移数据到 GFS2 分区
8.4. 8.5. 重新为集群配置GFS2
8.5. 重新配置 Pacemaker 为 Active/Active
8.5.1. 恢复测试

8.1. 需求

The primary requirement for an Active/Active cluster is that the data required for your services is available, simultaneously, on both machines. Pacemaker makes no requirement on how this is achieved, you could use a SAN if you had one available, however since DRBD supports multiple Primaries, we can also use that.
The only hitch is that we need to use a cluster-aware filesystem. The one we used earlier with DRBD, ext4, is not one of those. Both OCFS2 and GFS2 are supported, however here we will use GFS2 which comes with Fedora.
We’ll also need to use CMAN for Cluster Membership and Quorum instead of our Corosync plugin.