[Pacemaker] ERROR: Wrong stack o2cb
Denis Witt
denis.witt at concepts-and-training.de
Wed Jun 26 12:35:08 UTC 2013
On Wed, 26 Jun 2013 07:53:37 -0400 (EDT)
jsmith <jsmith at argotec.com> wrote:
> You could start ocfs2 in the cluster just disable/remove the
> filesystem resource for now. Once pacemaker has started ocfs2 I
> believe you can do what you need?
Hi Jake,
Node test4: standby
Online: [ test4-node1 test4-node2 ]
Master/Slave Set: ms_drbd [drbd]
Masters: [ test4-node1 test4-node2 ]
Clone Set: clone_pingtest [pingtest]
Started: [ test4-node1 test4-node2 ]
Stopped: [ pingtest:2 ]
Resource Group: grp_all
sip (ocf::heartbeat:IPaddr2): Started test4-node1
apache (ocf::heartbeat:apache): Started test4-node1
Clone Set: cl_ocfs2mgmt [g_ocfs2mgmt]
Started: [ test4-node2 test4-node1 ]
Stopped: [ g_ocfs2mgmt:2 ]
Clone Set: cl_fs_ocfs2 [fs_drbd]
Started: [ test4-node2 test4-node1 ]
Stopped: [ fs_drbd:2 ]
Failed actions:
p_o2cb:0_monitor_0 (node=test4, call=164, rc=5, status=complete):
not installed p_controld:0_monitor_0 (node=test4, call=163, rc=5,
status=complete): not installed drbd:0_monitor_0 (node=test4, call=159,
rc=5, status=complete): not installed
Thanks a lot!
For the record, using DRBD/OCFS2 with Pacemaker/corosync on Debian
Wheezy:
apt-get install ocfs2-tools ocfs2-tools-pacemaker openais dlm-pcmk
Configure your DRBD-Drives, make sure they are running (you can format
them as ext4 to test if they mount well, but don't run them as
dual-primary, yet).
DON'T add /etc/ocfs2/cluster.conf
update-rc.d ocfs2 disable
update-rc.d o2cb disable
Add ocfs2_stack_user to /etc/modules
Then add all groups/clone sets/primitives, except fs_drbd related ones.
When the cluster is running format the drive, so that the correct stack
will be written.
Then add the fs_drbd related stuff.
Should work then. I'll check this procedure on a new machine and extend
the list if necessary.
Again, thanks a lot!
Best regards
Denis Witt
More information about the Pacemaker
mailing list