The hsmlogretention option specifies how many days to maintain HSM log entries before pruning, and whether to save the pruned entries.
The HSM log is pruned when the first entry is written to the log after a Tivoli® Storage Manager for Space Management command or daemon is started. Some Tivoli Storage Manager for Space Management client daemons run continuously. Stop the daemons and start them again or activate one of the HSM commands to prune the HSM log.
You must use an authorized user ID to use this option.
If you use the hsmlogmax option instead of the hsmlogretention option, all records in the existing log are copied to the pruned log file, dsmhsm.pru. Then the existing log is emptied, and logging begins under the new size criteria.
Place this option in the client system options file dsm.sys within a server stanza.
.-N-----------. >>-HSMLOGRetention--+-------------+---------------------------->< | .-D-. | '-days--+---+-' '-S-'
Example task: Prune the log every 7 days. Discard the pruned log entries.
Example command: hsmlogr 7 d
Example task: Prune the log every 100 days. Save the pruned log entries.
Example command: hsmlogr 100,s