You have a location constraint for msDrbd2 that requires it to be master
on node 1 only.  I would assume it's leftover from your master/slave
setup:

   location locDrbd2Master msDrbd2 rule role=master inf: #uname eq node1

I would remove that and see what happens.  Also a few other things:

In ordering statements the action performed on the first item is applied
to all the others unless explicitly defined.  In the statement below if
msDrbd2 is not master it will promote it to master and once that
finished it will then try to take the same "promote" action on cloneDlm
also.  If all items required a "start" action then you could not define
the action at all or only on define it on the first and it would be fine
but if you have mixed actions then all must be defined.  It should be
changed to match the second statement.

   order ordDlm-before-msDrbdMaster2 0: msDrbd2:promote cloneDlm

   order ordDlm-before-msDrbdMaster2 0: msDrbd2:promote cloneDlm:start

In this ordering statement I think you meant to put before not after...
:-)

   order ordDlm-before-msDrbdMaster2 0: msDrbd2:promote cloneDlm

Also to follow-up on Ante's comment - you were following DRBD users
guide for Legacy non-Pacmaker setup.  I don't know if you found it but
here is the direct link to the Pacemaker config in the DRBD users guide:

   http://www.drbd.org/users-guide/s-ocfs2-pacemaker.html


Last - once you have it functioning well you can group the primitives for Dlm 
and o2cb before you clone them and then eliminate a couple order and colo 
statements.  Then you can combine the colocation and ordering statements for 
Drbd, the ocfs control group clone and the file system into one of each.  I.E.

   group g_ocfs2control p_controld p_o2cb

   clone cl_ocfs2control g_ocfs2control \
           meta globally-unique="false" interleave="true" target-role="Started"
 
   colocation c_fs_srv_on_ocfs2control_on_drbd_srv_master inf: cl_fs_srv 
cl_ocfs2control ms_drbd_srv:Master

   order o_drbd_srv_master_before_ocfs2control_before_fs_srv 0:
ms_drbd_srv:promote cl_ocfs2control:start cl_fs_srv:start


Hope that helps!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ocfs2-tools in Ubuntu.
https://bugs.launchpad.net/bugs/799711

Title:
  o2cb[11796]: ERROR: ocfs2_controld.pcmk did not come up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/799711/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to