On Thu, 25 Oct 2001, Dirk H. Schulz wrote:

> Did anyone succeed in setting up a HA-System with freevsd? And how did you 
> do it?

I tried it, and it nearly worked :-} This is using the heartbeat system
from linux-ha.org, RH 7.1, with freevsd-1.4.9-2rh7.i386.rpm and
freevsd-pkgs-1.4.9-2rh7.i686.rpm.

The problem was that when the interface was brought up by VSD on the
second (standin) system, I couldn't connect to that interface. This may
have something to do with my ISP's router though - it worked fine on the
workbench when I was setting it up, when only a hub and no router was
involved. I could also connect from the primary system to the secondary
through that interface - if anyone has any ideas what might be wrong,
please let me know :-) Maybe the router fixes the route to that interface
on the primary system, then doesn't notice that it's moved?

The various heartbeat config files look like this:

/etc/ha.d/ha.cf

        serial /dev/ttyS0
        udp eth1
        keepalive 1
        deadtime 10
        baud 19200
        udpport 694
        node pri.xxxxxx.com
        node sec.xxxxxx.com

/etc/ha.d/haresources

        pri.xxxxxx.com 195.128.90.128 bogus vsd named

(I changed the IP address in these examples, but the principle is the
same.) The "bogus" service is one I used to debug heartbeat when I was
installing it - it just touches a "bogus.run" file in /var/run when it's
started, and deletes it when it stops. Easier than waiting for other
services to start or not start.

Other than that, it's a standard install. Don't let vsd start when yuor
sytem boots - heartbeat will take care of that for you. One problem you
may have if you're hosting plenty of VSD servers is the time it will take
for rsync to copy files over from one disk to another - it can take
minutes, not seconds, just for one server. I suspect some kind of shared
storage separate from the physical servers would work better - this would
also prevent the need to try and merge files from your secondary system
back to your primary in the event of failover, which could get messy.

regards,

--
Simon Burns


------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to