How To Change Oracle Traffic Directory's Default tmp Directory? (Doc ID 1938506.1)

Last updated on FEBRUARY 10, 2017

Applies to:

Oracle Traffic Director - Version 11.1.1.6 and later
Information in this document applies to any platform.

Goal

 By default Oracle Traffic Directory uses /tmp as its temp path to store temporary files. For example, you may see the following in the server.xml file:
 


This may cause issues if you have a cron script (e.g tmpwatch) that automates temporary file cleanup on the /tmp directory. Issues you may encounter as a result of the cleanup include failure to stop OTD by running stopserv command, admin console displaying incorrect status of the OTD instance, etc.  So how to configure the OTD to use a temp location other than the /tmp directory?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms