[Linux-HA] opinions on simple 2 node heartbeat setup
Holger
hwoehle at arcor.de
Wed Feb 7 07:00:07 MST 2007
Ralf Gross schrieb:
> Hi,
>
> I've a simple setup here. Two server, one is primay with samba/CVS/SVN/Apache,
> the other one is secondary and mainly our backup2tape server. Because the
> secondary server is idle most of the time, I set it up as secondary for
> drbd and heartbeat.
>
> Debian Etch, heartbeat-2 2.0.7-2, drbd 0.7.21
>
> Main purpose is that we are able to switch the samba shares to the secondary
> server if something bad happends with the primary.
>
> Both server are equipped with 4 GbE NICs.
>
> * eth0: client vlan
> * eth1: backup vlan
> * eth2, eth3: heartbeat vlan (2 x NICs, linux xor bonding, bond0)
>
> The heartbeat lan is used for drbd and hearbeat.
>
> x.60.9.1 is the switch ip. Both server are located in the same vlans, but in
> different buildings.
>
> The config below is working, but I would like to get some feedback if there are
> any pitfalls that I may have overlooked.
>
> ha.cf
>
> debugfile /var/log/ha-debug
> logfile /var/log/ha-log
> deadtime 30
> warntime 10
> initdead 120
> bcast bond0
> auto_failback off
> node VU0EM003
> node VU0EM005
> ping x.60.9.1
> respawn hacluster /usr/lib/heartbeat/ipfail
>
> haresources
>
> VU0EM003 IPaddr::x.60.9.211/24/eth0 \
> drbddisk::r0 \
> drbddisk::r1 \
> drbddisk::r2 \
> drbddisk::r3 \
> LVM::volg1 \
> Filesystem::/dev/volg1/server::/server/::xfs::noatime \
> Filesystem::/dev/volg1/public::/public/::xfs::noatime,quota,grpquota \
> Filesystem::/dev/volg1/home::/home/::xfs::noatime,quota,grpquota \
> samba
>
>
>
> Ralf
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
Hi,
why do you have 4 drbddisks? We have a similar cluster running:
Bynari Insight Server (IMAP) and SAMBA.
In our first setup we have had two drbd disks. One for the IMAP Store
and one for SAMBA and homedirs.
In the second , and actually running setup, we only have one big drbddisk.
We measured a great perfomance boost compared to the two-disk-setup.
I think it is much faster to replicate one drbddisk than two or more.
just my five cent
regards
More information about the Linux-HA
mailing list