Cleaning up the deployed files and installation summary
To ensure that the disk space does not become full, the deployed files and installation summary are cleaned up periodically.
You can configure these settings manually as per your environment.
To clean up deployed files
Packages that are deployed successfully are cleaned up automatically after the deployment job is complete.
For failed deployments, a cleanup activity is performed periodically. The default cleanup interval is 7 days. To change this setting, perform the following steps:
- Access the TrueSight Presentation Server.
- Open a command prompt and go to the <installation directory>\truesightpserver\bin folder.
- Run the following command:
tssh properties set DEPLOYMENT_FILES_CLEANUP_INTERVAL <number of days>
The cleanup interval is revised to the set number of days. - To save and load the updated setting, run the following command:
tssh properties reload
Note
The DEPLOYMENT_FILES_CLEANUP_INTERVAL
setting applies to the Presentation Server and Integration Services connected to it.
Cleaning up files on PATROL Agent hosts
The PATROL Agent hosts are also cleaned up automatically after successful install and uninstall jobs.
In case of failed jobs, only log files are retained and other files are deleted.
Location of log files:
- Install log - <%PATROL_HOME%>\tmp\Install_Log\<yyyy_mm_dd_hh_mm_ss_job_id>
Example on Linux: /opt/bmc/PATROL/Patrol3/Linux-2-6-x86-64-nptl/tmp /Install_Log/2016_53_21_04_53_13_5e26e36f-df78-4e98-a84c-e67376ef10af - Uninstall log - <%PATROL_HOME%>\tmp\ Uninstall_Log\<yyyy_mm_dd_hh_mm_ss_job_id>
Example on Linux: /opt/bmc/PATROL/Patrol3/Linux-2-6-x86-64-nptl/tmp /Uninstall_Log/2016_46_21_04_46_59_44efe91b-5efb-4a36-b55d-515e99f0b398
To clean up the deployment and installation summary
By default, the history of deployment, installation, and uninstallation is maintained for the previous 30 days. To change this setting, perform the following steps:
- Access the TrueSight Presentation Server.
- Open a command prompt and go to the <installation directory>\truesightpserver\bin folder.
- Run the following command:
tssh properties set DEPLOYMENT_HISTORY_CLEANUP_INTERVAL <number of days>
The history is maintained for the set number of days only and the cleanup interval is revised to the set number of days. To save and load the updated setting, run the following command:
tssh properties reload
Note
The preceding command does not trigger a rerun of the cleanup scheduler until the default waiting time of 30 days lapses.
If you want the updated settings to take immediate effect than waiting for the default time, restart the TrueSight Presentation Server after executing the command.
Related topics
Deploying packages to PATROL Agents using the TrueSight console
Comments
Log in or register to comment.