CA Release Automation - How to change the installation temp files location from /tmp to another location?

Document ID : KB000122160
Last Modified Date : 02/12/2018
Show Technical Document Details
Introduction:
CA Release Automation - Is there a way to change the installation temp files location from /tmp folder to another location?
 
Environment:
All versions of CA Release Automation
Linux - All flavours
Instructions:
The installation temp files are written in the /tmp folder by default. 

To redirect the installation temp files to an alternate location do the following:

RHEL

1. Create a folder and grant it the appropriate permissions. 
Ex: {mytmpdir} 

2. Run: 
export _JAVA_OPTIONS=-Djava.io.tmpdir={mytmpdir} 

3. Run the installation using: 
  ./{nolio installation binary.sh} 


Other Linux flavours (not including SLES)
On some linux flavours (not including SLES), the following works: 
export INSTALL4J_TEMP={PATH TO A PRE-DEFINED FOLDER FOR WHICH YOU HAVE WRITE PERMISSIONS} 

./{nolio installation binary.sh} 

You can also force an installation log to be created in a specific location by running 
./{nolio installation binary.sh} -Dinstall4j.alternativeLogfile={PATH TO LOG FILE TO CREATE} 

SLES
On SLES, you need to do the following 
./{nolio installation binary.sh} -Djava.io.tmpdir={PATH TO A PRE-DEFINED FOLDER FOR WHICH YOU HAVE WRITE PERMISSIONS} 

You can also force an installation log to be created in a specific location by running 
./{nolio installation binary.sh} -Djava.io.tmpdir={PATH TO A PRE-DEFINED FOLDER FOR WHICH YOU HAVE WRITE PERMISSIONS} -Dinstall4j.alternativeLogfile=/data/noliotemp/install.log