Skip to content

RFC drbd.ocf support for OCF 1.1 standard

Su Yue drbd-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drbd.ocf: replace crm_master with ocf_promotion_scorescripts/drbd.ocf+16 -40 replies
2/3drbd.ocf: update regex of sed for new output from crm_resourcescripts/drbd.ocf+1 -10 replies
3/3drbd.ocf: update for OCF 1.1scripts/drbd.ocf+8 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.45.2