RHEL 集群(RHCS)配置小记 -- 文档记录

本文档详细介绍了RHEL6集群中Fencing的工作原理及其重要性。Fencing通过隔离故障节点来保护共享存储的数据完整性。文章解释了当CMAN发现节点故障时,如何通过fenced守护进程进行围栏操作,并列举了几种常见的围栏方法,如电源围栏和存储围栏。

 

1、RHEL 6 集群配置官方管理手册

https://access.redhat.com/site/documentation/zh-CN/Red_Hat_Enterprise_Linux/6/pdf/Cluster_Administration/Red_Hat_Enterprise_Linux-6-Cluster_Administration-zh-CN.pdf

 

2、官方讲解Fencing设备原理

 

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/High_Availability_Add-On_Overview/ch-fencing.html

 

-- 部分摘要

 

 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 be done.

 For example, DLM and GFS2, 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 GFS2 perform recovery. DLM releases locks of the failed node; GFS2 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 fencing device.

 The fencing program makes a call to a fencing agent specified in the cluster configuration file. The fencing agent, in turn, fences the node via a fencing device. When fencing is complete, the fencing program notifies the cluster manager.

 The High Availability Add-On provides a variety of fencing methods:

 Power fencing — A fencing method that uses a power controller to power off an inoperable node.

 storage fencing — A fencing method that disables the Fibre Channel port that connects storage to an inoperable node.

 Other fencing — Several other fencing methods that disable I/O or power of an inoperable node, including IBM Bladecenters, PAP, DRAC/MC, HP ILO, IPMI, IBM RSA II, and others.

 

 

 

2015-03-07

 

转载于:https://www.cnblogs.com/fengaix6/p/4320351.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值