易截截图软件、单文件、免安装、纯绿色、仅160KB

qdisk(5) Linux man page

QDisk 1.2 - a disk-based quorum daemon for CMAN / Linux-Cluster
1. Overview
1.1 Problem
In some situations, it may be necessary or desirable to sustain a majority node failure of a cluster without introducing the need for asymmetric cluster configurations (e.g. client-server, or heavily-weighted voting nodes).
1.2. Design Requirements
* Ability to sustain 1..(n-1)/n simultaneous node failures, without the danger of a simple network partition causing a split brain. That is, we need to be able to ensure that the majority failure case is not merely the result of a network partition.
* Ability to use external reasons for deciding which partition is the the quorate partition in a partitioned cluster. For example, a user may have a service running on one node, and that node must always be the master in the event of a network partition. Or, a node might lose all network connectivity except the cluster communication path - in which case, a user may wish that node to be evicted from the cluster.
* Integration with CMAN. We must not require CMAN to run with us (or without us). Linux-Cluster does not require a quorum disk normally - introducing new requirements on the base of how Linux-Cluster operates is not allowed.
* Data integrity. In order to recover from a majority failure, fencing is required. The fencing subsystem is already provided by Linux-Cluster.
* Non-reliance on hardware or protocol specific methods (i.e. SCSI reservations). This ensures the quorum disk algorithm can be used on the widest range of hardware configurations possible.
* Little or no memory allocation after initialization. In critical paths during failover, we do not want to have to worry about being killed during a memory pressure situation because we request a page fault, and the Linux OOM killer responds...
1.3. Hardware Considerations and Requirements
1.3.1. Concurrent, Synchronous, Read/Write Access
This quorum daemon requires a shared block device with concurrent read/write


相关文档:

关于 linux 内存

首先,内存的大小在linux内核中的获知方法
1.通过bootloader 的 tag mem传入。
Setup.c 中的函数如下:
static int __init parse_tag_mem32(const struct tag *tag)
{
if (meminfo.nr_banks >= NR_BANKS) {
printk(KERN_WARNING
"Ignoring memory bank 0x%08x size %dKB\n",
tag->u.mem.start, tag->u.mem ......

2010 Linux学习笔记

安装openssh 服务端
sudo apt-get install openssh-server openssh-client
 
windows 下客户端
puTTY
 
 常用命令:
 
一.Ls 查看目录命令
一般放在home 目录下
Ls –l /  根目录下的列表
Ls –a /  根目录下所有的文件
Ls –la  组合的选项
Ls –l / ......

linux如何动态加载动态库

1.定义函数指针类型
要根据动态库中药使用的函数,在外面定义同样类型的函数指针类型,供以后使用
typedef unsigned long(*POpenDev)(IN unsigned long int);
 2. 定义函数指针
POpenDev OpenDev;
3.动态加载动态库
 HANDLE sohandle = NULL;
sohandle  = dlopen("libNiKeyDll.so", RTLD_NOW); ......

Linux内核的PCI总线驱动程式的实现分析笔记

§1.PCI总线体系结构概述
PCI总线体系结构是一种层次式的(Hierarchical)体系结构。在这种层次式体系结构中,PCI桥设备占据着重要的地位,他将父总线和子总线连接在一起,从而使整个系统看起来像一颗倒置的树型结构。树的顶端是系统的CPU,他通过一个较为特别的PCI桥设备??Host/PCI桥设备和根PCI总线(root pci bus ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号