Re: drbd strategy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, May 31, 2008 at 7:40 AM, sbeam <sbeam@xxxxxxxxxxxxxx> wrote:
> We have a near-identical system I am thinking of bringing in as a
> DRBD/Heartbeat companion. One solution may be to use csync2
> [http://oss.linbit.com/csync2/] on /etc and /usr/local (the only areas that
> will differ from the stock CentOS). Then setup DRBD for /home and /var.

Probably not a good idea to put the whole "/var" in DRBD, since then
the second machine will have it unmounted when it's in stand-by, and
there are somethings like "/var/run", "/var/tmp" and "/var/spool" that
might be needed even if the machine is in stand-by. I don't think you
might actually be able to start heartbeat without a "/var/run" to
store its pid file.

You would be better off by using a DRBD partition for "/var/lib/mysql"
and leaving the rest of "/var" out of DRBD.

HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux