Configuring lifecycle expiration window
You can set the time that the lifecycle management process runs each day by setting the rgw_lifecycle_work_time parameter. By default, lifecycle processing occurs once per day, at midnight.
Prerequisites
-
A running IBM Storage Ceph cluster.
-
A Ceph Object Gateway node.
-
Installation of the Ceph Object Gateway.
-
Root-level access to a Ceph Object Gateway node.
Procedure
-
Log into the
cephadmshell:Example
[root@host01 ~]# cephadm shell -
Set the lifecycle expiration time:
Syntax
ceph config set client.rgw rgw_lifecycle_work_time %D:%D-%D:%DReplace %d:%d-%d:%d with
start_hour:start_minute-end_hour:end_minute.Example
[ceph: root@host01 /]# ceph config set client.rgw rgw_lifecycle_work_time 06:00-08:00
Verification
-
Retrieve the lifecycle expiration work time:
Example
[ceph: root@host01 /]# ceph config get client.rgw rgw_lifecycle_work_time 06:00-08:00
Reference
For more information, see the following: