Thread "data folder in multiple VMs with load balancer"
Tabs
-
Deleted | 16. Jul 2019, 09:37
data folder in multiple VMs with load balancerHi,
We try to setup the ILIAS with 1 Load Balancer (LB) and 3 application server (VM1, VM2, VM3), 1 database server.
We have setup lyscnd to do folder sync but this only work 1 one way (master to slave, VM1 to VM2 and VM3). Meanwhile, if the LMS user use VM2 and VM3 then the file that they upload like video in mediacast module will not be sync to other server. Whilst, we can't change the ilias/data folder to be outside of the ilias parent folder in /var/www/html because the link, for example video mediacast, the link to the video will be using http protocol for eg:
http://univlms.com/data/iliasv1/mobs/mm_200/videofile.mp4
In this case, I dont think NFS can help, because NFS not accessible via http
Please share with me on how to achive the ILIAS installation with multiple VMs.
Thank you -
ILIAS_LM | ILIAS_LM (Moderation) | 16. Jul 2019, 11:25
Re: data folder in multiple VMs with load balancerQuote (yvthulek)Please share with me on how to achive the ILIAS installation with multiple VMs.Just a thought if no one presents his/her setting:
In the Special Interest Group "Performance" are some best practice configurations of institutions listed:
https://docu.ilias.de/goto_docu_grp_5178.html ("best practice" and "performance wiki")
Maybe you'll find some settings similar to your goal and you can adapt. I know there are some with loadbalancer.
Good luck! -
Deleted | 17. Jul 2019, 04:15
Re(2): data folder in multiple VMs with load balancerHi Alix,
Thanks for the direction. I've go to the SIG group and found the idea that the solution is using the NFS. We have tried this after read that forum and successful. 1 load balancer, 3 VMs of ilias, 1 DB, 1 NFS.
so the external and internal data in ilias all will be stored in NFS. Then mount that two folders to all VMs as a path to internal and external data required by ilias (in ilias.ini.php).
Thank you again