Good day everyone!
How can i separate the moodledata from web address of moodle to different data server?
I am using 2 ubuntu 16.04 server.
Thanks in advance.
'moodledata' is not linked to the web address, so I don't really understand your question.
You can put 'moodledata' anywhere you like (pointed to by $CFG->dataroot in Moodle's config.php) - including on an NFS share or similar. If it IS on an NFS share you will need to move your MUC/Cache to a proper cache server (Reddit, memcached etc.) as NFS is too slow for the default file cacheing.
Thanks for your reply!
I'd already got the setup.
I setup a high availability server with 1 load balancer, 2 web server and 1 database and data server.I just got confuse on how to point the moodledata to the data server.