[RFC PATCH 0/3] drbd.ocf support for OCF 1.1 standard

Su Yue glass.su at suse.com
Mon Jul 29 15:34:07 CEST 2024


Hi, drbd maintainers
Here is a patchset which adds supports of drbd.ocf for OCF 1.1 standard.
The motivation is that SUSE's SLE16 will bring corosync3 and pacemaker
built without option '--enable-compat-2.0'. So drbd.ocf needs some
adaptations.

The first two patches are compatible with pacemaker even without option
"--enable-compat-2.0".
NOTE: The third patch changes roles "Master" "Slave" to "Promoted" "Unpromoted".
It breaks the compatibility of Pacemaker < 2.1.0.

The patchset was tested in my testbox only, non SUSE QE. I want to get your
suggestions first so make it RFC. Many thanks.


Su Yue (3):
  drbd.ocf: replace crm_master with ocf_promotion_score
  drbd.ocf: update regex of sed for new output from crm_resource
  drbd.ocf: update for OCF 1.1

 scripts/drbd.ocf | 38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)

-- 
2.45.2



More information about the drbd-dev mailing list