El mar, 06-07-2010 a las 14:26 +0200, Dr. Michael Schwartzkopff
escribió:
> Am Dienstag, den 06.07.2010, 13:01 +0200 schrieb Trujillo Carmona,
> Antonio:
> > I'm try to setup a 2 nodes cluster for HA, after configure it I began to
> > test it but fail.
> > I configured a ping node and it got offline always.
> > I try to configure a ping resource and neither it work.
> > always I got:
> > --------------------------------------------------
> > crm(live)# status
> > ============
> > Last updated: Tue Jul 6 12:48:30 2010
> > Stack: openais
> > Current DC: balanceador-2 - partition WITHOUT quorum
> > Version: 1.0.8-f2ca9dd92b1d+ sid tip
> > 2 Nodes configured, 2 expected votes
> > 3 Resources configured.
> > ============
> >
> > Online: [ balanceador-2 ]
> > OFFLINE: [ balanceador-1 ]
> >
> > control-aislamiento (ocf::pacemaker:ping): Started balanceador-2
> > crm(live)#
> > --------------------------------------------------
> > My configuration is:
> >
> > crm(live)# configure
> > crm(live)configure# show
> > node $id="10.104.24.204" hvn21:ping \
> > attributes standby="false"
> > node balanceador-1
> > node balanceador-2
> > primitive control-aislamiento ocf:pacemaker:ping \
> > meta target-role="Started" \
> > operations $id="control-aislamiento-operations" \
> > op monitor interval="10" timeout="60
> > " \
> > params host_list="hvn21 balanceador-1 balanceador-2
> > "
> > primitive control-haproxy lsb:haproxy \
> > meta target-role="Started" is-managed="
> > true" \
> > operations $id="control-haproxy-operations" \
> > op monitor interval="15" timeout="15
> > " start-delay="15"
> > primitive control-ip ocf:heartbeat:IPaddr2 \
> > meta target-role="started" \
> > operations $id="control-ip-operations" \
> > op monitor interval="10s" timeout="2
> > 0s" \
> > params ip="10.104.16.234" lvs_support="
> > 31mtrue" unique_clone_address="true"
> > location ip-en-balanceador-1 control-ip inf: bal
> > anceador-1
> > colocation weblogic inf: control-ip control-
> > haproxy
> > order haproxy-primero : control-haproxy cont
> > rol-ip
> > property $id="cib-bootstrap-options" \
> > dc-version="1.0.8-f2ca9dd92b1d+ sid tip" \
> > cluster-infrastructure="openais" \
> > stonith-enabled="false" \
> > last-lrm-refresh="1278331717" \
> > expected-quorum-votes="2" \
> > no-quorum-policy="suicide"
> > crm(live)configure#
> >
> >
> > Thank for your time
> >
> > --
> > Por favor, NO utilice formatos de archivo propietarios para el
> > intercambio de documentos, como DOC y XLS, sino HTML, RTF, TXT,
> > CSV o cualquier otro que no obligue a utilizar un programa de un
> > fabricante concreto para tratar la información contenida en él.
> > SALUD.
> >
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
> You need no-quorum-policy="ignore" in a two node cluster.
>
this is what is missing
Very munch thank
--
Por favor, NO utilice formatos de archivo propietarios para el
intercambio de documentos, como DOC y XLS, sino HTML, RTF, TXT,
CSV o cualquier otro que no obligue a utilizar un programa de un
fabricante concreto para tratar la información contenida en él.
SALUD.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems