text: **Content Manager OnDemand version 9 setup recommendations**
  The following recommendations are applicable to Content Manager OnDemand V9.0 and 
  later: 
  
  (cid:2) Application groups need to be set up to expire by load; then, you can use the Enhanced 
  Retention Manager document hold feature. 
  
  (cid:2) Tivoli Storage Manager archive copy groups need to be defined to be event-based by 
  
  setting the**RETMIN**and**RETVER**parameters. The**RETMIN**parameter needs to be set to the 
  minimum number of days that a document must be retained. For a legal 7-year document, 
  this setting must be 2557. For others, where you want Content Manager OnDemand to be 
  100% in control and able to delete documents at anytime, set RETMIN=0. Content Manager 
  OnDemand then issues a delete based on its Life of Data and Indexes or when an 
  administrator performs an unload command. 
  
  (cid:2) Tivoli Storage Manager Inventory expiration must be run regularly to ensure that expired 
  data is cleaned up. 
  
  **5.2.8 The arsmaint command**
  
  We referenced the Content Manager OnDemand**arsmaint**command many times in previous 
  sections, but we now look closer at this command. The**arsmaint**program maintains 
  application group data that is stored in the Content Manager OnDemand database and in 
  cache storage. It maintains the system by using the storage management values that are 
  specified for application groups. It is typically run on a regular schedule to migrate documents 
  from cache storage to archive storage, migrate index data to archive storage, and delete 
  documents from cache storage and index data from the Content Manager OnDemand 
  database. 