On 5/31/21 3:02 PM, mhnx wrote:
Yes you're right. I have a Global sync rule in the
zonegroup:
"sync_from_all": "true",
"sync_from": [],
"redirect_zone": ""
If I need to stop/start the sync after creation I use the command:
radosgw-admin bucket sync enable/disable --bucket=$newbucket
I developed it but clients can create bucket and I have no control on
the bucket if it's created out of my program.
Because of that I'm looking something:
1- Do not sync buckets if its not enabled by me.
2- Sync all the other "sync started" buckets.
This can be achieved using Multisite sync-policy [1]. Create a group
policy which allows sync (but not enabled) across all the zones &
buckets. And then create another policy at bucket(s) level to enable
sync for only those particular ones. Refer to Example-3 in the same page
[2].
Thanks,
Soumya
[1]
https://docs.ceph.com/en/latest/radosgw/multisite-sync-policy/
[2]
https://docs.ceph.com/en/latest/radosgw/multisite-sync-policy/#example-3-mi…
Szabo, Istvan (Agoda) <Istvan.Szabo(a)agoda.com>om>, 31 May 2021 Pzt, 12:11
tarihinde şunu yazdı:
Bucket is created but if no sync rule set, the
data will not be synced across.
Istvan Szabo
Senior Infrastructure Engineer
---------------------------------------------------
Agoda Services Co., Ltd.
e: istvan.szabo(a)agoda.com
---------------------------------------------------
-----Original Message-----
From: mhnx <morphinwithyou(a)gmail.com>
Sent: Monday, May 31, 2021 4:07 PM
To: Ceph Users <ceph-users(a)ceph.io>
Subject: [Suspicious newsletter] [ceph-users] Bucket creation on RGW Multisite env.
Hello.
I have a multisite RGW environment.
When I create a new bucket, the bucket is directly created on master and secondary.
If I don't want to sync a bucket, I need to stop sync after creation.
Is there any global option as "Do not sync directly, only start if I want to"
?
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io To unsubscribe send an email to
ceph-users-leave(a)ceph.io
________________________________
This message is confidential and is for the sole use of the intended recipient(s). It may
also be privileged or otherwise protected by copyright or other legal rules. If you have
received it by mistake please let us know by reply email and delete it from your system.
It is prohibited to copy this message or disclose its content to anyone. Any
confidentiality or privilege is not waived or lost by any mistaken delivery or
unauthorized disclosure of the message. All messages sent to and from Agoda may be
monitored to ensure compliance with company policies, to protect the company's
interests and to remove potential malware. Electronic messages may be intercepted,
amended, lost or deleted, or contain viruses.
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io