Comments on How to Setup MariaDB High Availability with Heartbeat and DRBD on Ubuntu 16.04 LTS
In this tutorial, we will learn how to achieve high availability of MariaDB using Heartbeat and DRBD on Ubuntu 16.04 server. Heartbeat and DRBD both are used for a cluster solution for any application using two servers. Both servers are work in active and passive mode, one server will work at the same time and another server as a backup server.
1 Comment(s)
Comments
Great post and I have followed it up to the place where we start heartbeat and the next command "mount | grep drbd" I don't get anything.
Everything is good on both servers when I use this "cat /proc/drbd"I have this..version: 8.4.11 (api:1/proto:86-101)srcversion: 2C30693234AB52B30378B070: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----ns:0 nr:0 dw:0 dr:672 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
Here is my harecources file.webserver1 192.168.20.199/24 drbddisk::r0 Filesystem::/dev/drbd0::/var/lib/mysql::ext4::noatimeI also used df -h and do not see the mounted system on /var/lib/msql.Is there something I am missing? Are we to start another fprocess so this gets mounted?