fence机制 linux_Linux ha fence设备测试

另外,在配置

RHCS5.3

时,

Fence

设备只

ping

通还不行,还必须经过测试,我在网上找了一

IPMI

的文章,现粘贴如下:

What is IPMI?

Intelligent Platform Management Interface

[edit]

Advantages

Low cost.

Available on most recent server systems.

[edit]

Disadvantages

There is no way to retain power to the IPMI BMC if power to the host is lost. If power is lost to

the

host,

fencing

will

fail.

This

will

delay

cluster

recovery.

It

is

recommended

to

either

have

a

second

fencing

device

(external

power

switch)

or

a

server

with

multiple

power

supplies

when

using IPMI over LAN for fencing.

Some IPMI implementations share an ethernet interface with the host operating system. If this

interface is the same one used for the cluster communication, a loss of connectivity to this port

will

cause

a

need

for

fencing

but

also

cause

fencing

to

fail,

delaying

cluster

recovery.

It

is

recommended

that

the

ethernet

interface

the

BMC

uses

be

reserved

exclusively

for

BMC

use;

that is, the host operating system should not use the BMC's NIC.

[edit]

Prerequisites

You will need the OpenIPMI packages and the ipmitool utility in order to use this mini-howto. On

Red Hat Enterprise Linux 5 and CentOS 5, the packages you need are:

OpenIPMI

OpenIPMI-tools

You will also need some free IP addresses which you assign to IPMI devices.

This mini-HOWTO is for machines which have not had IPMI-over-LAN set up before.

[edit]

Basic Configuration

See if you can start ipmi:

[root@et-virt05 ~]# service ipmi start

Starting ipmi drivers:

[  OK  ]

If it fails (FAILED), go have a beer or something, because the rest of this howto will not help you.

If it succeeds, you should see something like this (may differ by hardware) in dmesg output:

ipmi message handler version 39.1

IPMI System Interface driver.

ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca8, slave address 0x20, irq 0

ipmi: Found new BMC (man_id: 0x0002a2,  prod_id: 0x0000, dev_id: 0x20)

IPMI kcs interface initialized

ipmi device interface

Ok! Moving, on...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值