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

[cobalt-users] High Availability setup. Details missing. Help?



Hi,

    most probably you have seen my posts already in here. I have managed
to create a quite lo-tech HA system using only two RaQs550s

box1 is Web, Mail, Backup MySQL, Secondary DNS.
box2 is Primary DNS, MySQL, Backup Web, Backup Mail.

- I connect the two eth0s to a switch and then to the Net.
- I connect the Two eth1s between them using a crossover cable.
- I run rsync over ssh two synchronise /home/.sites/, /home/.users/ &
/etc/httpd/
- I replicate MySQL from box2 to box1
- I can write little scripts that every 30 secs ping each other, box1
queries MySQL, box2 requests a test Webpage, box2 "talks" to POP, etc.
If any of those fails, each box will try to access "outside" servers. If
a box fails that too will shutdown. The other box takes over the IP of
the shut box.

I would like to setup the site and user information only on one box, not
both.
Which files/dirs so I need to rsync except from:
/home/.sites/
/home/.users/
/etc/httpd/  ???

Do I need to know anything else? Should I copy anything else?

TIA
Yiannis Costopoulos.