Coda File System

Re: Question about adding a second server in my cluster

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Wed, 27 Aug 2003 09:31:30 -0400
On Wed, Aug 27, 2003 at 01:03:52PM +0200, Joost Kraaijeveld wrote:
> I have set up a SCM with a client. This works, including working on the
> client while the SCM is down. Now I want to add a second computer to my
> cluster. I did the various steps as descibed in the docs. 
> 
> How can I see that the replication is working (except by turning off the
> SCM)? 
> 
> I expected to see files appearing in the /vicepa on my second server but
> they do not appear. Is the rootvolume not replicated?

Not unless you recreate the rootvolume. At the time the volume is
created the 'replication group' is specified (the E0000100 number).

createvol_rep uses that number to find on which servers the volume
replicas should be located and creates those replicas. Their volume-ids
and other information is then written to the VRList. The VRList file is
then converted to the binary VRDB (volume replication database) which is
queried by the clients.

When you add a new server, it doesn't have volume replicas for existing
volumes and none of the VRDB entries actually refer to anything on the
new server. At some point in the future we will be able to grow the
replication group for an existing volume (we're getting closer every
release) but for now you have to create new volumes for the new
replication group.

Jan
Received on 2003-08-27 09:32:32