Configuring the container aging
Container aging tries to identify the containers that contain a small number of segments but live for a long time, and exclude them from being referenced by new backup images.
The contentrouter.cfg file has the following aging check related parameters:
Parameter | Description | Default value |
|---|---|---|
EnableAgingCheck | Enable or disable Cloud LSU container aging check. | true |
AgingCheckAllContainers | This parameter determines whether to check all containers or not. If set to 'false', it only checks containers in some latest images. | false |
AgingCheckSleepSeconds | Aging check thread wakes up periodically with this time interval (in seconds). | 20 |
AgingCheckBatchNum | The number of containers for aging check each time. | 400 |
AgingCheckContainerInterval | Default interval value of checking a container when adding Cloud LSU (in days). | 180 |
AgingCheckSizeLowBound | This threshold is used to filter the containers whose size is less than this value for aging check. | 8Mib |
AgingCheckLowThreshold | This threshold is used to filter the containers whose garbage percentage is less than this value (in percentage). | 10% |
After you update the aging check related parameters, you must restart the MSDP service. You can use the crcontrol command line to update those parameters without restarting MSDP service.
To update the aging parameters using crcontrol command line
- Enable cloud aging check for all cloud LSUs.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingcheckon
- Enable cloud aging check for a specified cloud LSU.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingcheckon <dsid>
- Disable cloud aging check for all cloud LSUs.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingcheckoff
- Disable cloud aging check for a specified cloud LSU.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingcheckoff <dsid>
- Show cloud aging check state for all cloud LSUs.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingcheckstate
- Show cloud aging check state for a specified cloud LSU.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingcheckstate <dsid>
- Change cloud aging check to fast mode for all cloud LSUs.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingfastcheck
- Change cloud aging check to fast mode for a specified cloud LSU.
/usr/openv/pdde/pdcr/bin/crcontrol --cloudagingfastcheck <dsid>