<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body text="#000099" bgcolor="#ffffff">
Hi Parvez,<br>
<br>
Have you tried method="cycle" ?<br>
(on my cluster I don't specify the auth parameter, but I don't think that's the problem)<br>
<br>
--<br>
Luc<br>
<br>
<br>
<div class="moz-signature">
<hr>
</div>
<br>
Le 30/06/2011 12:03, Parvez Shaikh a écrit :
<blockquote cite="mid:BANLkTims0ecxMwOuBifRrTxD6d5UJve0cg@mail.gmail.com" type="cite">
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>
Parvez<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a></pre>
</blockquote>
<style>
<!--
 /* Font Definitions */
 @font-face
 {font-family:Webdings;
 panose-1:5 3 1 2 1 5 9 6 7 3;
 mso-font-charset:2;
 mso-generic-font-family:roman;
 mso-font-pitch:variable;
 mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0cm;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
span.spelle
 {mso-style-name:spelle;}
span.SpellE
 {mso-style-name:"";
 mso-spl-e:yes;}
@page Section1
 {size:595.3pt 841.9pt;
 margin:70.85pt 70.85pt 70.85pt 70.85pt;
 mso-header-margin:35.4pt;
 mso-footer-margin:35.4pt;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:"Tableau Normal";
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:"";
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:"Times New Roman";
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>

<body lang=FR style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><span lang=DE style='font-size:18.0pt;font-family:Webdings;
mso-bidi-font-family:Arial;color:green;mso-ansi-language:DE'>P</span><b><span
lang=DE style='font-size:7.5pt;font-family:Arial;color:black'> </span></b><b><span
style='font-size:10.0pt;font-family:Arial;color:green'>Pensez à
l'environnement avant d'imprimer ce message<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-
family:Arial'>      
<span class=SpellE><b><i><span style='color:green'>Think</span></i></b></span><b><i><span
style='color:green'> <span class=SpellE>Environment</span> <span class=SpellE>before</span>
printing</span></i></b><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:6.0pt;font-family:Arial'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:6.0pt;font-family:Arial'>Le contenu
de ce mél et de ses pièces jointes est destiné à
l'usage exclusif du (des) destinataire(s) désigné(s) comme
tel(s). </span></p>
<p class=MsoNormal><span style='font-size:6.0pt;font-family:Arial'>En cas de
réception par erreur, le signaler à son expéditeur et ne
pas en divulguer le contenu. <br>
L'absence de virus a été vérifiée à
l'émission, il convient néanmoins de s'assurer de l'absence de
contamination à sa réception.</span></p>

<p class=MsoNormal> </p>
<p class=MsoNormal><span lang=EN-GB style='font-size:6.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>The contents of this email and any attachments are
confidential. They are intended for the named recipient(s) only. </span><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:6.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>If you have received this email in error please notify
the system manager or  the sender immediately and do not disclose the
contents to <br>
anyone or make copies. </span><span lang=EN-GB 
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='font-size:6.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>eSafe</span></span><span lang=EN-GB
style='font-size:6.0pt;font-family:Arial;mso-ansi-language:EN-GB'> scanned
this email for viruses, vandals and malicious content.</span><span lang=EN-GB
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-
GB'><o:p> </o:p></span></p>
</div>
</body>
</html>
</body>
</html>