Hello folks ,
"Beginning with 9.14.1, object locking is supported on S3 buckets."
There is no real workflow how to do this .
**The purpose of the POC is to have a bucket that is mirrored ( continous protection that is async 1h snapmirror obj replication ) and the target is snaplocked for 2days.
**
From what i understand :
- enable snaplock compliance clock on nodes source/target
- create a management lif for the SVM where the s3 target bucket is and assign to an use the vsadmin-snapock rights .
'3) create an snaplock policy with this user ( i created 2 of them for one day and 2 days ) . - create s3 snapmirror .
*sm2-ca004-s3-01-DR::snaplock event-retention policy> show
Vserver Name Retention Period
sm2-ca004-s3-01-DR 24hours 24 hours
sm2-ca004-s3-01-DR 48hours 2 days
2 entries were displayed.
sm2-ca004-s3-01-DR::snaplock event-retention policy>
*
On Target i have the sapmirror session
CL2-FAS8200-HA-01::> snapmirror show
Progress
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
sm2-ca004-s3-01:/bucket/test
XDP sm2-ca004-s3-01-DR:/bucket/test-dest
Snapmirrored
how do i lock the target bucket ? what is a clear workflow ? the documentation does not show this ...
https://docs.netapp.com/us-en/ontap/s3-snapmirror/create-remote-mirror-existing-bucket-task.html
https://docs.netapp.com/us-en/ontap/s3-config/create-bucket-task.html#configure-additional-permissions-and-restrictions
PS : i have ontapp one on source FAS8200 and on target C250 clusters.