AKIN ÿffffffffffd6ZTOPUZ | 29 May 2012 08:54
Picon
Favicon

help

    Hello
 
I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .
 
 
my config   like that  :
 
each node has 1 vote
quorum disk has 1 vote
cman expected vote is 3
quorum will be protected in 2 votes  so when one node is down cluster will be up
 
 
whats other things should I care about it  in cluster config? 
 
 
 
thanks in advance
<div><div>
<div><span class="tab">&nbsp;&nbsp;&nbsp;&nbsp;Hello</span></div>
<div>
<span class="tab"></span>&nbsp;</div>
<div><span class="tab">I need configuration steps&nbsp;about 2 nodes&nbsp; rhel(5) cluster&nbsp;with quorum disk .</span></div>
<div>
<span class="tab"></span>&nbsp;</div>
<div>
<span class="tab"></span>&nbsp;</div>
<div><span class="tab">my config&nbsp;&nbsp; like that&nbsp; :</span></div>
<div>
<span class="tab"></span>&nbsp;</div>
<div><span class="tab">each node has 1 vote</span></div>
<div><span class="tab">quorum disk has 1 vote</span></div>
<div><span class="tab">cman expected vote is 3</span></div>
<div><span class="tab">quorum will be protected in 2 votes&nbsp; so&nbsp;when one node is down cluster will be up</span></div>
<div>
<span class="tab"></span>&nbsp;</div>
<div>
<span class="tab"></span>&nbsp;</div>
<div><span class="tab">whats other things should&nbsp;I care about it&nbsp; in cluster config?&nbsp;</span></div>
<div>
<span class="tab"></span>&nbsp;</div>
<div>
<span class="tab"></span><span class="tab"></span><span class="tab"></span><span class="tab"></span>&nbsp;</div>
<div>
<span class="tab"></span>&nbsp;</div>
<div><span class="tab">thanks in advance </span></div>
</div></div>
Digimer | 29 May 2012 21:46
Picon

Re: help

On 05/29/2012 02:54 AM, AKIN ÿffffffffffd6ZTOPUZ wrote:
>     Hello
>  
> I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .
>  
> my config   like that  :
>  
> each node has 1 vote
> quorum disk has 1 vote
> cman expected vote is 3
> quorum will be protected in 2 votes  so when one node is down cluster
> will be up
>  
> whats other things should I care about it  in cluster config? 
>  
> thanks in advance

First off, I *strongly* recommend using RHEL6, not 5. There have been
many improvements, plus, EL6 will be supported longer.

What are you trying to do with your cluster? I suspect that a quorum
disk is not necessary, though if you have a SAN anyway, I wouldn't argue
against using it. Unless you need the heuristics though, it's probably
not needed. You can safely build a 2-node cluster, you just need to make
sure your fence devices work (which is needed, regardless).

I have a tutorial that shows how to implement a cluster using cman,
clvmd and other components. It also discusses the cluster components
from a high-level, which may help.

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

--

-- 
Digimer
Papers and Projects: https://alteeve.com

AKIN ÿffffffffffd6ZTOPUZ | 30 May 2012 09:45
Picon
Favicon

Re: help

Hello  Digimer
 
I am using qdisk with <quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/>
not heursitic.qdisk   is suggested for avoidin split brain
 
in this configuration my problem is :  node1 is master and continuosly node2 killed by node1
its connection is over iscsi.
ı thınk it is timing problem
doyou have any idea?
 
 
var/log/messages like that:
 
sapclsn2 clurgmgrd[8761]: <notice> Service service:sap is stopped
openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application 

openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting). 
fenced[6788]: cluster is down, exiting

From: Digimer <lists <at> alteeve.ca>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Tuesday, May 29, 2012 10:46 PM
Subject: Re: [Linux-cluster] help

On 05/29/2012 02:54 AM, AKIN ÿffffffffffd6ZTOPUZ wrote:
>    Hello

> I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .

> my config  like that  :

> each node has 1 vote
> quorum disk has 1 vote
> cman expected vote is 3
> quorum will be protected in 2 votes  so when one node is down cluster
> will be up

> whats other things should I care about it  in cluster config?

> thanks in advance

First off, I *strongly* recommend using RHEL6, not 5. There have been
many improvements, plus, EL6 will be supported longer.

What are you trying to do with your cluster? I suspect that a quorum
disk is not necessary, though if you have a SAN anyway, I wouldn't argue
against using it. Unless you need the heuristics though, it's probably
not needed. You can safely build a 2-node cluster, you just need to make
sure your fence devices work (which is needed, regardless).

I have a tutorial that shows how to implement a cluster using cman,
clvmd and other components. It also discusses the cluster components
from a high-level, which may help.

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

--
Digimer
Papers and Projects: https://alteeve.com


<div><div>
<div><span>Hello&nbsp; Digimer</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>I am using qdisk with &lt;quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/&gt;</span></div>
<div><span>not heursitic.qdisk&nbsp;&nbsp; is suggested for avoidin split brain</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>in this configuration&nbsp;my problem is&nbsp;:&nbsp; node1 is master and continuosly node2 killed by node1</span></div>
<div><span>its connection is over iscsi.</span></div>
<div><span>&#305; th&#305;nk it is timing problem </span></div>
<div><span>doyou have any idea?</span></div>
<div>
<span></span>&nbsp;</div>
<div>
<span></span>&nbsp;</div>
<div><span>var/log/messages like that:</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>sapclsn2 clurgmgrd[8761]: &lt;notice&gt;
 Service service:sap is stopped <br>openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application&nbsp;<br><br> openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting).&nbsp;<br> fenced[6788]: cluster is down, exiting<br></span></div>
<div><br></div>  <div> <div> <div dir="ltr">  <div class="hr" contenteditable="false" readonly></div>  <span>From:</span> Digimer &lt;lists <at> alteeve.ca&gt;<br><span>To:</span> AKIN &yuml;ffffffffffd6ZTOPUZ &lt;akinoztopuz <at> yahoo.com&gt;; linux clustering &lt;linux-cluster <at> redhat.com&gt;
 <br><span>Sent:</span> Tuesday, May 29, 2012 10:46 PM<br><span>Subject:</span> Re: [Linux-cluster] help<br> </div> <br>
On 05/29/2012 02:54 AM, AKIN &yuml;ffffffffffd6ZTOPUZ wrote:<br>&gt;&nbsp; &nbsp;  Hello<br>&gt;&nbsp; <br>&gt; I need configuration steps about 2 nodes&nbsp; rhel(5) cluster with quorum disk .<br>&gt;&nbsp; <br>&gt; my config&nbsp;  like that&nbsp; :<br>&gt;&nbsp; <br>&gt; each node has 1 vote<br>&gt; quorum disk has 1 vote<br>&gt; cman expected vote is 3<br>&gt; quorum will be protected in 2 votes&nbsp; so when one node is down cluster<br>&gt; will be up<br>&gt;&nbsp; <br>&gt; whats other things should I care about it&nbsp; in cluster config? <br>&gt;&nbsp; <br>&gt; thanks in advance<br><br>First off, I *strongly* recommend using RHEL6, not 5. There have been<br>many improvements, plus, EL6 will be supported longer.<br><br>What are you trying to do with your cluster? I suspect that a quorum<br>disk is not necessary, though if you have a SAN anyway, I wouldn't argue<br>against using it. Unless you need the heuristics though, it's probably<br>not needed. You
 can safely build a 2-node cluster, you just need to make<br>sure your fence devices work (which is needed, regardless).<br><br>I have a tutorial that shows how to implement a cluster using cman,<br>clvmd and other components. It also discusses the cluster components<br>from a high-level, which may help.<br><br><a href="https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial" target="_blank">https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial</a><br><br>-- <br>Digimer<br>Papers and Projects: <a href="https://alteeve.com" target="_blank">https://alteeve.com</a><br><br><br>
</div> </div>  </div></div>
emmanuel segura | 30 May 2012 10:00
Picon

Re: help

Hello AKIN

Are you sure it's not a connection problem?

2012/5/30 AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>
Hello  Digimer
 
I am using qdisk with <quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/>
not heursitic.qdisk   is suggested for avoidin split brain
 
in this configuration my problem is :  node1 is master and continuosly node2 killed by node1
its connection is over iscsi.
ı thınk it is timing problem
doyou have any idea?
 
 
var/log/messages like that:
 
sapclsn2 clurgmgrd[8761]: <notice> Service service:sap is stopped
openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application 

openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting). 
fenced[6788]: cluster is down, exiting

From: Digimer <lists <at> alteeve.ca>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Tuesday, May 29, 2012 10:46 PM
Subject: Re: [Linux-cluster] help

On 05/29/2012 02:54 AM, AKIN ÿffffffffffd6ZTOPUZ wrote:
>    Hello

> I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .

> my config  like that  :

> each node has 1 vote
> quorum disk has 1 vote
> cman expected vote is 3
> quorum will be protected in 2 votes  so when one node is down cluster
> will be up

> whats other things should I care about it  in cluster config?

> thanks in advance

First off, I *strongly* recommend using RHEL6, not 5. There have been
many improvements, plus, EL6 will be supported longer.

What are you trying to do with your cluster? I suspect that a quorum
disk is not necessary, though if you have a SAN anyway, I wouldn't argue
against using it. Unless you need the heuristics though, it's probably
not needed. You can safely build a 2-node cluster, you just need to make
sure your fence devices work (which is needed, regardless).

I have a tutorial that shows how to implement a cluster using cman,
clvmd and other components. It also discusses the cluster components
from a high-level, which may help.

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

--
Digimer
Papers and Projects: https://alteeve.com



--
Linux-cluster mailing list
Linux-cluster <at> redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster



--
esta es mi vida e me la vivo hasta que dios quiera
<div>
<p>Hello AKIN<br><br>Are you sure it's not a connection problem?<br><br></p>
<div class="gmail_quote">2012/5/30 AKIN &yuml;ffffffffffd6ZTOPUZ <span dir="ltr">&lt;<a href="mailto:akinoztopuz <at> yahoo.com" target="_blank">akinoztopuz <at> yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote">
<div><div>
<div><span>Hello&nbsp; Digimer</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>I am using qdisk with &lt;quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/&gt;</span></div>
<div><span>not heursitic.qdisk&nbsp;&nbsp; is suggested for avoidin split brain</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>in this configuration&nbsp;my problem is&nbsp;:&nbsp; node1 is master and continuosly node2 killed by node1</span></div>
<div><span>its connection is over iscsi.</span></div>
<div><span>&#305; th&#305;nk it is timing problem </span></div>
<div><span>doyou have any idea?</span></div>
<div>
<span></span>&nbsp;</div>
<div>
<span></span>&nbsp;</div>
<div><span>var/log/messages like that:</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>sapclsn2 clurgmgrd[8761]: &lt;notice&gt;
 Service service:sap is stopped <br>openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application&nbsp;<br><br> openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting).&nbsp;<br>
 fenced[6788]: cluster is down, exiting<br></span></div>
<div><br></div>  <div> <div>
 <div dir="ltr">  <div readonly></div>  <span>From:</span> Digimer &lt;<a href="mailto:lists <at> alteeve.ca" target="_blank">lists <at> alteeve.ca</a>&gt;<br><span>To:</span> AKIN &yuml;ffffffffffd6ZTOPUZ &lt;<a href="mailto:akinoztopuz <at> yahoo.com" target="_blank">akinoztopuz <at> yahoo.com</a>&gt;; linux clustering &lt;<a href="mailto:linux-cluster <at> redhat.com" target="_blank">linux-cluster <at> redhat.com</a>&gt;
 <br><span>Sent:</span> Tuesday, May 29, 2012 10:46 PM<br><span>Subject:</span> Re: [Linux-cluster] help<br> </div> <br>
On 05/29/2012 02:54 AM, AKIN &yuml;ffffffffffd6ZTOPUZ wrote:<br>&gt;&nbsp; &nbsp;  Hello<br>&gt;&nbsp; <br>&gt; I need configuration steps about 2 nodes&nbsp; rhel(5) cluster with quorum disk .<br>&gt;&nbsp; <br>&gt; my config&nbsp;  like that&nbsp; :<br>&gt;&nbsp; <br>
&gt; each node has 1 vote<br>&gt; quorum disk has 1 vote<br>&gt; cman expected vote is 3<br>&gt; quorum will be protected in 2 votes&nbsp; so when one node is down cluster<br>&gt; will be up<br>&gt;&nbsp; <br>&gt; whats other things should I care about it&nbsp; in cluster config? <br>
&gt;&nbsp; <br>&gt; thanks in advance<br><br>First off, I *strongly* recommend using RHEL6, not 5. There have been<br>many improvements, plus, EL6 will be supported longer.<br><br>What are you trying to do with your cluster? I suspect that a quorum<br>
disk is not necessary, though if you have a SAN anyway, I wouldn't argue<br>against using it. Unless you need the heuristics though, it's probably<br>not needed. You
 can safely build a 2-node cluster, you just need to make<br>sure your fence devices work (which is needed, regardless).<br><br>I have a tutorial that shows how to implement a cluster using cman,<br>clvmd and other components. It also discusses the cluster components<br>
from a high-level, which may help.<br><br><a href="https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial" target="_blank">https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial</a><span class="HOEnZb"><br><br>-- <br>Digimer<br>Papers and Projects: <a href="https://alteeve.com" target="_blank">https://alteeve.com</a><br><br><br></span>
</div> </div>  </div></div>
<br>--<br>
Linux-cluster mailing list<br><a href="mailto:Linux-cluster <at> redhat.com">Linux-cluster <at> 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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>
</div>
AKIN ÿffffffffffd6ZTOPUZ | 30 May 2012 10:21
Picon
Favicon

Re: help

Hello Emmanuel
 
nodes network is below:
 
-two nodes interconnect via cross cable
-1 interface for iscsi (logical volumes)
-1 interface for  public network
 
ı checked again physicall cables and not seen any problem 

From: emmanuel segura <emi2fast <at> gmail.com>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Wednesday, May 30, 2012 11:00 AM
Subject: Re: [Linux-cluster] help

Hello AKIN

Are you sure it's not a connection problem?

2012/5/30 AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>
Hello  Digimer
 
I am using qdisk with <quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/>
not heursitic.qdisk   is suggested for avoidin split brain
 
in this configuration my problem is :  node1 is master and continuosly node2 killed by node1
its connection is over iscsi.
ı thınk it is timing problem
doyou have any idea?
 
 
var/log/messages like that:
 
sapclsn2 clurgmgrd[8761]: <notice> Service service:sap is stopped
openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application 

openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting). 
fenced[6788]: cluster is down, exiting

From: Digimer <lists <at> alteeve.ca>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Tuesday, May 29, 2012 10:46 PM
Subject: Re: [Linux-cluster] help

On 05/29/2012 02:54 AM, AKIN ÿffffffffffd6ZTOPUZ wrote:
>    Hello

> I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .

> my config  like that  :

> each node has 1 vote
> quorum disk has 1 vote
> cman expected vote is 3
> quorum will be protected in 2 votes  so when one node is down cluster
> will be up

> whats other things should I care about it  in cluster config?

> thanks in advance

First off, I *strongly* recommend using RHEL6, not 5. There have been
many improvements, plus, EL6 will be supported longer.

What are you trying to do with your cluster? I suspect that a quorum
disk is not necessary, though if you have a SAN anyway, I wouldn't argue
against using it. Unless you need the heuristics though, it's probably
not needed. You can safely build a 2-node cluster, you just need to make
sure your fence devices work (which is needed, regardless).

I have a tutorial that shows how to implement a cluster using cman,
clvmd and other components. It also discusses the cluster components
from a high-level, which may help.

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

--
Digimer
Papers and Projects: https://alteeve.com



--
Linux-cluster mailing list
Linux-cluster <at> redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster



--
esta es mi vida e me la vivo hasta que dios quiera


<div><div>
<div><span>Hello Emmanuel</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>nodes network is below:</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>-two nodes interconnect via cross cable</span></div>
<div><span>-1 interface for iscsi (logical volumes)</span></div>
<div>
<span></span><span>-1 interface for&nbsp;&nbsp;public network</span>
</div>
<div>
<span></span>&nbsp;</div>
<div><span>&#305; checked again physicall cables&nbsp;and not seen any problem&nbsp;</span></div>
<div><br></div>  <div> <div> <div dir="ltr">  <div class="hr" contenteditable="false" readonly></div>  <span>From:</span> emmanuel segura &lt;emi2fast <at> gmail.com&gt;<br><span>To:</span> AKIN &yuml;ffffffffffd6ZTOPUZ &lt;akinoztopuz <at> yahoo.com&gt;; linux clustering &lt;linux-cluster <at> redhat.com&gt; <br><span>Sent:</span> Wednesday, May 30, 2012 11:00 AM<br><span>Subject:</span> Re: [Linux-cluster] help<br> </div> <br><div>Hello AKIN<br><br>Are you sure it's not a connection problem?<br><br><div class="yiv882708540gmail_quote">2012/5/30 AKIN &yuml;ffffffffffd6ZTOPUZ <span dir="ltr">&lt;<a href="mailto:akinoztopuz <at> yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:akinoztopuz <at> yahoo.com">akinoztopuz <at> yahoo.com</a>&gt;</span><br><blockquote class="yiv882708540gmail_quote">
<div><div>
<div><span>Hello&nbsp; Digimer</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>I am using qdisk with &lt;quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/&gt;</span></div>
<div><span>not heursitic.qdisk&nbsp;&nbsp; is suggested for avoidin split brain</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>in this configuration&nbsp;my problem is&nbsp;:&nbsp; node1 is master and continuosly node2 killed by node1</span></div>
<div><span>its connection is over iscsi.</span></div>
<div><span>&#305; th&#305;nk it is timing problem </span></div>
<div><span>doyou have any idea?</span></div>
<div>
<span></span>&nbsp;</div>
<div>
<span></span>&nbsp;</div>
<div><span>var/log/messages like that:</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>sapclsn2 clurgmgrd[8761]: &lt;notice&gt;
 Service service:sap is stopped <br>openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application&nbsp;<br><br> openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting).&nbsp;<br>
 fenced[6788]: cluster is down, exiting<br></span></div>
<div><br></div>  <div> <div>
 <div dir="ltr">  <div></div>  <span>From:</span> Digimer &lt;<a href="mailto:lists <at> alteeve.ca" rel="nofollow" target="_blank" ymailto="mailto:lists <at> alteeve.ca">lists <at> alteeve.ca</a>&gt;<br><span>To:</span> AKIN &yuml;ffffffffffd6ZTOPUZ &lt;<a href="mailto:akinoztopuz <at> yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:akinoztopuz <at> yahoo.com">akinoztopuz <at> yahoo.com</a>&gt;; linux clustering &lt;<a href="mailto:linux-cluster <at> redhat.com" rel="nofollow" target="_blank" ymailto="mailto:linux-cluster <at> redhat.com">linux-cluster <at> redhat.com</a>&gt;
 <br><span>Sent:</span> Tuesday, May 29, 2012 10:46 PM<br><span>Subject:</span> Re: [Linux-cluster] help<br> </div> <br>
On 05/29/2012 02:54 AM, AKIN &yuml;ffffffffffd6ZTOPUZ wrote:<br>&gt;&nbsp; &nbsp;  Hello<br>&gt;&nbsp; <br>&gt; I need configuration steps about 2 nodes&nbsp; rhel(5) cluster with quorum disk .<br>&gt;&nbsp; <br>&gt; my config&nbsp;  like that&nbsp; :<br>&gt;&nbsp; <br>
&gt; each node has 1 vote<br>&gt; quorum disk has 1 vote<br>&gt; cman expected vote is 3<br>&gt; quorum will be protected in 2 votes&nbsp; so when one node is down cluster<br>&gt; will be up<br>&gt;&nbsp; <br>&gt; whats other things should I care about it&nbsp; in cluster config? <br>
&gt;&nbsp; <br>&gt; thanks in advance<br><br>First off, I *strongly* recommend using RHEL6, not 5. There have been<br>many improvements, plus, EL6 will be supported longer.<br><br>What are you trying to do with your cluster? I suspect that a quorum<br>
disk is not necessary, though if you have a SAN anyway, I wouldn't argue<br>against using it. Unless you need the heuristics though, it's probably<br>not needed. You
 can safely build a 2-node cluster, you just need to make<br>sure your fence devices work (which is needed, regardless).<br><br>I have a tutorial that shows how to implement a cluster using cman,<br>clvmd and other components. It also discusses the cluster components<br>
from a high-level, which may help.<br><br><a href="https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial" rel="nofollow" target="_blank">https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial</a><span class="yiv882708540HOEnZb"><br><br>-- <br>Digimer<br>Papers and Projects: <a href="https://alteeve.com" rel="nofollow" target="_blank">https://alteeve.com</a><br><br><br></span>
</div> </div>  </div></div>
<br>--<br>
Linux-cluster mailing list<br><a href="mailto:Linux-cluster <at> redhat.com" rel="nofollow" target="_blank" ymailto="mailto:Linux-cluster <at> redhat.com">Linux-cluster <at> redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" rel="nofollow" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>
</div>
<br><br>
</div> </div>  </div></div>
Jose Blas Zornoza | 30 May 2012 11:01
Picon

Re: help

Hi

 

Is the cman process alive? ( service cman status)

 

try to get more information with admin cluster commands:

-          cman_tool nodes

-          cman_tool status

-          clustat

-          clustat –s sap

-         

 

Regards

 

De: linux-cluster-bounces <at> redhat.com [mailto:linux-cluster-bounces <at> redhat.com] En nombre de AKIN ÿffffffffffd6ZTOPUZ
Enviado el: miércoles, 30 de mayo de 2012 10:21
Para: emmanuel segura; linux clustering
Asunto: Re: [Linux-cluster] help

 

Hello Emmanuel

 

nodes network is below:

 

-two nodes interconnect via cross cable

-1 interface for iscsi (logical volumes)

-1 interface for  public network

 

ı checked again physicall cables and not seen any problem 

 

From: emmanuel segura <emi2fast <at> gmail.com>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Wednesday, May 30, 2012 11:00 AM
Subject: Re: [Linux-cluster] help

 

Hello AKIN

Are you sure it's not a connection problem?

2012/5/30 AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>

Hello  Digimer

 

I am using qdisk with <quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/>

not heursitic.qdisk   is suggested for avoidin split brain

 

in this configuration my problem is :  node1 is master and continuosly node2 killed by node1

its connection is over iscsi.

ı thınk it is timing problem

doyou have any idea?

 

 

var/log/messages like that:

 

sapclsn2 clurgmgrd[8761]: <notice> Service service:sap is stopped
openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application 

openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting). 
fenced[6788]: cluster is down, exiting

 

From: Digimer <lists <at> alteeve.ca>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Tuesday, May 29, 2012 10:46 PM
Subject: Re: [Linux-cluster] help


On 05/29/2012 02:54 AM, AKIN ÿffffffffffd6ZTOPUZ wrote:
>    Hello

> I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .

> my config  like that  :

> each node has 1 vote
> quorum disk has 1 vote
> cman expected vote is 3
> quorum will be protected in 2 votes  so when one node is down cluster
> will be up

> whats other things should I care about it  in cluster config?

> thanks in advance

First off, I *strongly* recommend using RHEL6, not 5. There have been
many improvements, plus, EL6 will be supported longer.

What are you trying to do with your cluster? I suspect that a quorum
disk is not necessary, though if you have a SAN anyway, I wouldn't argue
against using it. Unless you need the heuristics though, it's probably
not needed. You can safely build a 2-node cluster, you just need to make
sure your fence devices work (which is needed, regardless).

I have a tutorial that shows how to implement a cluster using cman,
clvmd and other components. It also discusses the cluster components
from a high-level, which may help.

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial


--
Digimer
Papers and Projects: https://alteeve.com


--
Linux-cluster mailing list
Linux-cluster <at> redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster




--
esta es mi vida e me la vivo hasta que dios quiera

 

<div><div class="WordSection1">
<p class="MsoNormal"><span>Hi<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is the cman process alive? ( service cman status)<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">try to get more information with admin cluster commands:<p></p></span></p>
<p class="MsoListParagraph"><span lang="EN-US"><span>-<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-US">cman_tool nodes<p></p></span></p>
<p class="MsoListParagraph"><span lang="EN-US"><span>-<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-US">cman_tool status<p></p></span></p>
<p class="MsoListParagraph"><span lang="EN-US"><span>-<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-US">clustat<p></p></span></p>
<p class="MsoListParagraph"><span lang="EN-US"><span>-<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-US">clustat &ndash;s sap<p></p></span></p>
<p class="MsoListParagraph"><span lang="EN-US"><span>-<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<div><div><p class="MsoNormal"><span>De:</span><span> linux-cluster-bounces <at> redhat.com [mailto:linux-cluster-bounces <at> redhat.com] En nombre de AKIN &yuml;ffffffffffd6ZTOPUZ<br>Enviado el: mi&eacute;rcoles, 30 de mayo de 2012 10:21<br>Para: emmanuel segura; linux clustering<br>Asunto: Re: [Linux-cluster] help<p></p></span></p></div></div>
<p class="MsoNormal"><p>&nbsp;</p></p>
<div>
<div><p class="MsoNormal"><span>Hello Emmanuel<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>nodes network is below:<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>-two nodes interconnect via cross cable<p></p></span></p></div>
<div><p class="MsoNormal"><span>-1 interface for iscsi (logical volumes)<p></p></span></p></div>
<div><p class="MsoNormal"><span>-1 interface for&nbsp;&nbsp;public network<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>&#305; checked again physicall cables&nbsp;and not seen any problem&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span><p>&nbsp;</p></span></p></div>
<div><div>
<div><p class="MsoNormal"><span>From:</span><span> emmanuel segura &lt;emi2fast <at> gmail.com&gt;<br>To: AKIN &yuml;ffffffffffd6ZTOPUZ &lt;akinoztopuz <at> yahoo.com&gt;; linux clustering &lt;linux-cluster <at> redhat.com&gt; <br>Sent: Wednesday, May 30, 2012 11:00 AM<br>Subject: Re: [Linux-cluster] help</span><span><p></p></span></p></div>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<div>
<p class="MsoNormal"><span>Hello AKIN<br><br>Are you sure it's not a connection problem?<p></p></span></p>
<div>
<p class="MsoNormal"><span>2012/5/30 AKIN &yuml;ffffffffffd6ZTOPUZ &lt;<a href="mailto:akinoztopuz <at> yahoo.com" target="_blank">akinoztopuz <at> yahoo.com</a>&gt;<p></p></span></p>
<div><div>
<div><p class="MsoNormal"><span>Hello&nbsp; Digimer<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>I am using qdisk with &lt;quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/&gt;<p></p></span></p></div>
<div><p class="MsoNormal"><span>not heursitic.qdisk&nbsp;&nbsp; is suggested for avoidin split brain<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>in this configuration&nbsp;my problem is&nbsp;:&nbsp; node1 is master and continuosly node2 killed by node1<p></p></span></p></div>
<div><p class="MsoNormal"><span>its connection is over iscsi.<p></p></span></p></div>
<div><p class="MsoNormal"><span>&#305; th&#305;nk it is timing problem <p></p></span></p></div>
<div><p class="MsoNormal"><span>doyou have any idea?<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>var/log/messages like that:<p></p></span></p></div>
<div><p class="MsoNormal"><span>&nbsp;<p></p></span></p></div>
<div><p class="MsoNormal"><span>sapclsn2 clurgmgrd[8761]: &lt;notice&gt; Service service:sap is stopped <br>openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application&nbsp;<br><br>openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting).&nbsp;<br>fenced[6788]: cluster is down, exiting<p></p></span></p></div>
<div><p class="MsoNormal"><span><p>&nbsp;</p></span></p></div>
<div><div>
<div><p class="MsoNormal"><span>From:</span><span> Digimer &lt;<a href="mailto:lists <at> alteeve.ca" target="_blank">lists <at> alteeve.ca</a>&gt;<br>To: AKIN &yuml;ffffffffffd6ZTOPUZ &lt;<a href="mailto:akinoztopuz <at> yahoo.com" target="_blank">akinoztopuz <at> yahoo.com</a>&gt;; linux clustering &lt;<a href="mailto:linux-cluster <at> redhat.com" target="_blank">linux-cluster <at> redhat.com</a>&gt; <br>Sent: Tuesday, May 29, 2012 10:46 PM<br>Subject: Re: [Linux-cluster] help</span><span><p></p></span></p></div>
<p class="MsoNormal"><span><br>On 05/29/2012 02:54 AM, AKIN &yuml;ffffffffffd6ZTOPUZ wrote:<br>&gt;&nbsp; &nbsp; Hello<br>&gt;&nbsp; <br>&gt; I need configuration steps about 2 nodes&nbsp; rhel(5) cluster with quorum disk .<br>&gt;&nbsp; <br>&gt; my config&nbsp; like that&nbsp; :<br>&gt;&nbsp; <br>&gt; each node has 1 vote<br>&gt; quorum disk has 1 vote<br>&gt; cman expected vote is 3<br>&gt; quorum will be protected in 2 votes&nbsp; so when one node is down cluster<br>&gt; will be up<br>&gt;&nbsp; <br>&gt; whats other things should I care about it&nbsp; in cluster config? <br>&gt;&nbsp; <br>&gt; thanks in advance<br><br>First off, I *strongly* recommend using RHEL6, not 5. There have been<br>many improvements, plus, EL6 will be supported longer.<br><br>What are you trying to do with your cluster? I suspect that a quorum<br>disk is not necessary, though if you have a SAN anyway, I wouldn't argue<br>against using it. Unless you need the heuristics though, it's probably<br>not needed. You can safely build a 2-node cluster, you just need to make<br>sure your fence devices work (which is needed, regardless).<br><br>I have a tutorial that shows how to implement a cluster using cman,<br>clvmd and other components. It also discusses the cluster components<br>from a high-level, which may help.<br><br><a href="https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial" target="_blank">https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial</a></span><span><br><br><span class="yiv882708540hoenzb">-- </span><br><span class="yiv882708540hoenzb">Digimer</span><br><span class="yiv882708540hoenzb">Papers and Projects: <a href="https://alteeve.com" target="_blank">https://alteeve.com</a></span><br><br></span><span><p></p></span></p>
</div></div>
</div></div>
<p class="MsoNormal"><span><br>--<br>Linux-cluster mailing list<br><a href="mailto:Linux-cluster <at> redhat.com" target="_blank">Linux-cluster <at> 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><p></p></span></p>
</div>
<p class="MsoNormal"><span><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<p></p></span></p>
</div>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
</div></div>
</div>
</div></div>
emmanuel segura | 30 May 2012 10:28
Picon

Re: help

Hello AKIN

can you show me your full cluster config and your cluster log?

If you think it's a problem with quorum disk, you can monitor the operation speed with this command

mkqdisk -d -L

2012/5/30 AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>
Hello  Digimer
 
I am using qdisk with <quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/>
not heursitic.qdisk   is suggested for avoidin split brain
 
in this configuration my problem is :  node1 is master and continuosly node2 killed by node1
its connection is over iscsi.
ı thınk it is timing problem
doyou have any idea?
 
 
var/log/messages like that:
 
sapclsn2 clurgmgrd[8761]: <notice> Service service:sap is stopped
openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application 

openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting). 
fenced[6788]: cluster is down, exiting

From: Digimer <lists <at> alteeve.ca>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Tuesday, May 29, 2012 10:46 PM
Subject: Re: [Linux-cluster] help

On 05/29/2012 02:54 AM, AKIN ÿffffffffffd6ZTOPUZ wrote:
>    Hello

> I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .

> my config  like that  :

> each node has 1 vote
> quorum disk has 1 vote
> cman expected vote is 3
> quorum will be protected in 2 votes  so when one node is down cluster
> will be up

> whats other things should I care about it  in cluster config?

> thanks in advance

First off, I *strongly* recommend using RHEL6, not 5. There have been
many improvements, plus, EL6 will be supported longer.

What are you trying to do with your cluster? I suspect that a quorum
disk is not necessary, though if you have a SAN anyway, I wouldn't argue
against using it. Unless you need the heuristics though, it's probably
not needed. You can safely build a 2-node cluster, you just need to make
sure your fence devices work (which is needed, regardless).

I have a tutorial that shows how to implement a cluster using cman,
clvmd and other components. It also discusses the cluster components
from a high-level, which may help.

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

--
Digimer
Papers and Projects: https://alteeve.com



--
Linux-cluster mailing list
Linux-cluster <at> redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster



--
esta es mi vida e me la vivo hasta que dios quiera
<div>
<p>Hello AKIN<br><br>can you show me your full cluster config and your cluster log?<br><br>If you think it's a problem with quorum disk, you can monitor the operation speed with this command<br><br>mkqdisk -d -L<br><br></p>
<div class="gmail_quote">
2012/5/30 AKIN &yuml;ffffffffffd6ZTOPUZ <span dir="ltr">&lt;<a href="mailto:akinoztopuz <at> yahoo.com" target="_blank">akinoztopuz <at> yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote">
<div><div>
<div><span>Hello&nbsp; Digimer</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>I am using qdisk with &lt;quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/&gt;</span></div>
<div><span>not heursitic.qdisk&nbsp;&nbsp; is suggested for avoidin split brain</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>in this configuration&nbsp;my problem is&nbsp;:&nbsp; node1 is master and continuosly node2 killed by node1</span></div>
<div><span>its connection is over iscsi.</span></div>
<div><span>&#305; th&#305;nk it is timing problem </span></div>
<div><span>doyou have any idea?</span></div>
<div>
<span></span>&nbsp;</div>
<div>
<span></span>&nbsp;</div>
<div><span>var/log/messages like that:</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>sapclsn2 clurgmgrd[8761]: &lt;notice&gt;
 Service service:sap is stopped <br>openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application&nbsp;<br><br> openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting).&nbsp;<br>
 fenced[6788]: cluster is down, exiting<br></span></div>
<div><br></div>  <div> <div>
 <div dir="ltr">  <div readonly></div>  <span>From:</span> Digimer &lt;<a href="mailto:lists <at> alteeve.ca" target="_blank">lists <at> alteeve.ca</a>&gt;<br><span>To:</span> AKIN &yuml;ffffffffffd6ZTOPUZ &lt;<a href="mailto:akinoztopuz <at> yahoo.com" target="_blank">akinoztopuz <at> yahoo.com</a>&gt;; linux clustering &lt;<a href="mailto:linux-cluster <at> redhat.com" target="_blank">linux-cluster <at> redhat.com</a>&gt;
 <br><span>Sent:</span> Tuesday, May 29, 2012 10:46 PM<br><span>Subject:</span> Re: [Linux-cluster] help<br> </div> <br>
On 05/29/2012 02:54 AM, AKIN &yuml;ffffffffffd6ZTOPUZ wrote:<br>&gt;&nbsp; &nbsp;  Hello<br>&gt;&nbsp; <br>&gt; I need configuration steps about 2 nodes&nbsp; rhel(5) cluster with quorum disk .<br>&gt;&nbsp; <br>&gt; my config&nbsp;  like that&nbsp; :<br>&gt;&nbsp; <br>
&gt; each node has 1 vote<br>&gt; quorum disk has 1 vote<br>&gt; cman expected vote is 3<br>&gt; quorum will be protected in 2 votes&nbsp; so when one node is down cluster<br>&gt; will be up<br>&gt;&nbsp; <br>&gt; whats other things should I care about it&nbsp; in cluster config? <br>
&gt;&nbsp; <br>&gt; thanks in advance<br><br>First off, I *strongly* recommend using RHEL6, not 5. There have been<br>many improvements, plus, EL6 will be supported longer.<br><br>What are you trying to do with your cluster? I suspect that a quorum<br>
disk is not necessary, though if you have a SAN anyway, I wouldn't argue<br>against using it. Unless you need the heuristics though, it's probably<br>not needed. You
 can safely build a 2-node cluster, you just need to make<br>sure your fence devices work (which is needed, regardless).<br><br>I have a tutorial that shows how to implement a cluster using cman,<br>clvmd and other components. It also discusses the cluster components<br>
from a high-level, which may help.<br><br><a href="https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial" target="_blank">https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial</a><span class="HOEnZb"><br><br>-- <br>Digimer<br>Papers and Projects: <a href="https://alteeve.com" target="_blank">https://alteeve.com</a><br><br><br></span>
</div> </div>  </div></div>
<br>--<br>
Linux-cluster mailing list<br><a href="mailto:Linux-cluster <at> redhat.com">Linux-cluster <at> 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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>
</div>
AKIN ÿffffffffffd6ZTOPUZ | 30 May 2012 13:07
Picon
Favicon

Re: help

Hello Emmanuel
 
config file here:
I copied only some parts of  it
 
<?xml version="1.0"?>
<cluster alias="testsapcluster" config_version="169" name="testsapcluster">
        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="sapclsn1.sedas.com" nodeid="1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="fence_node1"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="sapclsn2.sedas.com" nodeid="2" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="fence_node2"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman expected_votes="3" quorum_dev_poll="70000" two_node="0"/>
        <totem token="70000"/>
                      <quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/>
</cluster>

From: emmanuel segura <emi2fast <at> gmail.com>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Wednesday, May 30, 2012 11:28 AM
Subject: Re: [Linux-cluster] help

Hello AKIN

can you show me your full cluster config and your cluster log?

If you think it's a problem with quorum disk, you can monitor the operation speed with this command

mkqdisk -d -L

2012/5/30 AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>
Hello  Digimer
 
I am using qdisk with <quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/>
not heursitic.qdisk   is suggested for avoidin split brain
 
in this configuration my problem is :  node1 is master and continuosly node2 killed by node1
its connection is over iscsi.
ı thınk it is timing problem
doyou have any idea?
 
 
var/log/messages like that:
 
sapclsn2 clurgmgrd[8761]: <notice> Service service:sap is stopped
openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application 

openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting). 
fenced[6788]: cluster is down, exiting

From: Digimer <lists <at> alteeve.ca>
To: AKIN ÿffffffffffd6ZTOPUZ <akinoztopuz <at> yahoo.com>; linux clustering <linux-cluster <at> redhat.com>
Sent: Tuesday, May 29, 2012 10:46 PM
Subject: Re: [Linux-cluster] help

On 05/29/2012 02:54 AM, AKIN ÿffffffffffd6ZTOPUZ wrote:
>    Hello

> I need configuration steps about 2 nodes  rhel(5) cluster with quorum disk .

> my config  like that  :

> each node has 1 vote
> quorum disk has 1 vote
> cman expected vote is 3
> quorum will be protected in 2 votes  so when one node is down cluster
> will be up

> whats other things should I care about it  in cluster config?

> thanks in advance

First off, I *strongly* recommend using RHEL6, not 5. There have been
many improvements, plus, EL6 will be supported longer.

What are you trying to do with your cluster? I suspect that a quorum
disk is not necessary, though if you have a SAN anyway, I wouldn't argue
against using it. Unless you need the heuristics though, it's probably
not needed. You can safely build a 2-node cluster, you just need to make
sure your fence devices work (which is needed, regardless).

I have a tutorial that shows how to implement a cluster using cman,
clvmd and other components. It also discusses the cluster components
from a high-level, which may help.

https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

--
Digimer
Papers and Projects: https://alteeve.com



--
Linux-cluster mailing list
Linux-cluster <at> redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster



--
esta es mi vida e me la vivo hasta que dios quiera


<div><div>
<div><span>Hello Emmanuel</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>config file here:</span></div>
<div><span>I copied only some parts of &nbsp;it</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>&lt;?xml version="1.0"?&gt;<br>&lt;cluster alias="testsapcluster" config_version="169" name="testsapcluster"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;clusternodes&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;clusternode name="sapclsn1.sedas.com" nodeid="1" votes="1"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 &lt;fence&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;method name="1"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;device name="fence_node1"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/method&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fence&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 &lt;/clusternode&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;clusternode name="sapclsn2.sedas.com" nodeid="2" votes="1"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;fence&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;method name="1"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;device
 name="fence_node2"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/method&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fence&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/clusternode&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/clusternodes&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;cman expected_votes="3" quorum_dev_poll="70000" two_node="0"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;totem token="70000"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1"
 master_wins="1"/&gt;<br>&lt;/cluster&gt;</span></div>
<div><br></div>  <div> <div> <div dir="ltr">  <div class="hr" contenteditable="false" readonly></div>  <span>From:</span> emmanuel segura &lt;emi2fast <at> gmail.com&gt;<br><span>To:</span> AKIN &yuml;ffffffffffd6ZTOPUZ &lt;akinoztopuz <at> yahoo.com&gt;; linux clustering &lt;linux-cluster <at> redhat.com&gt; <br><span>Sent:</span> Wednesday, May 30, 2012 11:28 AM<br><span>Subject:</span> Re: [Linux-cluster] help<br> </div> <br><div>Hello AKIN<br><br>can you show me your full cluster config and your cluster log?<br><br>If you think it's a problem with quorum disk, you can monitor the operation speed with this command<br><br>mkqdisk -d -L<br><br><div class="yiv257998751gmail_quote">
2012/5/30 AKIN &yuml;ffffffffffd6ZTOPUZ <span dir="ltr">&lt;<a href="mailto:akinoztopuz <at> yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:akinoztopuz <at> yahoo.com">akinoztopuz <at> yahoo.com</a>&gt;</span><br><blockquote class="yiv257998751gmail_quote">
<div><div>
<div><span>Hello&nbsp; Digimer</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>I am using qdisk with &lt;quorumd interval="4" label="quorum" min_score="1" tko="15" votes="1" master_wins="1"/&gt;</span></div>
<div><span>not heursitic.qdisk&nbsp;&nbsp; is suggested for avoidin split brain</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>in this configuration&nbsp;my problem is&nbsp;:&nbsp; node1 is master and continuosly node2 killed by node1</span></div>
<div><span>its connection is over iscsi.</span></div>
<div><span>&#305; th&#305;nk it is timing problem </span></div>
<div><span>doyou have any idea?</span></div>
<div>
<span></span>&nbsp;</div>
<div>
<span></span>&nbsp;</div>
<div><span>var/log/messages like that:</span></div>
<div>
<span></span>&nbsp;</div>
<div><span>sapclsn2 clurgmgrd[8761]: &lt;notice&gt;
 Service service:sap is stopped <br>openais[6755]: [CMAN ] cman killed by node 1 because we were killed by cman_tool or other application&nbsp;<br><br> openais[6755]: [SERV ] AIS Executive exiting (reason: CMAN kill requested, exiting).&nbsp;<br>
 fenced[6788]: cluster is down, exiting<br></span></div>
<div><br></div>  <div> <div>
 <div dir="ltr">  <div></div>  <span>From:</span> Digimer &lt;<a href="mailto:lists <at> alteeve.ca" rel="nofollow" target="_blank" ymailto="mailto:lists <at> alteeve.ca">lists <at> alteeve.ca</a>&gt;<br><span>To:</span> AKIN &yuml;ffffffffffd6ZTOPUZ &lt;<a href="mailto:akinoztopuz <at> yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:akinoztopuz <at> yahoo.com">akinoztopuz <at> yahoo.com</a>&gt;; linux clustering &lt;<a href="mailto:linux-cluster <at> redhat.com" rel="nofollow" target="_blank" ymailto="mailto:linux-cluster <at> redhat.com">linux-cluster <at> redhat.com</a>&gt;
 <br><span>Sent:</span> Tuesday, May 29, 2012 10:46 PM<br><span>Subject:</span> Re: [Linux-cluster] help<br> </div> <br>
On 05/29/2012 02:54 AM, AKIN &yuml;ffffffffffd6ZTOPUZ wrote:<br>&gt;&nbsp; &nbsp;  Hello<br>&gt;&nbsp; <br>&gt; I need configuration steps about 2 nodes&nbsp; rhel(5) cluster with quorum disk .<br>&gt;&nbsp; <br>&gt; my config&nbsp;  like that&nbsp; :<br>&gt;&nbsp; <br>
&gt; each node has 1 vote<br>&gt; quorum disk has 1 vote<br>&gt; cman expected vote is 3<br>&gt; quorum will be protected in 2 votes&nbsp; so when one node is down cluster<br>&gt; will be up<br>&gt;&nbsp; <br>&gt; whats other things should I care about it&nbsp; in cluster config? <br>
&gt;&nbsp; <br>&gt; thanks in advance<br><br>First off, I *strongly* recommend using RHEL6, not 5. There have been<br>many improvements, plus, EL6 will be supported longer.<br><br>What are you trying to do with your cluster? I suspect that a quorum<br>
disk is not necessary, though if you have a SAN anyway, I wouldn't argue<br>against using it. Unless you need the heuristics though, it's probably<br>not needed. You
 can safely build a 2-node cluster, you just need to make<br>sure your fence devices work (which is needed, regardless).<br><br>I have a tutorial that shows how to implement a cluster using cman,<br>clvmd and other components. It also discusses the cluster components<br>
from a high-level, which may help.<br><br><a href="https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial" rel="nofollow" target="_blank">https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial</a><span class="yiv257998751HOEnZb"><br><br>-- <br>Digimer<br>Papers and Projects: <a href="https://alteeve.com" rel="nofollow" target="_blank">https://alteeve.com</a><br><br><br></span>
</div> </div>  </div></div>
<br>--<br>
Linux-cluster mailing list<br><a href="mailto:Linux-cluster <at> redhat.com" rel="nofollow" target="_blank" ymailto="mailto:Linux-cluster <at> redhat.com">Linux-cluster <at> redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" rel="nofollow" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>
</div>
<br><br>
</div> </div>  </div></div>

Gmane