OCFS2 without cluster-manager ?


i’d like to create some OCFS2 partitions on a FC-SAN where two hosts have concurrent access. I will store images and configurations of vm’s (kvm) on it.
Some vm’s should run on one host, other vm’s on the other. Live migration should be possible. Is it possible to create OCFS2 partitions without pacemaker ?

https://www.suse.com/documentation/sle_ha/book_sleha/data/sec_ha_ocfs2_create_service.html says:

“Before you can create OCFS2 volumes, you must configure the following resources as services in the cluster: DLM, O2CB and a STONITH resource. OCFS2 uses the cluster membership services from Pacemaker which run in user space. Therefore, DLM and O2CB need to be configured as clone resources that are present on each node in the cluster.”

So it does not seem to be possible.


i managed it by myself. It’s possible without crm.
This document was very helpful: https://oss.oracle.com/projects/ocfs2/dist/documentation/v1.4/ocfs2-1_4-usersguide.pdf


Thanks for sharing your results as they will likely help somebody else in
the future too.

Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…