On 06/22/2016 01:00 PM, Lentes, Bernd wrote: > ----- On Jun 22, 2016, at 7:17 PM, Dimitri Maziuk dmaz...@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 once. 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 Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org