FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

LinkBack Thread Tools
Old 05-14-2010, 03:04 AM
"Tim Serong"
Default dlm_controld.pcmk: Fix membership change judging issue

On 5/14/2010 at 06:19 AM, Andrew Beekhof <andrew@beekhof.net> wrote:
> Does the behavior still occur with pacemaker 1.1.2?


For the record, the most minimal testcase I've managed for this
so far is as follows (substitute "/etc/init.d/corosync start" or
whatever for "rcopenais start" if you're not on something SUSE-based):

1) Configure corosync/openais on two nodes.
Do not start the cluster yet.

2) On one node:

# rm /var/lib/heartbeat/crm/*
# rcopenais start
# while ! crm_mon -1 | grep -qi online; do
echo -n "." ; sleep 5 ; done

3) Now we have one node online, configure Pacemaker:

# cat <<CONF | crm configure
primitive dlm ocfacemaker:controld
primitive clvm ocf:lvm2:clvmd
group g dlm clvm
clone c g meta interleave="true"
property stonith-enabled="false"
property no-quorum-policy="ignore"

Watch "crm_mon -r" until that clone comes online.
Should only take a few seconds.

4) On the other node:

# rm /var/lib/heartbeat/crm/*
# rcopenais start

The first node will now either wedge up spectacularly, and/or
dlm_recoverd and clvmd will be stuck in D state on both nodes.



Tim Serong <tserong@novell.com>
Senior Clustering Engineer, OPS Engineering, Novell Inc.

Thread Tools

All times are GMT. The time now is 04:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org