Running vault concurrently from two web servers

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
msauper
Posts: 17
Joined: Fri Jan 02, 2004 3:45 pm
Location: Philadelphia , USA (EST)
Contact:

Running vault concurrently from two web servers

Post by msauper » Wed Aug 01, 2007 1:55 pm

Can two copies of the vault server run at the same time on different servers against the same database? If this worked it would make an infrastructure reorganization we are doing easier. I can understand if it doesn't.

Best regards,

Metro.
Metro Sauper
President
Sauper Associates, Inc.
221 County House Road
Suite D
Sewell, NJ 08080

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Aug 01, 2007 3:53 pm

The quick answer is that this is NOT supported, since there is no transaction regulation if two Vault servers are updating the same repositories. It can cause database corruption.

With Vault 3.5 it is possible to configure two Vault servers, with each server communicating with a different repository. For instance Vault ServerA updates repositories 1 and 2, and Vault ServerB updates repositories 4 and 5. If you are using Vault 3.5.x I can send you instructions if you're interested in this.

We haven't tested this with Vault 4.0, and Vault 4.0 has an additional database, sgmaster, so it may or may not work with 4.0.
Linda Bauer
SourceGear
Technical Support Manager

msauper
Posts: 17
Joined: Fri Jan 02, 2004 3:45 pm
Location: Philadelphia , USA (EST)
Contact:

Post by msauper » Thu Aug 02, 2007 9:55 am

Thanks for your quick response. We have, in fact, upgraded to Vault 4.0. I will develop a more conventional migration plan.

Best regards,

Metro.
Metro Sauper
President
Sauper Associates, Inc.
221 County House Road
Suite D
Sewell, NJ 08080

Post Reply