<div dir="ltr">Why are you using ssh as stonith? i don't think the fencing is working because your nodes are in unclean state<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-08 5:37 GMT+02:00 <span dir="ltr"><<a href="mailto:renayama19661014@ybb.ne.jp" target="_blank">renayama19661014@ybb.ne.jp</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I composed Master/Slave resource of three nodes that set quorum-policy="freeze".<br>
(I use Stateful in Master/Slave resource.)<br>
<br>
---------------------------------<br>
Current DC: srv01 (3232238280) - partition with quorum<br>
Version: 1.1.11-830af67<br>
3 Nodes configured<br>
9 Resources configured<br>
<br>
<br>
Online: [ srv01 srv02 srv03 ]<br>
<br>
Resource Group: grpStonith1<br>
prmStonith1-1 (stonith:external/ssh): Started srv02<br>
Resource Group: grpStonith2<br>
prmStonith2-1 (stonith:external/ssh): Started srv01<br>
Resource Group: grpStonith3<br>
prmStonith3-1 (stonith:external/ssh): Started srv01<br>
Master/Slave Set: msPostgresql [pgsql]<br>
Masters: [ srv01 ]<br>
Slaves: [ srv02 srv03 ]<br>
Clone Set: clnPingd [prmPingd]<br>
Started: [ srv01 srv02 srv03 ]<br>
---------------------------------<br>
<br>
<br>
Master resource starts in all nodes when I interrupt the internal communication of all nodes.<br>
<br>
---------------------------------<br>
Node srv02 (3232238290): UNCLEAN (offline)<br>
Node srv03 (3232238300): UNCLEAN (offline)<br>
Online: [ srv01 ]<br>
<br>
Resource Group: grpStonith1<br>
prmStonith1-1 (stonith:external/ssh): Started srv02<br>
Resource Group: grpStonith2<br>
prmStonith2-1 (stonith:external/ssh): Started srv01<br>
Resource Group: grpStonith3<br>
prmStonith3-1 (stonith:external/ssh): Started srv01<br>
Master/Slave Set: msPostgresql [pgsql]<br>
Masters: [ srv01 ]<br>
Slaves: [ srv02 srv03 ]<br>
Clone Set: clnPingd [prmPingd]<br>
Started: [ srv01 srv02 srv03 ]<br>
(snip)<br>
Node srv01 (3232238280): UNCLEAN (offline)<br>
Node srv03 (3232238300): UNCLEAN (offline)<br>
Online: [ srv02 ]<br>
<br>
Resource Group: grpStonith1<br>
prmStonith1-1 (stonith:external/ssh): Started srv02<br>
Resource Group: grpStonith2<br>
prmStonith2-1 (stonith:external/ssh): Started srv01<br>
Resource Group: grpStonith3<br>
prmStonith3-1 (stonith:external/ssh): Started srv01<br>
Master/Slave Set: msPostgresql [pgsql]<br>
Masters: [ srv01 srv02 ]<br>
Slaves: [ srv03 ]<br>
Clone Set: clnPingd [prmPingd]<br>
Started: [ srv01 srv02 srv03 ]<br>
(snip)<br>
Node srv01 (3232238280): UNCLEAN (offline)<br>
Node srv02 (3232238290): UNCLEAN (offline)<br>
Online: [ srv03 ]<br>
<br>
Resource Group: grpStonith1<br>
prmStonith1-1 (stonith:external/ssh): Started srv02<br>
Resource Group: grpStonith2<br>
prmStonith2-1 (stonith:external/ssh): Started srv01<br>
Resource Group: grpStonith3<br>
prmStonith3-1 (stonith:external/ssh): Started srv01<br>
Master/Slave Set: msPostgresql [pgsql]<br>
Masters: [ srv01 srv03 ]<br>
Slaves: [ srv02 ]<br>
Clone Set: clnPingd [prmPingd]<br>
Started: [ srv01 srv02 srv03 ]<br>
---------------------------------<br>
<br>
I think even if the cluster loses Quorum, being "promote" the Master / Slave resource that's specification of Pacemaker.<br>
<br>
Is it responsibility of the resource agent side to prevent a state of these plural Master?<br>
* I think that drbd-RA has those functions.<br>
* But, there is no function in Stateful-RA.<br>
* As an example, I think that the mechanism such as drbd is necessary by all means when I make a resource of Master/Slave newly.<br>
<br>
Will my understanding be wrong?<br>
<br>
Best Regards,<br>
Hideo Yamauchi.<br>
<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>