We have a premium on disk space in our dev environment (AEM 5.6).
We use packages to install "content" and svn / Vault to install "code"
One idea I had was as follows.
All packages that are 2-3 weeks old should be removed from author / publish. Because they are available in jira, they have been installed in the jcr.
Is that what other people do? is this a best practice? Thanks.
the packages over time can get into the 100's. Most are very small, but one or two can be quite large. I do reclaim space by doing tarPM optimization, Data store garbage collection and removal of dam workflow logs.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
There is no such best practice for this afaik.
You can delete the packages with the documented ways:-
Link:- https://docs.adobe.com/docs/en/aem/6-0/administer/content/package-manager.html#Deleting packages
Link:- https://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html#Deleting Packages
Link:- http://www.wemblog.com/2012/01/how-to-delete-packages-created-before.html [Curl]
If the package created is resulting in consuming large amount of memory, then you can surely remove it with any of the mentioned ways. It is you to decide, what to remove: - Most Recent/Least Recent/Least Frequent etc.
And for regaining the space :- tarPM optimization, Data store garbage collection, audit purge, version purge, removal of dam workflow logs etc. are the ways.
I hope this will help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
I think this can achieved either by manually deleting the packages or automated process.
Depends on the operating system you are running you can create cron job to check the age of the package and delete them.
Please refer below links on how to use cURL commands to manipulate packages.
http://www.aemcq5tutorials.com/tutorials/adobe-cq5-aem-curl-commands/
https://hashimkhan.in/2015/05/27/aem-with-curl/
https://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html
Thanks,
Kishore
Views
Replies
Total Likes
Thanks. I do know how to remove package programatically but will refer to those pages.
I guess my question is -
Is that what other people do?
Is this a best practice?
Views
Replies
Total Likes
You can try this script[0] on a copy of your instance to see if it achieves what you want.
Do you also do an audit purge and version purge?
Regards,
Opkar
[0]http://www.wemblog.com/2012/01/how-to-delete-packages-created-before.html
Views
Replies
Total Likes
Hi
There is no such best practice for this afaik.
You can delete the packages with the documented ways:-
Link:- https://docs.adobe.com/docs/en/aem/6-0/administer/content/package-manager.html#Deleting packages
Link:- https://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html#Deleting Packages
Link:- http://www.wemblog.com/2012/01/how-to-delete-packages-created-before.html [Curl]
If the package created is resulting in consuming large amount of memory, then you can surely remove it with any of the mentioned ways. It is you to decide, what to remove: - Most Recent/Least Recent/Least Frequent etc.
And for regaining the space :- tarPM optimization, Data store garbage collection, audit purge, version purge, removal of dam workflow logs etc. are the ways.
I hope this will help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
thanks for the answers. I Do most of these tasks. I do not do version purge. thanks for pointing that out.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies