[Linux-HA] two nodes insolate
Andrew Beekhof
andrew at beekhof.net
Wed Jul 7 00:40:17 MDT 2010
On Tue, Jul 6, 2010 at 1:01 PM, Trujillo Carmona, Antonio
<antonio.trujillo.sspa at juntadeandalucia.es> wrote:
>
> 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 ]
Is that normal? Have the two nodes ever seen each other?
Make sure that works before adding resources.
>
> 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
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list