Hi all,<br><br>Thanks for your responses, after providing auth=password; fencing succeeded <br><br>                <fencedevice agent="fence_ipmilan" <b>auth="password"</b> ipaddr="IP" login="admin" name="IPMI_1" passwd="password"/><br>
<br>Thanks,<br>Parvez<br>
<br><br><div class="gmail_quote">On Fri, Jul 1, 2011 at 2:33 PM, שלום קלמר <span dir="ltr"><<a href="mailto:sklemer@gmail.com" target="_blank">sklemer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi.<div><br></div><div>I think you need to add the power_wait"10" & lanplus="1"<br><div><br></div><div>Try this line:</div><div><br></div><div>fencedevice agent="fence_ipmilan" power_wait="10" ipaddr="xx.xx.xx.xx" lanplus="1" login="xxxt" name="node1_ilo" passwd="yyy</div>


<div><br></div><div><br></div><div>Regards</div><div><br></div><div>Shalom.</div><div><br><div class="gmail_quote"><div><div></div><div>On Thu, Jun 30, 2011 at 1:03 PM, Parvez Shaikh <span dir="ltr"><<a href="mailto:parvez.h.shaikh@gmail.com" target="_blank">parvez.h.shaikh@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>Hi all,<br><br>I am on RHEL 5.5; and I have two rack mounted servers with IPMI configured.<br>

<br>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<br>

<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"># fence_ipmilan -a <IPMI IP Address> -l admin -p password -o reboot<br></blockquote>


<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">Rebooting machine @ IPMI:<IPMI IP Address>...Failed<br></blockquote><br>But I can power it on or power off just fine <br>



<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><br># fence_ipmilan -a <IPMI IP Address> -l admin -p password -o on<br></blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">



Powering on machine @ IPMI:<IPMI IP Address>...Done<br></blockquote><br>Due to this my fencing is failing and failover is not happening.<br><br>I have questions around this -<br><br>1. Can we provide action (off or reboot) in cluster.conf for ipmi lan fencing?<br>



2. Is there anything wrong in my configuration? Cluster.conf file is pasted below<br>3. Is this a known issue which is fixed in newer versions<br><br>Here is how my cluster.conf looks like -<br><blockquote><?xml version="1.0"?><br>



<cluster config_version="4" name="Cluster"><br> <fence_daemon post_fail_delay="0" post_join_delay="3"/><br> <clusternodes><br>  <clusternode name="blade1.domain" nodeid="1" votes="1"><br>



   <fence><br>    <method name="1"><br>     <device lanplus="" name="IPMI_1"/><br>    </method><br>   </fence><br>  </clusternode><br>  <clusternode name="blade2.domain" nodeid="2" votes="1"><br>



   <fence><br>    <method name="1"><br>     <device lanplus="" name="IPMI_2"/><br>    </method><br>   </fence><br>  </clusternode><br> </clusternodes><br>



 <cman expected_votes="1" two_node="1"/><br> <fencedevices><br>  <fencedevice agent="fence_ipmilan" auth="none" ipaddr="<IMPI 1 IP Address>" login="admin" name="IPMI_1" passwd="password"/><br>



  <fencedevice agent="fence_ipmilan" auth="none" ipaddr="<IMPI 2 IP Address>" login="admin" name="IPMI_2" passwd="password"/><br> </fencedevices><br>



 <rm><br>  <failoverdomains><br>   <failoverdomain name="FailoveDomain" ordered="1" restricted="1"><br>    <failoverdomainnode name="blade1.domain" priority="2"/><br>



    <failoverdomainnode name="blade2.domain" priority="1"/><br>   </failoverdomain><br>  </failoverdomains><br>  <resources/><br>  <service autostart="1" name="service" recovery="relocate"/><br>



 </rm><br></cluster><br></blockquote>Thanks,<br><font color="#888888">Parvez<br>
</font><br></div></div><div>--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com" target="_blank">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br></div></blockquote></div><br></div></div>
<br>--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com" target="_blank">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br></blockquote></div><br>