multiserver
multiserver
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.
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.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: multiserver
Normally this would work.
Re: multiserver
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
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
With php-cgi you can have more than two version. (If compile from source)jonn wrote:this is good we can have one server with php5.6 the other with php7
Re: multiserver
yes true, I prefer to have one copy of php per server, much easier to manage.