• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

1 Master Plesk server, 1 slave plesk server

FirstPoint

Basic Pleskian
Hello guys,

Our first server is full right now. So we just setup our second server.

Here is the setup:
- ns1.fqdn pointing to srv1
- ns2.fqdn pointing to srv2
However, we can easily transfer the target of each of the ns to annother server as they are running on failover IPs.

Now the problem we have is DNS synchronisation. We would like srv1 to continue hosting current domains, and srv2 hosting the new domains we will be setting up. Both servers are running Plesk.

We would need srv1 to be running as master DNS server for it's domains, while srv2 is running as slave for these. And srv2 running as master for it's domains, while srv1 is running as slave for these. Hope you get it :s

We've discovered this recent post from the PSA team: http://devblog.plesk.com/2013/10/slave-dns-and-plesk/. We get the idea of the script. However this does not seem to apply for two Plesk servers.

What we would need is to be sure that DNS are sync correctly between both servers. The big problem with the devblog's post is that it directly creats the dns zone files, but Plesk uses the DB to create them.

Can you tell us the good way to configure this ?

Thanks and kind regards
 
I'm not sure, but seems like you should be able to change the script to remotely use Plesk DNS management (e.g. via API-RPC) to create and manage appropriate zones. However I'm not sure what situation you'll get in case of failover. How do you plan to manage your DNS records if one of the servers dies?
 
We will not be changing the routing of the failover IPs. If one of our server is down we might redirect the IP to the other server to just dispay a maintenance page and change the DNS accordingly.

But the main aim si that if srv1 is down, the domains on srv2 keep working well.
 
Back
Top