[OpenAFS] Heartbeat + DRBD + OpenAFS, any suggestions?

Kyle Moffett kmoffett@tjhsst.edu
Mon, 21 Mar 2005 19:17:41 -0500


On Mar 21, 2005, at 17:36, Jeffrey Hutzelman wrote:
> There are a number of potential problems here...
>
> - You will need to restart the fileserver in order to get it to notice
>  a vice partition that was not there when it started.

Ok, I'd found that bit in the docs, but it's good to get confirmation.

> - You will need to resync the VLDB against the "new" partition in order
>  to get it to notice that the volumes have moved.  Use a command like
>     # vos syncvldb -server emperor -partition /vicepa

Aha!  The black-magic incantation I need to recite under a full moon 
when
the planets are aligned... :-D  Thanks!

> - The bosserver can tell when the fileserver has not shut down cleanly,
>  and will force a full salvage of all partitions in that case.  
> However,
>  it cannot tell when a particular partition was last used on a 
> fileserver
>  that was shut down uncleanly.  So, if you want the salvage to happen,
>  you will need to trigger it manually.  Note that a full-partition
>  salvage will normally require shutting down the fileserver.

Ok, this I can handle.  However, I have one more question.  Since DRBD
already does my unclean-shutdown detection for me, I don't want the
fileserver to force a salvage in the following circumstance:

Server A              Server B
[Running]             [Running]
[Dies]
                       [Takes over /vicepa]
                       [Salvages /vicepa]
[Started]
[Takes over /vicepa]
[Salvages everything] <== This is a duplicate

Is there any file I can delete before starting the bosserver to indicate
that all filesystems it finds are already clean?

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r  
!y?(-)
------END GEEK CODE BLOCK------