By default, Maximum number of preserved runs per workflow is set to 100 and Log events expiration days is set to 15 days. Users may need to adjust the retention policy for workflow execution history and log events. This article provides the commands to increase the Maximum number of preserved runs per workflow and Log events expiration days.
VCF Operations/Automation (formerly VMware Aria Suite)
VMware Aria Automation Orchestrator 8.x
To modify the system properties, execute the following steps from the root console of any Aria Automation/Orchestrator appliance:
1. Modify the Maximum number of preserved runs per workflow
The default value for this property is 100. Run the following command to set your desired maximum workflow tokens (the example below sets the target to 200):
vracli vro properties set --key ch.dunes.task.max-workflow-tokens --value 200
2. Modify the Log events expiration days
The default value for this property is 15. Run the following command to set the new expiration timeframe in days (the example below sets the target to 30 days):
vracli vro properties set --key com.vmware.o11n.log-events-expiration-days --value 30
3. Validate the changes
Confirm the properties have been updated correctly by listing the current configuration:
vracli vro properties
4. Audit Configuration Changes and CLI Command Logs
Automation Orchestrator CLI commands print their logs in the /services-logs/prelude/vco-app/file-logs/vco-server-app_cfg-cli.log file. When a command returns a result different than zero and the standard output does not show a specific error, the exception is visible in this file.