<div dir="ltr"><div><div><div><div><div><div><div>hi, <br><br></div>thanks for answer.<br><br></div><div>the pacemaker|corosync is running on both nodes.<br><br></div>[chkconfig | grep corosync<br>corosync 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus<br>
chkconfig | grep pacemaker<br>pacemaker 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus<br><br></div>@ssh key<br></div>no, i created the keys without passphrase.<br></div>maybe the config is wrong but i have checked a lot times and i can´t find any issue.<br>
</div>btw. your book "clusterbau: hochverfügbarkeit mit linux version3" is very helpfull.<br><br></div><div>btw. selinux is disabled and iptables can´t be the reason because fence_virsh works via commandline,or?<br>
</div><div><br></div>thanks<br>beo<br><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/23 Michael Schwartzkopff <span dir="ltr"><<a href="mailto:ms@sys4.de" target="_blank">ms@sys4.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Mittwoch, 23. Oktober 2013, 10:57:28 schrieb Beo Banks:<br>
> *hi,<br>
<div class="im">><br>
><br>
> i wants to testing the fail-over capabilities of my cluster.<br>
> i run pkill -9 corosync on 2nd node and i saw on the 1node that he wants to<br>
> stonith the node2 but he "giving up after too many failures to fence node"<br>
><br>
><br>
><br>
> via commandline it works without any problems<br>
> fence_virsh -a host2 -l root -x -k /root/.ssh/id_rsa -o reboot -v -n<br>
> zarafa02<br>
><br>
><br>
</div>> **setup<br>
<div class="im">> 2x kvm guest (zarafa01=node1 / zarafa02=node2)<br>
> 2x kvm host<br>
> rhel 6.4<br>
</div>> pacemaker,corosync,drbd*<br>
> *<br>
> *<br>
> *hopefully somebody can help me with the issue and the 2nd issue after run<br>
<div class="im">> the fence_virsh via commandline the pacemaker service isn´t up on the 2nd<br>
> node.<br>
<br>
</div>(...)<br>
<br>
Do you need to enter a passphrase to decrypt your SSH key? Your fencing op<br>
runs into timeout. Perhaps the script waits for the passphrase.<br>
<br>
Start: You could start corosync and pacemaker from the init system after<br>
system reboot (chkconf ...) . But be careful that might cause trouble.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Mit freundlichen Grüßen,<br>
<br>
Michael Schwartzkopff<br>
<br>
--<br>
[*] sys4 AG<br>
<br>
<a href="http://sys4.de" target="_blank">http://sys4.de</a>, <a href="tel:%2B49%20%2889%29%2030%2090%2046%2064" value="+498930904664">+49 (89) 30 90 46 64</a>, <a href="tel:%2B49%20%28162%29%20165%200044" value="+491621650044">+49 (162) 165 0044</a><br>
Franziskanerstraße 15, 81669 München<br>
<br>
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263<br>
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer<br>
Aufsichtsratsvorsitzender: Florian Kirstein</font></span><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/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/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>