Re: fence_ipmilan fails to reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/30/2011 06:03 AM, Parvez Shaikh wrote:
Hi all,

I am on RHEL 5.5; and I have two rack mounted servers with IPMI configured.

When I run command from the prompt to reboot the server through
fence_ipmilan, it shutsdown the server fine but it fails to power it on

    # fence_ipmilan -a <IPMI IP Address> -l admin -p password -o reboot

    Rebooting machine @ IPMI:<IPMI IP Address>...Failed


But I can power it on or power off just fine


    # fence_ipmilan -a <IPMI IP Address> -l admin -p password -o on

    Powering on machine @ IPMI:<IPMI IP Address>...Done


Due to this my fencing is failing and failover is not happening.

I have questions around this -

1. Can we provide action (off or reboot) in cluster.conf for ipmi lan
fencing?
2. Is there anything wrong in my configuration? Cluster.conf file is
pasted below
3. Is this a known issue which is fixed in newer versions

Here is how my cluster.conf looks like -

    <?xml version="1.0"?>
    <cluster config_version="4" name="Cluster">
    <fence_daemon post_fail_delay="0" post_join_delay="3"/>
    <clusternodes>
    <clusternode name="blade1.domain" nodeid="1" votes="1">
    <fence>
    <method name="1">
    <device lanplus="" name="IPMI_1"/>
    </method>
    </fence>
    </clusternode>
    <clusternode name="blade2.domain" nodeid="2" votes="1">
    <fence>
    <method name="1">
    <device lanplus="" name="IPMI_2"/>
    </method>
    </fence>
    </clusternode>
    </clusternodes>
    <cman expected_votes="1" two_node="1"/>
    <fencedevices>
    <fencedevice agent="fence_ipmilan" auth="none" ipaddr="<IMPI 1 IP
    Address>" login="admin" name="IPMI_1" passwd="password"/>
    <fencedevice agent="fence_ipmilan" auth="none" ipaddr="<IMPI 2 IP
    Address>" login="admin" name="IPMI_2" passwd="password"/>
    </fencedevices>

Try:

<fence>
  <method name="1">
    <device action="reboot" name="IPMI_1"/>
  </method>
</fence>
...
<fencedevice agent="fence_ipmilan" ipaddr="(IP)" login="admin" name="IPMI_1" passwd="password"/>

--
Digimer
E-Mail:              digimer@xxxxxxxxxxx
Freenode handle:     digimer
Papers and Projects: http://alteeve.com
Node Assassin:       http://nodeassassin.org
"I feel confined, only free to expand myself within boundaries."

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux