Page 1 of 1

multiserver

Posted: Mon Jan 25, 2016 3:29 am
by jonn
Had question regarding multi-server and clustering.

I read a few posts that have touched base on this subject though would like to know if I start this I will be able to multiply our servers just using vestacp when the time arises.

What I was thinking was setup 1 big server instance to host domains ( mysql,php,mail etc ) and
two extra dns servers all using vestacp as ( dns-cluster ).

vestacp Master1 - server.example.com ( mysql,php,mail,etc ) dns registered as ns0.example.com
vestacp Master2 ( dns-cluster ) - ns1.example.com - ( dns only records )
vestacp Master3 ( dns-cluster ) - ns2.example.com - ( dns only records )

Lets assume we then have customers set their domain name name-server record at the registrar to (ns1 & ns2) and not ns0.
Seeing that the Master1 ( server.example.com ) is set already in the dns by default this should work, am I thinking correctly here.

Eventually what I would like to have is:
server1, server2, server3 all forwarding dns to the 2 vestacp ( dns-cluster ) accounts on the two separate servers as ns1,ns2.

Thanks.

Re: multiserver

Posted: Mon Jan 25, 2016 7:51 am
by tjebbeke
Normally this would work.

Re: multiserver

Posted: Thu Jan 28, 2016 12:07 am
by jonn
yes works.

2 host servers synced to 2 dns server all running vestacp.
this is good we can have one server with php5.6 the other with php7

Re: multiserver

Posted: Thu Jan 28, 2016 12:06 pm
by skurudo
jonn wrote:this is good we can have one server with php5.6 the other with php7
With php-cgi you can have more than two version. (If compile from source)

Re: multiserver

Posted: Sat Jan 30, 2016 3:41 am
by jonn
yes true, I prefer to have one copy of php per server, much easier to manage.