Skip to main content

Master-Slave Clustering in crayon

Comments

2 comments

  • cPanelMichael
    Hello :) Just using the WHM clustering feature, can the existing servers be added to a newly created cluster and all the existing DNS entries will be 1) preserved, and 2) replicated to both servers?
    Yes, you can enable clustering and set the roles on both servers to "Synchronize Changes". This will automatically sync the zones from each server to one another (both existing and new zones). The examples of adding a server show a standard domain name as in example.com. When a server hosts multiple domains, how does one determine which domain to add? Is it the base domain of the name servers?
    You should use the hostname or IP address of the server you are adding to the cluster. So if I have ns1.example.com and ns2.example.com on one machine and ns1.otherdomain.com and ns2.otherdoman.com, I would add otherdomain.com to a cluster on example.com?
    No, you would add the hostname or IP address of the other server when setting up the cluster in WHM on each server. I'm also concerned by the distinction between synchronize and standalone. Obviously the goal is to have all of the DNS records exist on each server so that if one fails the other has a complete set of records for both sets of web sites. But the standalone role means no changes made on that server are propagated to the other server -- so how is that creating the required redundancy? Yet several posts in this forum indicate it is a bad idea to have the synchronize role on both servers as it may lead to DNS record conflicts.
    The use of "Standalone" as a role is designed for customers that utilize cPanel DNS-Only to exclusively handle DNS zones. Thus, there's no need to synchronize the zones from the DNS-Only machine back to the hosting machine. In fact, it's actually advised to setup a DNS-Only server instead of syncing two hosting servers to each other for better performance. What is the worst case if I get it wrong? Can I quickly revert back to the existing configuration by deactivating clustering without losing all my existing records?
    You can disable clustering without losing any DNS zones. Thank you.
    0
  • gwc_wd
    ]Hello :) Thank you.

    Actually, Thank You! Your explanations were very clear and helpful.
    0

Please sign in to leave a comment.