一、重要知识

ILO2 对应的fence agent是fence_ilo,ILO3,ILO4对应的fence agent是fence_ipmilan。

使用fence_ipmilan agent时,需要节点安装ipmitool工具,否则报错:

agent "fence_ipmilan" reports: ipmilan: ipmitool not found! failed: Failed to initialize。


二、fence_ipmilan调试指令

查看主机状态

fence_ipmilan -P -A password -l cluster -p hpinvent -o status -a 10.10.129.171


三、cluster.conf配置示例

<?xml version="1.0"?>
<cluster config_version="14" name="psql">
        <clusternodes>
                <clusternode name="trfdb01" nodeid="1">
                        <fence>
                                <method name="ilo">