Using a Separate Server for Encoding
Posted by - NA -, Last modified by Mark [Elevated X Support] on 10 February 2018 03:52 PM
|
|
Using a Separate Server for Encoding The system does not support management of remote sites or content on other servers without the use of NFS. We do not consider multi-server setups part of our standard CMS install/setup process. We don't require a separate install of the CMS for each server. Make sure both servers are running the same versions of PHP, IONcube, ffmpeg, etc.( http://www.elevatedx.com/requirements.php ) Assisting with server setup is outside of the scope of our support services and will need to be handled by your hosting company. The separate machine will need: 1) The same absolute path to the admin folder. Both of these can be mounted via NFS. When it comes to encoding, ffmpeg works faster when encoding from a local file than one over NFS, so we have a flag within the cron that allows this: */5 * * * * /path/to/php /ADMINPATH/longqueue.php --tmpfolder=/tmp/ Note - Be sure to change /ADMINPATH/ to the actual system path to your admin panel and /path/to/php to your PHP path. NOTE - If you're going to be encoding using multiple servers, you'll need to make sure the --thread parameter is different across all machines: # Server 1 */5 * * * * /path/to/php /ADMINPATH/longqueue.php --thread=1 # Server 2 */5 * * * * /path/to/php /ADMINPATH/longqueue.php --thread=3 Database Support | |
|