Install lucid
add ubuntu-ha-maintainers lucid ppa and update repo: apt-add-repository ppa:ubuntu-ha-maintainers/lucid-cluster ; apt-get update
Install pacemaker:
apt-get -y install pacemaker
Enable corosync (/etc/default/corosync) and start it:
sed -i -e 's/START=no/START=yes/' /etc/default/corosync ; \
service corosync start
Open two client->server connections:
lrmadmin -C ; lrmadmin -C
It deadlocks on second run (it actually never finishes the first run).
Kill lrmd and stop corosync:
killall -9 lrmd ; service corosync stop
Add ppa:ivoks/glib (contains only the patch from the bzr branch): apt-add-repository ppa:ivoks/glib ; apt-get update ; apt-get -y upgrade
Start corosync:
service corosync start
Run the test again:
lrmadmin -C ; lrmadmin -C ; lrmadmin -C ; lrmadmin -C
It doesn't deadlock.
Test case:
Install lucid ha-maintainers lucid ppa and update repo:
apt-add- repository ppa:ubuntu- ha-maintainers/ lucid-cluster ; apt-get update corosync) and start it: no/START= yes/' /etc/default/ corosync ; \
add ubuntu-
Install pacemaker:
apt-get -y install pacemaker
Enable corosync (/etc/default/
sed -i -e 's/START=
service corosync start
Open two client->server connections:
lrmadmin -C ; lrmadmin -C
It deadlocks on second run (it actually never finishes the first run).
Kill lrmd and stop corosync:
apt-add- repository ppa:ivoks/glib ; apt-get update ; apt-get -y upgrade
killall -9 lrmd ; service corosync stop
Add ppa:ivoks/glib (contains only the patch from the bzr branch):
Start corosync:
service corosync start
Run the test again:
lrmadmin -C ; lrmadmin -C ; lrmadmin -C ; lrmadmin -C
It doesn't deadlock.