Collaborator Server > Server Administration

Top |Previous |Next

High Availability Best Practices

The Collaborator server is generally very stable and resilient. In most environments it is appropriate to simply try configuration changes or upgrades in-place (backup first, of course).

However if the server is in constant use by a large number of users, or if Collaborator is vital for your business processes, it may be a good idea to be more cautious. To ensure that a change will not cause a problem on your production Collaborator server, it is best to try it first on a test server.

Creating a Test Server

A test server should mirror your production server as closely as possible so that the results of the change are reproducible. Follow these steps to create a test server:

1)Provision a machine - this should be physically different hardware than the machine that is running your production Collaborator server, and ideally it should have the same specifications. It does not have to be a perfect match, but the closer you get it to the production server the more confident you will be when testing the change.
a)Hardware - this is not that important to get exactly identical unless you are concerned about performance issues.
b)Operating System - this is important. Make sure you install the same operating system version, especially if you are using Windows.
c)Java Virtual Machine - this is vitally important. Make sure that you install exactly the same version of Java.
d)Network Configuration - this is usually not that important unless your change involves communicating with an external system like LDAP, a database service running on a different machine, or configuring https.
e)Database - this is very important, especially when testing upgrades to new versions of Collaborator.

Warning: The test server must have its own database. Do not run the test server with your production database!

2)Install the Collaborator server
a)Download the installer for exactly the same version as your production server.
b)Run the installer. You can click "next" through all the screens and accept the default settings, because those will be overwritten anyway in step 4.
c)When you click "Finish" in the installer it will open a browser to a page that says "Initialize database". DO NOT press the button, instead close the browser.
d)Shut down the Collaborator server.
3)Copy your content-cache - this directory stores the content of the files being reviewed and can become very large. The directory is configured in the installation-directory/tomcat/conf/Catalina/localhost/ROOT.xml file and defaults to installation-directory/tomcat/collaborator-content-cache. Copy the entire directory to the test server in the same location.
a)You can skip this step and your content-cache will simply be empty. Everything will work except when you look at the content of files in old reviews you will see a message "This content has been archived by the Administrator".
b)Another option is to use a network share to your production server's content-cache, mounted to the test server's file system. While not ideal this is fairly safe because Collaborator only ever writes to the content-cache, never deletes.
4)Copy your configuration
a)Copy the following files from your production server to your test server:

installation-directory/ccollab-server.vmoptions

installation-directory/tomcat/conf/collab.ks (may not exist, if not using HTTPS connection)

installation-directory/tomcat/conf/Catalina/localhost/ROOT.xml

b)Edit the "installation-directory/tomcat/conf/Catalina/localhost/ROOT.xml" file using a text editor and change the database information (url, username, password) to point to the test database.
5)Copy your database data - migrate a copy of the data from your production database to your test database as described in Backup/Migration.
6)Start up Collaborator.
a)Immediately disable email notifications so that your users do not get double notifications from your production server and your test server.
b) Click around and make sure everything works. Note that licensing is not an issue - since you have migrated your database your license will work on the test server.

Testing a Change

Once you have set up your test server you can use it to test any change you are considering to Collaborator, especially upgrades to new versions or global configuration changes.


© 2003-2025 SmartBear Software. All rights reserved.