另外,在配置
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...