PowerDNS Authoritative server high availability with MariaDB Galera

Power Up

Testing

After adding more nodes to the cluster, a quick and easy test is to connect to any node in the cluster with the MariaDB client and run a quick SQL statement:

sudo mariadb
SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';

If the size of the cluster is equal to the number of nodes in the cluster, it's time to celebrate! If the size is smaller than expected, either a node did not start correctly, or it cannot connect to the Primary Component.

Conclusion

If you need basic and easy data replication with minimal setup time, MariaDB's Galera Cluster has you covered. Just think what you could do with a slightly more complex configuration with HAProxy [6] and Keepalived [7]. Imagine having a single web interface that could update all PowerDNS Authoritative servers at once, thanks to Galera [8].

The Author

Donnie Greer is a 26-year IT veteran specializing in Linux, IaaS, and as little work as possible. He can often be heard yelling at his Synology NAS: "Work faster! I believe in you!"

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus