Coda File System

Re: Server Replication (was: DNS needed for Coda?)

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Wed, 29 Mar 2000 12:02:59 -0500
On Wed, Mar 29, 2000 at 11:01:36AM +0100, fsg.student4_at_bt.com wrote:
> creating volume coda:test.0 on sf2
> V_BindToServer: binding to host sf2.ss.visual.bt.co.uk
> Volume 15000001 (coda:test.0) created 
> creating volume coda:test.1 on sf21
> V_BindToServer: binding to host sf21.ss.visual.bt.co.uk
> Volume 15000001 (coda:test.1) created 
> Fetching /vice/vol/Volumelist from sf21 sf2

Ok, I've pretty much got it figured out, the setup scripts use grep and
such to find your hosts. However the grep for sf2 will also return sf21,
and this messes up things a lot.

Try the following:

in /etc/hosts on the servers, create `aliases' for your machines:

x.x.x.x sf2.ss.visual.bt.co.uk serverA
x.x.x.x sf21.ss.visual.bt.co.uk serverB

Then use these aliases in the /vice/db/servers file. Since we don't send
out server names, but only server-ip's the clients should have no
problems with this hack.

I don't have any ready solution to work around the brokeness of the scripts.

Jan
Received on 2000-03-29 12:04:19