[ClusterLabs] design question to DRBD

Dimitri Maziuk dmaziuk at bmrb.wisc.edu
Wed Jun 22 14:34:20 EDT 2016

On 06/22/2016 01:00 PM, Lentes, Bernd wrote:
> ----- On Jun 22, 2016, at 7:17 PM, Dimitri Maziuk dmaziuk at bmrb.wisc.edu wrote:

>> Does your webapp ever write to /srv/www?

> it does.

Yeah, OK, it that case you want DRBD so the writes go to both nodes at

If you have to use DRBD anyway, then you might as well put DocumentRoot,
cgi-bin, etc. on DRBD and use ocf:heartbeat:symlink resource to point
apache to the right directories. Then you have to let the cluster start
apache after the symlink's updated (after DRBD FS is mounted).

Similarly you might as well share the database storage the same way and
let the cluster control the DB server.

You could do a mix-and-match setup with some bits completely independent
and running out of init while some other parts are tied to DRBD and
controlled by the cluster, but that's going to be a pain maintenance-wise.

Dimitri Maziuk
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160622/9a628272/attachment-0003.sig>

More information about the Users mailing list