IBM Installation Manager - Do not save rollback files in the IMShared/files directory

If you have not yet installed IBMs Installation Manager, check out my article on installing Installation Manager.

By default, Installation Manager will store files used to roll back to a prior package in the /home/your_username/IBM/IMShared/files directory. This can cause the /home directory (on a Linux system) to run low on free space.

~]$ ll /home/webproc/IBM/IMShared/files/
-rw-r--r--. 1 john.doe users 164089790 Aug 19  2021 com.ibm.JDK8.64bit.jdk.linux.x8664_8.0.5010.20180214_1001.tar.gz
-rw-r--r--. 1 john.doe users     54587 Aug 19  2021 com.ibm.was.backup.nsf.v90_9.0.0.201605261827.jar
-rw-r--r--. 1 john.doe users     55196 Aug 19  2021 com.ibm.was.backup.nsf.v90_9.0.5000.20190423_0000.jar
-rw-r--r--. 1 john.doe users      8630 Aug 19  2021 com.ibm.was.generate.jdk.productfile_9.0.0.20160208_0000.jar
-rw-r--r--. 1 john.doe users      8698 Aug 19  2021 com.ibm.was.generate.jdk.productfile_9.0.0.20171108_0000.jar
-rw-r--r--. 1 john.doe users     22700 Aug 19  2021 com.ibm.was.permission.utils_8.5.0.20120309_1010.jar
-rw-r--r--. 1 john.doe users   1890629 Aug 19  2021 com.ibm.websphere.PLG.plgonly_003_dist.all_x_9.0.0.201605262331.file
-rw-r--r--. 1 john.doe users   1890629 Aug 19  2021 com.ibm.websphere.PLG.plgonly_003_dist.all_x_9.0.5007.202103011838.file
-rw-r--r--. 1 john.doe users   1890629 Sep 29  2021 com.ibm.websphere.PLG.plgonly_003_dist.all_x_9.0.5009.202108230535.file
-rw-r--r--. 1 john.doe users     89156 Aug 19  2021 com.ibm.websphere.PLG.plgonly_004_dist.all_x_9.0.0.201605262331.file
-rw-r--r--. 1 john.doe users     89350 Aug 19  2021 com.ibm.websphere.PLG.plgonly_004_dist.all_x_9.0.5007.202103011838.file
-rw-r--r--. 1 john.doe users     89351 Sep 29  2021 com.ibm.websphere.PLG.plgonly_004_dist.all_x_9.0.5009.202108230535.file
-rw-r--r--. 1 john.doe users     79055 Aug 19  2021 com.ibm.websphere.PLG.plgonly_005_dist.all_x_9.0.0.201605262331.file
-rw-r--r--. 1 john.doe users     79554 Aug 19  2021 com.ibm.websphere.PLG.plgonly_005_dist.all_x_9.0.5007.202103011838.file
-rw-r--r--. 1 john.doe users     79554 Sep 29  2021 com.ibm.websphere.PLG.plgonly_005_dist.all_x_9.0.5009.202108230535.file
-rw-r--r--. 1 john.doe users   7032032 Aug 19  2021 com.ibm.websphere.PLG.plgonly_033_unixDist.all_x_9.0.0.201605262331.file

 

The com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts=false preference can be used to not save files used for roll back in the /home/your_username/IBM/IMShared/files directory. This preference will also cause Installation Manager to delete files used for roll back from the /home/your_username/IBM/IMShared/files directory. You may also want to use com.ibm.cic.common.core.preferences.keepFetchedFiles=false to not save files if some error occurs when attempting to install a package.

./imcl install com.ibm.websphere.BASE.v90_9.0.6.20171205_1311
  -repositories /tmp/was
  -installationDirectory /opt/IBM/WebSphere/AppServer
  -acceptLicense
  -prompt
  -preferences com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts=false

 

Similarly, if you are installing or updating a product using a response.xml file, you can define preferences in your XML file.

<preference
	name = 'com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts'
	value = 'false'>
</preference>

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





Please enter 0fd3b in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |