Linux ha fence设备测试
另外,在配置RHCS5.3时,Fence设备只ping通还不行,还必须经过测试,我在网上找了一篇IPMI的文章,现粘贴如下:What is IPMI?Intelligent Platform Management Interface[edit]AdvantagesLow cost. Available on most recent server systems. [edit]DisadvantagesThere 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]PrerequisitesYou 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: OpenIPMIOpenIPMI-toolsYou 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 ConfigurationSee if you can start ipmi:[root@et-virt05 ~]# service ipmi startStarting 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.1IPMI System Interface driver.ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca8, slave address 0x20, irq 0ipmi: Found new BMC (man_id: 0x0002a2,??prod_id: 0x0000, dev_id: 0x20)??IPMI kcs interface initializedipmi device interfaceOk! Moving, on...[edit]LAN/LAN+ Configura