Changing the Link temporary directory
To change the HCL Link temporary directory, complete the following steps:
- Create a new directory. Ensure that the location is not mounted with the
noexecoption. Check the output of the mount. For example, you can run the following from a command window:mkdir /opt/hiptmp chmod 777 /opt/hiptmp - Add a new line to
tomcat-context/install/restapi/tomcat/setenv.shto specify the new directory. For example:export JAVA_OPTS="$JAVA_OPTS -Djava.io.tmpdir=/opt/hiptmp" - Modify the existing lines in
config.yamlfor the long and short workers as shown here:longTaskProcessJvmOptions="-Xmx2g -Djava.io.tmpdir=/opt/hiptmp" shortTaskProcessJvmOptions="-Djava.io.tmpdir=/opt/hiptmp" - Restart the Link.