6.14. Server Pruner

What is the Server Pruner Command?

The Server Pruner command checks d3VIEW for files that can be cleaned up. Based on each HPC Server configuration in d3VIEW, the Pruner can use the policy to determine which files can be safely removed and issues commands to delete those files.

The pruner can check for simulations, attachments, or responses to be cleaned up.

There is a dry run option so the files that will be deleted can be listed out and reviewed before the files are actually deleted.

It is recommended to have a dry run before the files are deleted to ensure that no files are needed. Once the files are deleted, they will not be able to be recovered.

Arguments

Parameter name Requirement
   
-h –help optional
-s -server-to-update optional
-t optional
-dry-run optional
-output-file optional
-log-file optional
-otype optional
-h

help

-s

Id or name of d3VIEW HPC Server

-server-to-update

Id or name of d3VIEW HPC Server

-t

Pruner type. (Simulations, attachments, or responses)

-dry-run

No files get deleted, only a list of files to be deleted will be shown

-output-file

Path to write out a csv of all files to be deleted

-log-file

Path to write log file.

-otype

Terminal output type. If none is selected, no output will be written.

Configuration

Pruner configuration needs to be set up in the d3VIEW HPC Server configuration.

Each type of cleanup is different and has different configurations in the HPC Server configuration page.