<br><font size=2 face="sans-serif">Hi again,</font>
<br>
<br><font size=2 face="sans-serif"> I
have made some tests wtihout bonding, and it appears that all works perfect.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> Jorge<br>
</font>
<table align=left>
<tr>
<td valign=top>
<td></table>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">De:</font>
<td><font size=1 face="sans-serif">Andrew Beekhof <andrew@beekhof.net></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Para:</font>
<td><font size=1 face="sans-serif">The Pacemaker cluster resource manager
<pacemaker@oss.clusterlabs.org></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Fecha:</font>
<td><font size=1 face="sans-serif">02/06/2010 08:52</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Asunto:</font>
<td><font size=1 face="sans-serif">Re: [Pacemaker] Both nodes become master</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>On Tue, Jun 1, 2010 at 6:22 PM, Jorge Santos Fonseca<br>
<jorge.santos@fedetec.es> wrote:<br>
><br>
><br>
> Hi all!<br>
><br>
> I'm installing a system with heartbeat 3.0.3 and Pacemaker
1.0.8 with<br>
> the configuration showed at the end of the message. Network is bonded
(NIC<br>
> teaming)<br>
><br>
> If I unplug nic cables from the master server the other become inactive<br>
> (slave) that it's ok.<br>
> Now, I plug the machine again to the network and some times both nodes<br>
> become Active/active and only if I restart heartbeat synchronizes
again.<br>
<br>
Does the same thing happen without bonding?<br>
Could be a CCM bug if so.<br>
<br>
><br>
> Thanks in advance<br>
><br>
> Jorge<br>
><br>
><br>
> NODE1:<br>
><br>
> ============<br>
> Last updated: Tue Jun 1 18:23:02 2010<br>
> Stack: Heartbeat<br>
> Current DC: sipserver1 (336b9a65-615b-4ae0-9c54-de46fafc478a) - partition<br>
> with quorum<br>
> Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd<br>
> 2 Nodes configured, 2 expected votes<br>
> 5 Resources configured.<br>
> ============<br>
><br>
> Online: [ sipserver1 ]<br>
> OFFLINE: [ sipserver2 ]<br>
><br>
> Clone Set: clonePing<br>
> Started: [ sipserver1 ]<br>
> Stopped: [ resPing:1 ]<br>
> asterisk (ocf::heartbeat:asterisk):
Started sipserver1<br>
> virtual_IPaddr (ocf::heartbeat:IPaddr2):
Started sipserver1<br>
> Clone Set: cloneOpenser<br>
> Started: [ sipserver1 ]<br>
> Stopped: [ openser:1 ]<br>
> Clone Set: cloneMysql<br>
> Started: [ sipserver1 ]<br>
> Stopped: [ mysql:1 ]<br>
><br>
> NODE2:<br>
><br>
> crm_mon -1 shows :<br>
><br>
> ============<br>
> Last updated: Tue Jun 1 18:19:40 2010<br>
> Stack: Heartbeat<br>
> Current DC: sipserver2 (b694d28c-41e6-4fdd-bfc1-ff097b5a9349) - partition<br>
> with quorum<br>
> Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd<br>
> 2 Nodes configured, 2 expected votes<br>
> 5 Resources configured.<br>
> ============<br>
><br>
> Online: [ sipserver2 ]<br>
> OFFLINE: [ sipserver1 ]<br>
><br>
> Clone Set: clonePing<br>
> Started: [ sipserver2 ]<br>
> Stopped: [ resPing:0 ]<br>
> asterisk (ocf::heartbeat:asterisk):
Started sipserver2<br>
> virtual_IPaddr (ocf::heartbeat:IPaddr2):
Started sipserver2<br>
> Clone Set: cloneOpenser<br>
> Started: [ sipserver2 ]<br>
> Stopped: [ openser:0 ]<br>
> Clone Set: cloneMysql<br>
> Started: [ sipserver2 ]<br>
> Stopped: [ mysql:0 ]<br>
><br>
><br>
><br>
> ========================= CONFIG ================================<br>
><br>
> node $id="336b9a65-615b-4ae0-9c54-de46fafc478a" sipserver1
\<br>
> attributes standby="off"<br>
> node $id="b694d28c-41e6-4fdd-bfc1-ff097b5a9349" sipserver2
\<br>
> attributes standby="off"<br>
> primitive asterisk ocf:heartbeat:asterisk \<br>
> op monitor interval="10s" timeout="20s"
depth="0" \<br>
> meta target-role="Started"<br>
> primitive openser ocf:heartbeat:openser \<br>
> op monitor interval="10s" timeout="20s"
depth="0"<br>
> primitive resPing ocf:pacemaker:ping \<br>
> params host_list="192.168.210.156"
multiplier="10" dampen="5s" \<br>
> op monitor interval="10" timeout="10"<br>
> primitive virtual_IPaddr ocf:heartbeat:IPaddr2 \<br>
> params ip="192.168.210.248"
nic="bond0" \<br>
> op monitor interval="5s" timeout="20s"
depth="0" \<br>
> meta target-role="Started"<br>
> clone cloneOpenser openser<br>
> clone clonePing resPing \<br>
> meta globally-unique="false"<br>
> location IPrunWhenConn virtual_IPaddr \<br>
> rule $id="IPrunWhenConn-rule"
-inf: not_defined pingd or pingd lte 0<br>
> location openserRunWhenConn openser \<br>
> rule $id="openserRunWhenConn-rule"
-inf: not_defined pingd or pingd<br>
> lte 0<br>
> location runWhenConn asterisk \<br>
> rule $id="runWhenConn-rule"
-inf: not_defined pingd or pingd lte 0<br>
> order asterisk_after_ip inf: virtual_IPaddr asterisk<br>
> property $id="cib-bootstrap-options" \<br>
> dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd"
\<br>
> cluster-infrastructure="Heartbeat"
\<br>
> is-managed-default="true" \<br>
> stonith-enabled="FALSE" \<br>
> no-quorum-policy="ignore" \<br>
> expected-quorum-votes="2"<br>
> rsc_defaults $id="rsc-options" \<br>
> resource-stickiness="INFINITY"<br>
> ADVERTENCIA<br>
><br>
> Este mensaje y/o sus anexos, pueden contener información personal
y<br>
> confidencial cuyo uso, reproducción o distribución no autorizados
están<br>
> legalmente prohibidos. Por lo tanto, si Vd. no fuera su destinatario
y,<br>
> erróneamente, lo hubiera recibido, le rogamos que informe al remitente
y lo<br>
> borre de inmediato.<br>
><br>
> En cumplimiento de la Ley Orgánica 15/1999, de Protección de Datos
de<br>
> Carácter Personal le informamos de que su dirección de correo electrónico,<br>
> así como sus datos personales y de empresa pasarán a formar parte
de nuestro<br>
> fichero de Gestión, y serán tratados con la única finalidad de mantenimiento<br>
> de la relación adquirida con usted. Los datos personales que existen
en<br>
> nuestro poder están protegidos por nuestra Política de Seguridad,
y no serán<br>
> compartidos con ninguna otra empresa. Usted puede ejercitar los derechos
de<br>
> acceso, rectificación, cancelación y oposición dirigiéndose por escrito
a la<br>
> dirección arriba indicada.<br>
><br>
> This e-mail and its attachments may include confidential personal<br>
> information which may be protected by any legal rules and cannot be
used,<br>
> copied, distributed or disclosed to any person without authorisation.
If you<br>
> are not the intended recipient and have received this e-mail by mistake,<br>
> please advise the sender and erase it.<br>
><br>
> In compliance with the Spanish Organic Act 15/1999 on Personal Data<br>
> Protection, we hereby inform you that your email address, as well
as your<br>
> personal and business information, will be included in our Management
files<br>
> and used solely for purposes corresponding to our commercial relationship.<br>
> All personal data in our possession is protected by our Data Safety
Policy<br>
> and thus shall not be released to any other third party whatsoever.
You may<br>
> exercise your right to access, rectify, cancel and contest by writing
to the<br>
> address provided above.<br>
> _______________________________________________<br>
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>
> </font></tt><a href=http://oss.clusterlabs.org/mailman/listinfo/pacemaker><tt><font size=2>http://oss.clusterlabs.org/mailman/listinfo/pacemaker</font></tt></a><tt><font size=2><br>
><br>
> Project Home: </font></tt><a href=http://www.clusterlabs.org/><tt><font size=2>http://www.clusterlabs.org</font></tt></a><tt><font size=2><br>
> Getting started: </font></tt><a href=http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf><tt><font size=2>http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</font></tt></a><tt><font size=2><br>
> Bugs:<br>
> </font></tt><a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker"><tt><font size=2>http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</font></tt></a><tt><font size=2><br>
><br>
><br>
<br>
_______________________________________________<br>
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org<br>
</font></tt><a href=http://oss.clusterlabs.org/mailman/listinfo/pacemaker><tt><font size=2>http://oss.clusterlabs.org/mailman/listinfo/pacemaker</font></tt></a><tt><font size=2><br>
<br>
Project Home: </font></tt><a href=http://www.clusterlabs.org/><tt><font size=2>http://www.clusterlabs.org</font></tt></a><tt><font size=2><br>
Getting started: </font></tt><a href=http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf><tt><font size=2>http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</font></tt></a><tt><font size=2><br>
Bugs: </font></tt><a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker"><tt><font size=2>http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br><font size=1 color=#008000 face="sans-serif"><br>
ADVERTENCIA </font><font size=3 face="sans-serif"><br>
</font><font size=1 color=#008000 face="sans-serif"><br>
Este mensaje y/o sus anexos, pueden contener información personal y confidencial
cuyo uso, reproducción o distribución no autorizados están legalmente prohibidos.
Por lo tanto, si Vd. no fuera su destinatario y, erróneamente, lo hubiera
recibido, le rogamos que informe al remitente y lo borre de inmediato.<br>
<br>
En cumplimiento de la Ley Orgánica 15/1999, de Protección de Datos de Carácter
Personal le informamos de que su dirección de correo electrónico, así como
sus datos personales y de empresa pasarán a formar parte de nuestro fichero
de Gestión, y serán tratados con la única finalidad de mantenimiento de
la relación adquirida con usted. Los datos personales que existen en nuestro
poder están protegidos por nuestra Política de Seguridad, y no serán compartidos
con ninguna otra empresa. Usted puede ejercitar los derechos de acceso,
rectificación, cancelación y oposición dirigiéndose por escrito a la dirección
arriba indicada.<br>
<br>
This e-mail and its attachments may include confidential personal information
which may be protected by any legal rules and cannot be used, copied, distributed
or disclosed to any person without authorisation. If you are not the intended
recipient and have received this e-mail by mistake, please advise the sender
and erase it.<br>
<br>
In compliance with the Spanish Organic Act 15/1999 on Personal Data Protection,
we hereby inform you that your email address, as well as your personal
and business information, will be included in our Management files and
used solely for purposes corresponding to our commercial relationship.
All personal data in our possession is protected by our Data Safety Policy
and thus shall not be released to any other third party whatsoever. You
may exercise your right to access, rectify, cancel and contest by writing
to the address provided above. </font>