Choose a temporary directory into which the Job Manager will store its files.
The temporary directory should have the following characteristics:
- It can be written to by the Job Manager daemon user.
- It is on a volume with sufficient capacity to hold the jobs that you plan to run.
- It is on a volume that is present when the Job Manager daemon starts (or will automount when needed).
- It is not accessible to other Job Managers running on other hosts.
- It ideally survives a reboot of the machine.
The default directory is /tmp. It is recommended that you change this because many systems wipe /tmp on startup.
Use the supplied
/opt/Autodesk/moldflow/ami2015/sbin/reconfigure shell script to change the Job manager temporary directory. The syntax is:
/opt/Autodesk/moldflow/ami2015/sbin/reconfigure MFSYN_TMP=[path]
where
[path] is the absolute directory to use. Do not type the brackets.
Note: Spacing is important; there must be no spaces around the = sign.
Example: You want to use the directory
/var/opt/Autodesk/moldflow/jobs for jobs. This directory does not yet exist.
# mkdir -p /var/opt/Autodesk/moldflow/jobs
# chown amijm /var/opt/Autodesk/moldflow/jobs
# /opt/Autodesk/moldflow/ami2015/sbin/reconfigure MFSYN_TMP=/var/opt/Autodesk/moldflow/jobs
Note: You can edit the file /etc/opt/Autodesk/ami2015 by hand instead of using the reconfigure shell script. The format is the same as the argument to the script.