Figure 1.2. CMAN/DLM Overview
3.2. Lock Management
Lock management is a common cluster-infrastructure service that provides a mechanism for
other cluster infrastructure components to synchronize their access to shared resources. In a
Red Hat cluster, DLM (Distributed Lock Manager) is the lock manager. As implied in its name,
DLM is a distributed lock manager and runs in each cluster node; lock management is
distributed across all nodes in the cluster (refer to
Figure 1.2, “CMAN/DLM Overview”
). GFS and
CLVM use locks from the lock manager. GFS uses locks from the lock manager to synchronize
access to file system metadata (on shared storage). CLVM uses locks from the lock manager to
synchronize updates to LVM volumes and volume groups (also on shared storage).
3.3. Fencing
Fencing is the disconnection of a node from the cluster's shared storage. Fencing cuts off I/O
from shared storage, thus ensuring data integrity. The cluster infrastructure performs fencing
through the fence daemon,
fenced
.
When CMAN determines that a node has failed, it communicates to other cluster-infrastructure
components that the node has failed.
fenced
, when notified of the failure, fences the failed
node. Other cluster-infrastructure components determine what actions to take — that is, they
perform any recovery that needs to done. For example, DLM and GFS, when notified of a node
failure, suspend activity until they detect that
fenced
has completed fencing the failed node.
Upon confirmation that the failed node is fenced, DLM and GFS perform recovery. DLM
releases locks of the failed node; GFS recovers the journal of the failed node.
The fencing program determines from the cluster configuration file which fencing method to use.
Two key elements in the cluster configuration file define a fencing method: fencing agent and
Chapter 1. Red Hat Cluster Suite Overview
6
Содержание CLUSTER SUITE FOR ENTERPRISE LINUX 5.2
Страница 4: ...Red Hat Cluster Suite Overview ...
Страница 6: ...vi ...
Страница 10: ...x ...
Страница 18: ...Figure 1 3 Power Fencing Example Chapter 1 Red Hat Cluster Suite Overview 8 ...
Страница 20: ...Figure 1 5 Fencing a Node with Dual Power Supplies Chapter 1 Red Hat Cluster Suite Overview 10 ...
Страница 33: ...Figure 1 16 Conga LVM Graphical User Interface Cluster Logical Volume Manager 23 ...
Страница 48: ...Figure 1 24 luci homebase Tab Figure 1 25 luci cluster Tab Chapter 1 Red Hat Cluster Suite Overview 38 ...
Страница 66: ...56 ...
Страница 76: ...66 ...
Страница 78: ...68 ...