Skip to content

doc/radosgw: add Zonegroup purpose - #52324

Merged
zdover23 merged 1 commit into
ceph:mainfrom
zdover23:wip-doc-2023-07-06-radosgw-multisite
Jul 6, 2023
Merged

zdover23 merged 1 commit into
ceph:mainfrom
zdover23:wip-doc-2023-07-06-radosgw-multisite

Conversation

@zdover23

@zdover23 zdover23 commented Jul 5, 2023 •

Copy link
Copy Markdown
Contributor

Add a note about the telos of zonegroups. The information added in this commit was originally sent to ceph-users by Casey Bodley on 30 Jun 2023 in response to a question from Yixin Jin. Alexander Patrakov then suggested that Casey's response should be added to doc/radsogw/multisite.rst.

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@zdover23
zdover23 requested review from a team as code owners July 5, 2023 17:39
@cbodley

cbodley commented Jul 5, 2023

Copy link
Copy Markdown
Contributor

thanks @zdover23. just above this new text, there's a section about **Multi-zonegroups:**. maybe it would be better to merge this into that section?

@zdover23

zdover23 commented Jul 5, 2023

Copy link
Copy Markdown
Contributor Author

thanks @zdover23. just above this new text, there's a section about **Multi-zonegroups:**. maybe it would be better to merge this into that section?

Roger that, @cbodley. I'll revise and squash and force-push within the hour.

@kfox1111

kfox1111 commented Jul 5, 2023

Copy link
Copy Markdown

This is a very useful bit of documentation. Thanks for getting it into the docs. :)

Comment thread doc/radosgw/multisite.rst Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of datasets
s/while/when/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accepted.

@zdover23

zdover23 commented Jul 5, 2023

Copy link
Copy Markdown
Contributor Author

This is a very useful bit of documentation. Thanks for getting it into the docs. :)

I'm glad this is helpful.

@zdover23
zdover23 force-pushed the wip-doc-2023-07-06-radosgw-multisite branch from b307678 to be9e284 Compare July 5, 2023 18:07
Comment thread doc/radosgw/multisite.rst Outdated
Comment on lines 49 to 51

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it's probably better to describe the residency/redirect concepts first to motivate the multi-zonegroup example. 'dataset' isn't very clear in this context, so i suggest using 'object data' instead

Each bucket is owned by the zonegroup where it was created (except where overridden by the LocationConstraint (link to https://docs.ceph.com/en/latest/radosgw/placement/#s3-bucket-placement) on bucket creation), and its object data will only replicate to other zones in that zonegroup. Any request for data in that bucket that are sent to other zonegroups will redirect to the zonegroup where the bucket resides.

It can be useful to create multiple zonegroups when you want to share a namespace of users and buckets across many zones, but isolate the object data to a subset of those zones. It might be that you have several connected sites that share storage, but only require a single backup for purposes of disaster recovery. In such a case, it could make sense to create several zonegroups with only two zones each to avoid replicating all objects to all zones.

In other cases, it might make more sense to isolate things in separate realms, with each having a single zonegroup. Zonegroups provide flexibility by making it possible to control the isolation of data and metadata separately.

just below this is the **Multiple Realms:** section, so there may be a better way to lead into that

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed "dataset" to "RADOS object data".

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed "dataset" to "RADOS object data".

did you read any of the other suggested changes? maybe it wasn't clear that i rewrote that whole quoted block

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbodley: I'm adding your revisions into the docs now, in a subsequent PR. I'll request you as a reviewer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a note about the telos of zonegroups. The information added in this
commit was originally sent to ceph-users by Casey Bodley on 30 Jun 2023
in response to a question from Yixin Jin. Alexander Patrakov then
suggested that Casey's response should be added to
doc/radsogw/multisite.rst.

Co-authored-by: Casey Bodley <[email protected]>
Co-authored-by: Anthony D'Atri <[email protected]>
Signed-off-by: Zac Dover <[email protected]>
@zdover23
zdover23 force-pushed the wip-doc-2023-07-06-radosgw-multisite branch from be9e284 to 5c46a1a Compare July 6, 2023 20:21
@zdover23
zdover23 merged commit e076c6a into ceph:main Jul 6, 2023
@zdover23

zdover23 commented Jul 6, 2023

Copy link
Copy Markdown
Contributor Author

#52348 - Reef backport
#52349 - Quincy backport

zdover23 added a commit to zdover23/ceph that referenced this pull request Jul 7, 2023
Add revised Zonegroup policy for "multi-zonegroups". This commit
includes changes that Casey Bodley made in
ceph#52324 (comment) and that
I have integrated into the docs only now.

Co-authored-by: Casey Bodley <[email protected]>
Signed-off-by: Zac Dover <[email protected]>
zdover23 added a commit to zdover23/ceph that referenced this pull request Jul 7, 2023
Add revised Zonegroup policy for "multi-zonegroups". This commit
includes changes that Casey Bodley made in
ceph#52324 (comment) and that
I have integrated into the docs only now.

Co-authored-by: Casey Bodley <[email protected]>
Signed-off-by: Zac Dover <[email protected]>
(cherry picked from commit c6400ed)
zdover23 added a commit to zdover23/ceph that referenced this pull request Jul 7, 2023
Add revised Zonegroup policy for "multi-zonegroups". This commit
includes changes that Casey Bodley made in
ceph#52324 (comment) and that
I have integrated into the docs only now.

Co-authored-by: Casey Bodley <[email protected]>
Signed-off-by: Zac Dover <[email protected]>
(cherry picked from commit c6400ed)
joscollin pushed a commit to joscollin/ceph that referenced this pull request Jul 31, 2023
Add revised Zonegroup policy for "multi-zonegroups". This commit
includes changes that Casey Bodley made in
ceph#52324 (comment) and that
I have integrated into the docs only now.

Co-authored-by: Casey Bodley <[email protected]>
Signed-off-by: Zac Dover <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants