<div dir="ltr">Thanks i will try this out. <div><br></div><div><br>Regards</div><div>Arjun</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 2:56 PM, Marek "marx" Grac <span dir="ltr"><<a href="mailto:mgrac@redhat.com" target="_blank">mgrac@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<span class=""><br>
<br>
On 03/02/2015 07:58 AM, Arjun Pandey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Yeah i had missed that. It still doesn't work.<br>
<br>
[root@rimo ~]# fence_ipmilan -a 10.11.10.22 -l foo -p '$1$Fx5N1lWk$3W/<u></u>CYfGvBpuiPy9zopKAk0' -o status -v -P -A md5<br>
Getting status of IPMI:10.11.10.22...Spawning: '/usr/bin/ipmitool -I lanplus -H '10.11.10.22' -U 'parallel' -A 'md5' -P '[set]' -v chassis power status'...<br>
Chassis power = Unknown<br>
Failed<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I also tried running the ipmitool directly.<br>
[root@rimo ~]# /usr/bin/ipmitool -I lanplus -H '10.11.10.22' -U 'parallel' -A 'md5' -P '$1$rPv.Dm77$AG365zoIQKa/<u></u>JCb3bkiFv/' -v chassis power status -C 1<br>
> RAKP 2 HMAC is invalid<br>
Error: Unable to establish IPMI v2 / RMCP+ session<br>
Unable to get Chassis Power Status<br>
</blockquote>
<br></span>
if ipmitool is not working for you then fence_ipmilan can't work too as it is based on it.<br>
<br>
For parameters:<br>
-A is used for 'lan' session (IPMI v1.5)<br>
-C is used for 'lanplus' session (IPMI v2)<br>
in your case it is lanplus so, -A should not have any impact.<br>
<br>
Also, take a look at ipmitool options -k/-y to enter key in normal/hex format, instead of using -P<br>
<br>
m,<span class="im HOEnZb"><br>
<br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>From the ipmitool help<br>
-C ciphersuite Cipher suite to be used by lanplus interface<br>
authentication<br>
-A authtype Force use of auth type NONE, PASSWORD, MD2, MD5 or OEM<br>
<br>
What is the significance of -C option ? I don't see this being specified when i give md5 auth type to fence_ipmilan. Can this be a issue as well ?<br>
<br>
</blockquote>
<br>
<br></span><span class="HOEnZb"><font color="#888888">
m,</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>