[Pacemaker] Pacameker does not Failover

Andrew Beekhof andrew at beekhof.net
Sat Mar 27 17:05:45 EDT 2010


On Sat, Mar 27, 2010 at 8:36 PM, Stefan Kelemen <Stefan.Kelemen at gmx.de> wrote:
> Hello,
> i have here testsetup with 2 Servers.
>
> Pacemaker does no Failover. when one side is down the takes not teh services
> over.

Please attach the result of 'cibadmin -Ql' when the cluster is in this state.

> After the downed Server comes up again there is takes all services. Both Nodes
> are aktiv.
> Pacemaker and heartbeat are the newest stable Versions.
> Migration works fine. Testsystem is a Debian Lenny.
>
>
> --------------
>
> Config
>
>
> crm(live)# configure
> crm(live)configure# show
> node $id="3e20966a-ed64-4972-8f5a-88be0977f759" server1 \
>        attributes standby="off"
> node $id="5262f929-1082-4a85-aa05-7bd1992f15be" server2 \
>        attributes standby="off"
> primitive pri_Cluster_IP ocf:heartbeat:IPaddr2 \
>        params ip="192.168.1.253" cidr_netmask="24" nic="eth1"
> primitive pri_apache_Dienst ocf:heartbeat:apache \
>        op monitor interval="15s" \
>        params configfile="/etc/apache2/apache2.conf"
> httpd="/usr/sbin/apache2" port="80"
> primitive pri_drbd_Dienst ocf:linbit:drbd \
>        params drbd_resource="t3" \
>        op monitor interval="15s"
> primitive pri_drbd_Mount_t3 ocf:heartbeat:Filesystem \
>        params device="/dev/drbd0" directory="/mnt/drbd_daten" fstype="ext3"
> options="noatime"
> group group_typo3 pri_drbd_Mount_t3 pri_Cluster_IP pri_apache_Dienst \
>        meta target-role="started"
> ms ms_drbd_state pri_drbd_Dienst \
>        meta notify="true"
> location cli-standby-group_typo3 group_typo3 \
>        rule $id="cli-standby-rule-group_typo3" -inf: #uname eq server2
> colocation apache_on_drbd inf: group_typo3 ms_drbd_state:Master
> order ord_apacheafter_drbd inf: ms_drbd_state:promote group_typo3:start
> property $id="cib-bootstrap-options" \
>        dc-version="1.0.7-54d7869bfe3691eb723b1d47810e5585d8246b58" \
>        cluster-infrastructure="Heartbeat" \
>        stonith-enabled="false" \
>        no-quorum-policy="ignore" \
>        expected-quorum-votes="2" \
>        last-lrm-refresh="1269608049" \
>        node-health-strategy="custom" \
>        default-resource-stickiness="1000" \
>        cluster-delay="10s"
>
>
> ---------------------------------
>
> Best Regards
> Stefan Kelemen
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list