You can use one of two methods.
Use the agent’s
ecconfigcommand to change the location for one agent:
ecconfig -tempdir <newtempdir>
<newtempdir> is the new directory.
clusterexeccommand on either the Cluster Manager or the build server to change all agents at once:
clusterexec --cm=<YOURCM> ecconfig -tempdir <newtempdir>
<YOURCM>is your Cluster Manager host name
<newtempdir>is the new directory. Specify a full
PATHto the directory that you want to use. Each agent on the host creates a unique subdirectory within the disk cache/temporary storage location, so that they do not conflict with each other. The path specified for
-tempdirmust already exist. On Linux and UNIX, the path must have permissions that let build users create temporary files. Also, on Linux, this directory must not be a symbolic link. On Windows, agent users must have permission to create temporary files, because the eMake client user is not impersonated.
Then you must restart the agents for your changes to take effect:
clusterexec --cm=<YOURCM> restartAgent
After specifying a different disk cache/temporary storage location, you can switch back to the default location at any time. To do this, use
ecconfig -tempdir with an empty string [""] as the location.