ID: 4146

Additional Preview Cleanup Options

 

As of Zoom 6.0, new options have been added to preview server cleanup settings.

  1. DO_NOT_CLEAN_FUIDS: This option will skip the original asset source file from cleanup. In others words original asset file will not be deleted by cleanup process.
  2. DO_NOT_CLEAN_PREVIEWS: Do not delete any preview file. Generated previews will never be deleted.
  3. DEFAULT: Cleanup process will decide based on file size and their usage.

To setup follow  the instructions below

Editing from Zoom Web Administration Console

  1. On the sidebar, click Server Control Panel
  2. Click Review Server Settings
  3. Switch to tab Cleanup Settings
  4. Select the value from the Additional cleanup options drop-down list.

cache-cleanup-ui

Editing the preview-server.xml

  1. In Windows Services, stop the Zoom Preview Server  (Only if preview server is configured to run on the same machine as the zoom server) service. For information on how to restart / stop, refer to Starting and Stopping Zoom Services (Windows)
  2. Open preview server xml file named as preview-server.xml from [DAM]/conf/ .
  3. Search and identify the <additionalCleanupOption> tag.
  4. Set its value to DO_NOT_CLEAN_FUIDS.
  5. You can replace data by any of the above mentioned 3 options.
  6. Save the preview-server.xml file.
  7. In Windows Services, Start the Zoom Preview Server service.

preview-server-changes

From Zoom 6.0, the following fields have been removed from the preview-server.xml file
cleanAllOderFiles, cleanYoungFilesIfRequired, cleanOnStartUp

For Test purpose:

To check whether your selected option is working or not

  1. In Windows Services, stop the Zoom Preview Server
  2. Edit preview-server.xml from [DAM]/conf/ .

  3. Search for the tag and tag under the section, and set them to true, 1 respectively.

  4. Search for the   tag and set the value to 1.

    You preview cache directory size should be of 1GB or more in order for cleanup to run.
  5. Save the preview-server.xml file.

  6. In Windows Services, Start the Zoom Preview Server service.

  7. Check the preview_log for the information.

    dryRun option will not delete any cache entry. To be on the safer side, backup your cache directory
  8. After testing is done, follow the same steps and restore all the values.

These settings can be done from the Zoom Web Administration UI.