Centos7 webservers ( Wordpress ) with file directory on Truenas (newbie)

Joined
May 30, 2022
Messages
1
Hi All.
I hope you can help me or point me in the right direction
atm im in school and i got an assignment to make 2 webservers running in cluster and files on truenas
i have 2 centos7 webservers ( apache - wordpress - php 7.2 ) runing on them
i have tried search on google for salution but all i find is scripts for stuff i dont know any about

So the 2 websevers need to run one master and one slave with pacemaker
but how do i move the wordpress or files to truenas? what is best and simplest to do?
and should i make the master and slave first?

atm i have one webserver running i my esxi my idea is to clone it when all is running for the website
but i guess i need to redirect wordpress to look for the files on truenas? but how?
or can i replicate all files to truenas? so main webserver has all files and replicat to truenas and if
webserver 1 is down the webserver 2 just point to the truenas?

sorry for my long question kinda lost on this hope any of you can help, Cause i need to do it manually and document it

Best Regards
Mikkel Hjelm Denmark
 
Top