Bug 2137837 - [DDF] [MetroDR] When setting this CRUSH rule we are always locating all the primary PGs in DC1. If we have active/active OCP
Summary: [DDF] [MetroDR] When setting this CRUSH rule we are always locating all the p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.11
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: ---
: ODF 4.12.0
Assignee: Olive Lakra
QA Contact: akarsha
URL:
Whiteboard:
: 2137791 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-26 11:16 UTC by Direct Docs Feedback
Modified: 2023-08-09 16:43 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-08 14:12:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Direct Docs Feedback 2022-10-26 11:16:33 UTC
When setting this CRUSH rule we are always locating all the primary PGs in DC1. If we have active/active OCP clusters we want to spread the primary PGs in all DCs, not locating the primary PGs in DC1 as all the applications will read from DC1 suffering performance issues.

If you want to spread the primary PGs between DCs, you have to set the following rule:

rule stretch_rule {
        id 1
        type replicated
        min_size 1
        max_size 10
        step take default
        step choose firstn 0 type datacenter
        step chooseleaf firstn 2 type host
        step emit
}

Thanks. Regards

Reported by: ddomingu

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.11/html/configuring_openshift_data_foundation_disaster_recovery_for_openshift_workloads/metro-dr-solution#annotations:9bb3553a-f86b-414e-9df7-bbab730d611c

Comment 14 Olive Lakra 2022-12-01 06:40:07 UTC
*** Bug 2137791 has been marked as a duplicate of this bug. ***

Comment 20 Martin Bukatovic 2022-12-21 17:40:23 UTC
Note that with this change, BZ 2100920 is no longer reproducible in the default Metro DR ceph configuration.


Note You need to log in before you can comment on or make changes to this bug.