Sync Servers with DRBD

drbdsynchronization

assume if I synchronized two servers and I used DRBD, and after I synced them I installed application on both, if I wanted to add a third server. is that possible? since I think I should create block device and use it in the installation and that is made during configuration of the DRBD on both servers

if yes, is that (add more servers in future) also applicable to NextCloud servers?

Thanks

Best Answer

DRBD 9 can scale to 31 replicas of your data, so 32 nodes. DRBD 8 was limited to 4 nodes through stacking, but it was still possible. You can certainly start with 2 nodes, and then add a third with DRBD 8 or 9.

DRBD is in the mainline Linux kernel, so unless NextCloud is only providing distros that remove DRBD from the kernel, it will be and work there.

There seem to be some misconceptions flying around about DRBD in this thread: You don't need any cluster aware filesystems for DRBD in Active-Passive mode. You would in Active/Active, same as with a shared block device on a SAN. Also, DRBD 9 scales pretty well with up to 32 nodes per cluster, with fancy ways to increase that number.

Related Topic