You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paul Grinberg <gr...@gmail.com> on 2008/12/12 18:52:50 UTC

distributed subversion server

Hello,

I am wondering if it is possible to setup a subversion server that is
distributed across a number of machines? My concern is that in our case, no
one machine can be trusted to be up/online all the time or over time.
However, it is very likely that at any given time, any one machine would be
up and online. So, ideally, this subversion server would have to be
effectively automatically mirrored across every machine so that the same
contents would be accessible from all machines all the time.

Is something like this possible?
Thank you!

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983504

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by marc gonzalez-carnicer <ca...@gmail.com>.
if your working environment is not able to guarantee being online, i'd strongly
recommend to use a subversion hosting provider. all those that i have tried
are reliable, efficient, extremely affordable (some more than others) and
easy to use. it will save you a lot of work and headaches. besides, for that
price or perhaps a bit more, they'll offer a wide range of additional services.

you can find a list of subversion hosting providers at the subversion project
home page, links section. you'll surely find one that fits your needs. or
enter "subversion hosting" at your favorite search engine.



2008/12/13 Ryan Schmidt <su...@ryandesign.com>:
> On Dec 12, 2008, at 12:52, Paul Grinberg wrote:
>
>> I am wondering if it is possible to setup a subversion server that
>> is distributed across a number of machines? My concern is that in
>> our case, no one machine can be trusted to be up/online all the
>> time or over time. However, it is very likely that at any given
>> time, any one machine would be up and online. So, ideally, this
>> subversion server would have to be effectively automatically
>> mirrored across every machine so that the same contents would be
>> accessible from all machines all the time.
>>
>> Is something like this possible?
>
> Depends how much you want to invest into this. It should be possible
> to have multiple servers accessing a cluster filesystem on a RAID --
> for example, multiple Xserves running Xsan, and a RAID box of some
> kind. Each server would have svnserve (or apache) installed and would
> access the same repository on the RAID. The cluster filesystem would
> prevent concurrent access from corrupting the repository.
>
> Such a setup would likely be totally overkill for just hosting a few
> Subversion repositories, so hopefully you would have other tasks you
> can place on these servers too (web, email, file server, etc.).
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983569
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983748

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by marc gonzalez-carnicer <ca...@gmail.com>.
if your working environment is not able to guarantee being online, i'd strongly
recommend to use a subversion hosting provider. all those that i have tried
are reliable, efficient, extremely affordable (some more than others) and
easy to use. it will save you a lot of work and headaches. besides, for that
price or perhaps a bit more, they'll offer a wide range of additional services.

you can find a list of subversion hosting providers at the subversion project
home page, links section. you'll surely find one that fits your needs. or
enter "subversion hosting" at your favorite search engine.



2008/12/13 Ryan Schmidt <su...@ryandesign.com>:
> On Dec 12, 2008, at 12:52, Paul Grinberg wrote:
>
>> I am wondering if it is possible to setup a subversion server that
>> is distributed across a number of machines? My concern is that in
>> our case, no one machine can be trusted to be up/online all the
>> time or over time. However, it is very likely that at any given
>> time, any one machine would be up and online. So, ideally, this
>> subversion server would have to be effectively automatically
>> mirrored across every machine so that the same contents would be
>> accessible from all machines all the time.
>>
>> Is something like this possible?
>
> Depends how much you want to invest into this. It should be possible
> to have multiple servers accessing a cluster filesystem on a RAID --
> for example, multiple Xserves running Xsan, and a RAID box of some
> kind. Each server would have svnserve (or apache) installed and would
> access the same repository on the RAID. The cluster filesystem would
> prevent concurrent access from corrupting the repository.
>
> Such a setup would likely be totally overkill for just hosting a few
> Subversion repositories, so hopefully you would have other tasks you
> can place on these servers too (web, email, file server, etc.).
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983569
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983748

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=988282

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by Purple Streak <mr...@googlemail.com>.
2008/12/12 Ryan Schmidt <su...@ryandesign.com>:
>
> Depends how much you want to invest into this. It should be possible
> to have multiple servers accessing a cluster filesystem on a RAID --
> for example, multiple Xserves running Xsan, and a RAID box of some
> kind.

If he had enough to invest in a raid then it'd  probably be a lot
easier to just buy a server that's always on.  If it's network issues
then even network storage wouldn't help.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984145

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=988227

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by Purple Streak <mr...@googlemail.com>.
2008/12/12 Ryan Schmidt <su...@ryandesign.com>:
>
> Depends how much you want to invest into this. It should be possible
> to have multiple servers accessing a cluster filesystem on a RAID --
> for example, multiple Xserves running Xsan, and a RAID box of some
> kind.

If he had enough to invest in a raid then it'd  probably be a lot
easier to just buy a server that's always on.  If it's network issues
then even network storage wouldn't help.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984145

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 12, 2008, at 12:52, Paul Grinberg wrote:

> I am wondering if it is possible to setup a subversion server that  
> is distributed across a number of machines? My concern is that in  
> our case, no one machine can be trusted to be up/online all the  
> time or over time. However, it is very likely that at any given  
> time, any one machine would be up and online. So, ideally, this  
> subversion server would have to be effectively automatically  
> mirrored across every machine so that the same contents would be  
> accessible from all machines all the time.
>
> Is something like this possible?

Depends how much you want to invest into this. It should be possible  
to have multiple servers accessing a cluster filesystem on a RAID --  
for example, multiple Xserves running Xsan, and a RAID box of some  
kind. Each server would have svnserve (or apache) installed and would  
access the same repository on the RAID. The cluster filesystem would  
prevent concurrent access from corrupting the repository.

Such a setup would likely be totally overkill for just hosting a few  
Subversion repositories, so hopefully you would have other tasks you  
can place on these servers too (web, email, file server, etc.).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983569

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by km...@rockwellcollins.com.
> I am wondering if it is possible to setup a subversion server that is
> distributed across a number of machines? My concern is that in our case, 
no
> one machine can be trusted to be up/online all the time or over time.
> However, it is very likely that at any given time, any one machine would 
be
> up and online. So, ideally, this subversion server would have to be
> effectively automatically mirrored across every machine so that the same
> contents would be accessible from all machines all the time.
>
> Is something like this possible?

This sounds like the commercial product WANDisco
(http://www.wandisco.com/subversion)

I have not used it, but I do remember it was quite expensive...

Kevin R.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984548

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by km...@rockwellcollins.com.
> I am wondering if it is possible to setup a subversion server that is
> distributed across a number of machines? My concern is that in our case, 
no
> one machine can be trusted to be up/online all the time or over time.
> However, it is very likely that at any given time, any one machine would 
be
> up and online. So, ideally, this subversion server would have to be
> effectively automatically mirrored across every machine so that the same
> contents would be accessible from all machines all the time.
>
> Is something like this possible?

This sounds like the commercial product WANDisco
(http://www.wandisco.com/subversion)

I have not used it, but I do remember it was quite expensive...

Kevin R.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984548

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=988253

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by David Weintraub <qa...@gmail.com>.
Well, it isn't a Subversion setup, but you can setup your network to
mirror the Subversion repository, and to switch servers when one is
down. We've done this in many organizations where I've worked. We get
two servers, and have one system act as a mirror of the other one
which is an active server. Our setup was such that if the server was
down, the alternate server would become our server. Since it was
mirrored, we don't have to worry about restoring. Since this was
handled by the System Administators, it was setup in such a way that
the backup had the same IP and system name. Users never even knew when
the server was down.

Again, this isn't a Subversion setup, but a network architecture
setup. This would work with almost any software.

The Subversion book does shows you how to create a "hotcopy" read-only
repository as a backup. I am not sure 100% how it works. I think
someone said it depends upon a post-commit hook. In that case, if the
original server goes down, you can use the hotcopy system as your
server.

Not as automated as the first way, but it's something that you can setup


Otherwise, Subversion isn't really a distributed system. I don't even
know if it can run under a cluster.
On Fri, Dec 12, 2008 at 1:52 PM, Paul Grinberg <gr...@gmail.com> wrote:
> Hello,
>
> I am wondering if it is possible to setup a subversion server that is
> distributed across a number of machines? My concern is that in our case, no
> one machine can be trusted to be up/online all the time or over time.
> However, it is very likely that at any given time, any one machine would be
> up and online. So, ideally, this subversion server would have to be
> effectively automatically mirrored across every machine so that the same
> contents would be accessible from all machines all the time.
>
> Is something like this possible?
> Thank you!
>



-- 
--
David Weintraub
qazwart@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984169

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by David Weintraub <qa...@gmail.com>.
Well, it isn't a Subversion setup, but you can setup your network to
mirror the Subversion repository, and to switch servers when one is
down. We've done this in many organizations where I've worked. We get
two servers, and have one system act as a mirror of the other one
which is an active server. Our setup was such that if the server was
down, the alternate server would become our server. Since it was
mirrored, we don't have to worry about restoring. Since this was
handled by the System Administators, it was setup in such a way that
the backup had the same IP and system name. Users never even knew when
the server was down.

Again, this isn't a Subversion setup, but a network architecture
setup. This would work with almost any software.

The Subversion book does shows you how to create a "hotcopy" read-only
repository as a backup. I am not sure 100% how it works. I think
someone said it depends upon a post-commit hook. In that case, if the
original server goes down, you can use the hotcopy system as your
server.

Not as automated as the first way, but it's something that you can setup


Otherwise, Subversion isn't really a distributed system. I don't even
know if it can run under a cluster.
On Fri, Dec 12, 2008 at 1:52 PM, Paul Grinberg <gr...@gmail.com> wrote:
> Hello,
>
> I am wondering if it is possible to setup a subversion server that is
> distributed across a number of machines? My concern is that in our case, no
> one machine can be trusted to be up/online all the time or over time.
> However, it is very likely that at any given time, any one machine would be
> up and online. So, ideally, this subversion server would have to be
> effectively automatically mirrored across every machine so that the same
> contents would be accessible from all machines all the time.
>
> Is something like this possible?
> Thank you!
>



-- 
--
David Weintraub
qazwart@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984169

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=988271

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by Purple Streak <mr...@googlemail.com>.
2008/12/12 Paul Grinberg <gr...@gmail.com>:
> I am wondering if it is possible to setup a subversion server that is
> distributed across a number of machines? My concern is that in our case, no
> one machine can be trusted to be up/online all the time or over time.
> However, it is very likely that at any given time, any one machine would be
> up and online. So, ideally, this subversion server would have to be
> effectively automatically mirrored across every machine so that the same
> contents would be accessible from all machines all the time.
>
> Is something like this possible?

Afraid not. You can set up a single read-write main repository and get
that synchronize to one or more read-only repositories (look up
svnsync).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983549

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=988335

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by Purple Streak <mr...@googlemail.com>.
2008/12/12 Paul Grinberg <gr...@gmail.com>:
> I am wondering if it is possible to setup a subversion server that is
> distributed across a number of machines? My concern is that in our case, no
> one machine can be trusted to be up/online all the time or over time.
> However, it is very likely that at any given time, any one machine would be
> up and online. So, ideally, this subversion server would have to be
> effectively automatically mirrored across every machine so that the same
> contents would be accessible from all machines all the time.
>
> Is something like this possible?

Afraid not. You can set up a single read-write main repository and get
that synchronize to one or more read-only repositories (look up
svnsync).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983549

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: distributed subversion server

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 12, 2008, at 12:52, Paul Grinberg wrote:

> I am wondering if it is possible to setup a subversion server that  
> is distributed across a number of machines? My concern is that in  
> our case, no one machine can be trusted to be up/online all the  
> time or over time. However, it is very likely that at any given  
> time, any one machine would be up and online. So, ideally, this  
> subversion server would have to be effectively automatically  
> mirrored across every machine so that the same contents would be  
> accessible from all machines all the time.
>
> Is something like this possible?

Depends how much you want to invest into this. It should be possible  
to have multiple servers accessing a cluster filesystem on a RAID --  
for example, multiple Xserves running Xsan, and a RAID box of some  
kind. Each server would have svnserve (or apache) installed and would  
access the same repository on the RAID. The cluster filesystem would  
prevent concurrent access from corrupting the repository.

Such a setup would likely be totally overkill for just hosting a few  
Subversion repositories, so hopefully you would have other tasks you  
can place on these servers too (web, email, file server, etc.).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983569

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=988254

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].