info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replicating the server


From: Mark D. Baushke
Subject: Re: replicating the server
Date: Thu, 09 Dec 2004 09:00:42 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sandhya <address@hidden> writes:

> We have a scenario where in developers from both US as well as the
> offshore development need to sync to the same repository. For faster
> access we are planning to have two servers replicated. Is there any
> idea how to achieve this with CVS. Is it just O/S copy or is there any
> way to get this done in CVS.

To create a cvs repository as a remote mirror, you will probably want to
use either 

    http://www.cvsup.org/
or
    http://samba.anu.edu.au/rsync/

to transfer the files. You will still need to have write operations go
back to the primary server if you want them generally shared, but using
the CVS_LOCAL_BRANCH_NUM environment variable in conjunction with CVSup
would allow you to maintain a local branch remotely if that were useful.

If you use the latest cvs-1.12.10 sources, you may also specify triggers
on the primary server for all possible write operations to the repository
so that you could initiate a transfer of a commit to the primary to all
of your secondaries immediately.

With cvs-1.12.10 (or higher), there is also the ability to specify a
PrimaryServer in the CVSROOT/config file which would allow you to run
the remote mirror as a secondary for read operations as well as have all
:ext: connections be forwarded or redirected to the PrimaryServer.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBuIS63x41pRYZE/gRAnHOAJ9D4BgFEIjACFJjhv6XNfdkNALAggCeJ7jQ
hRvmzwj5/oUp7Fz3XwlQNl4=
=bGE3
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]