External Agent
An external Agent, allows you to share or off loading the processing of files onto multiple systems, or a more powerful system.
Docker
A external Agent in docker requires the following set
| Name | Type | Example |
|---|---|---|
| FF_AGENT_ | Environmental value set to 1 | -e FF_AGENT_ 1 |
| Hostname | The hostname name, this is used to identify the Agent and needs to be constant | --hostname MyFFAgent |
Temporary Directory
This is the location where the Agent will create temporary files. These files are only accessed by the Agent and the server does not need to access this directory.
Mapping
See Mapping
Copy to, Move To
Additional to libraries, you may have a Copy File or Move File and their locations must also be mapped.
E.g. if you use a Copy File to copy the file to /media/tv-processed and that location is accessible \\myserver\tv-processed, you must make a mapping
- Server: /media/tv-processed
- Agent: \\myserver\tv-processed
Variables
Variables also need to be mapped if they are accessible via different locations.
If you are using Docker for both the Agent and Server the tools will be accessible in the same locations, and do not need to be mapped.
But if you are using Docker as the Server and Ubuntu as the Agent, you must map the tool.
For example, to map FFmpeg, if FFmpeg was installed to /home/myuser/ffmpeg/ffmpeg, your mapping would be:
- Server: /usr/local/bin/ffmpeg
- Agent: /home/myuser/ffmpeg/ffmpeg