what is the replacement for gfs2-cluster?

Asked by Travis Bean on 2014-12-28

I would like to be informed about what is the replacement for gfs2-cluster. How else is it possible to configure the Distributed Lock Manager when using crmsh in Pacemaker? Now that gfs2-cluster has been dropped in Trusty 14.04 LTS, I need to know what is the replacement for the following?:

crm<<EOF.crm_locking
  configure
    primitive dlm_controld ocf:pacemaker:controld \
      params daemon="dlm_controld" \
      op monitor interval="60s" timeout="640s" \
      op start interval="0" timeout="90s" \
      op stop interval="0" timeout="100s"
    primitive gfs_controld ocf:pacemaker:controld \
      params daemon="gfs_controld" args="" \
      op monitor interval="60s" timeout="640s" \
      op start interval="0" timeout="90s" \
      op stop interval="0" timeout="100s"
    group gr_locking dlm_controld gfs_controld
    clone cl_locking gr_locking \
      meta interleave="true"
    commit
EOF.crm_locking

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gfs2-utils Edit question
Assignee:
No assignee Edit question
Solved by:
Travis Bean
Solved:
2015-01-01
Last query:
2015-01-01
Last reply:
Travis Bean (tlbean) said : #1

I finally figured out that the replacement package (dlm_4.0.1-0ubuntu1_amd64.deb) is broken and upstream source code needs to be patched:

diff -ur dlm-4.0.1/init/dlm.init dlm.patched/init/dlm.init
--- dlm-4.0.1/init/dlm.init 2015-01-01 02:27:12.000000000 -0800
+++ dlm.patched/init/dlm.init 2015-01-01 02:34:43.957405340 -0800
@@ -19,7 +19,7 @@
 # Description: starts and stops dlm_controld
 ### END INIT INFO

-. /etc/rc.d/init.d/functions
+. /lib/lsb/init-functions

 prog="dlm_controld"
 progdir="cluster"