[OpenAFS] Re: heartbeat and OpenAFS

Brent A Nelson brent@phys.ufl.edu
Fri, 14 Mar 2003 18:02:09 -0500 (EST)


Cool.  I shutdown the bosserver on one machine, hexedited the sysid file
to match the UUID of the other server, did "vos changeaddr -remove" on the
addresses listed under the old UUID (from "vos listaddr -printuuid"),
restarted bos, failed-over the file server, and it worked!

The server-side fails over very quickly (a few seconds, depending on how
long salvage takes), but active clients do experience some sort of timeout
of a couple of minutes or so, even with the failover IP address... Any
suggestions on how I might further minimize this delay?

Thanks,

Brent

On Thu, 13 Mar 2003, Brent A Nelson wrote:

> Has anyone already created a failover OpenAFS file server or have any tips 
> to share on how to do it?
> 
> I have two OpenAFS servers with /vicepa kept in sync between the two
> machines with DRBD.  I'd like to have heartbeat failover a single IP
> address between the two machines and manage the starting/stopping of fs,
> but the volume database seems to be too "smart" for that; when the address
> fails over, the volume database rejects the update from the newly started
> file server processes on the new machine, as the failover IP address was
> already registered with the first machine.

making the uuid the same on both machines would solve the problem you're
having.