[Pacemaker] problem when i reboot a node

hj lee kerdosa at gmail.com
Thu Aug 20 13:58:41 EDT 2009


Is the rebooted node host2? Then it makes sense because location score is
INFINITE in host2.

hj

On Thu, Aug 20, 2009 at 10:14 AM, Gerry kernan
<gerry.kernan at infinityit.ie>wrote:

>  Hi
>
>
>
> I have a 2 node cluster using openais & pacemaker,
>
>
>
> If I reboot the standby node when the node comes back up all resources
> migrate automatically to that node from the node they where running on. Is
> this normal behavior or how do I stop this happening.
>
>
>
> [root at host1 ~]# crm configure show
>
> node host1.localdomain
>
> node host2.localdomain \
>
>         attributes standby="off"
>
> primitive res_drbd_credit heartbeat:drbddisk \
>
>         operations $id="res_drbd_credit-operations" \
>
>         op monitor interval="59" role="Master" timeout="30"
> start-delay="15" \
>
>         op monitor interval="60" role="Slave" timeout="30" start-delay="15"
> \
>
>         params 1="credit" \
>
>         meta $id="res_drbd_credit-meta_attributes"
>
> primitive res_filesystem_credit ocf:heartbeat:Filesystem \
>
>         meta target-role="started" \
>
>         operations $id="res_filesystem_credit-operations" \
>
>         op monitor interval="20" timeout="40" start-delay="10" \
>
>         params device="/dev/drbd0" directory="/credit" fstype="ext3"
>
> primitive res_icobol_credit lsb:icobol \
>
>         meta is-managed="true" \
>
>         operations $id="res_icobol_credit-operations" \
>
>         op monitor interval="15" timeout="15" start-delay="15"
>
> primitive res_ip_credit ocf:heartbeat:IPaddr2 \
>
>         meta $id="res_ip_credit-meta_attributes" \
>
>         operations $id="res_ip_credit-operations" \
>
>         op monitor interval="10s" timeout="20s" start-delay="5s" \
>
>         params ip="192.168.200.1" cidr_netmask="255.255.255.0"
>
> primitive res_pingd ocf:pacemaker:pingd \
>
>         operations $id="res_pingd-operations" \
>
>         op monitor interval="10" timeout="20" start-delay="1m" \
>
>         params host_list="192.168.200.7"
>
> group grp_credit res_drbd_credit res_filesystem_credit res_ip_credit
> res_icobol_
>                                                                          credit
> res_pingd \
>
>         meta target-role="started"
>
> location cli-prefer-grp_credit grp_credit \
>
>         rule $id="cli-prefer-rule-grp_credit" inf: #uname eq
> host2.localdomain
>
> location res_creditfs grp_credit inf: host2.localdomain
>
> property $id="cib-bootstrap-options" \
>
>         dc-version="1.0.4-6dede86d6105786af3a5321ccf66b44b6914f0aa" \
>
>         cluster-infrastructure="openais" \
>
>         expected-quorum-votes="2" \
>
>         last-lrm-refresh="1250783233" \
>
>         node-health-red="0" \
>
>         stonith-enabled="false" \
>
>         default-resource-stickiness="1000" \
>
>         no-quorum-policy="ignore" \
>
>         stonith-action="poweroff"
>
> [root at host1 ~]#
>
>
>
> Best regards,
>
>
>
> Gerry kernan
>
> Infinity Integration technology
>
> Suite 17 The mall Beacon Court
>
> Sandyford
>
> Dublin 18
>
>
>
> www.infinityit.ie
>
>
>
> P. +35312930090
>
> F. +35312930137
>
>
>
>
>
>  [image: menu_r1_c1]
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>


-- 
Dream with longterm vision!
kerdosa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090820/159ce55b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 4477 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090820/159ce55b/attachment-0001.jpg>


More information about the Pacemaker mailing list