Load Balancing
Created by Orckestra
C1 CMS Versions supported
This package requires CMS version 5.0 or newer (Build: 5.0.5827.21806).
Note. Along with the package installation, you need to take a few pre- and post-installation steps (see below).
Pre-Installation Steps
- Use Orckestra CMS version 4.1 or later.
- Install Composite.Tools.SqlServerDataProvider.
- Migrate the website data store to an SQL database.
- Enable the "Service Broker" option on the database (see below).
Enabling the Service Broker on the Database in Use
- Stop the website on the web server.
- Run Microsoft SQL Server Management Studio.
- Connect to the server where the Orckestra CMS Database is hosted.
- Open the database's properties (right-click the database in the tree and click "Properties")
- On the "Options" tab, scroll down to the "Service Broker" section.
- Select "True" for the "Broker Enabled" option.
- Click "OK" in the "Database Properties" window.
- Start the website on the web server.
Installation steps
- Log into the CMS Console as an administrator.
- Go to the "System" perspective.
- Open the folders “Packages” | “Available Packages” | " Composite.Tools".
- Select " Composite.Tools.LoadBalancing" and click “Install”.
- Complete the wizard.
Post-Installation Steps
- After installing the package, check the server log (System / Server Log / View Server Log) to see if the package is running. You should see messages like "Package successfully installed" and "LoadBalancing package is initialized in 'Shared' mode".
- Make a copy of the website files and deploy the copy on other servers (see below).
- If necessary, set up one dedicated website instance for the CMS Console administration.
Deploying the Website on Multiple Servers
Once you've finished the setup, make a copy of the website to deploy it on other servers. You can use Composite.Tools.XmlBasedSiteBackup to make a zipped copy of the website.
Important. The Composite.Tools.XmlBasedSiteBackup package will only back up the website file. The SQL database in use will not be backed up.
Then go on and deploy it on as many servers as you need.
You can use the package with Microsoft Network Load Balancing Services, but other load balancing technologies should be usable as well.
When using Microsoft NLB you can use any affinity on the front-end, provided your web application does not introduce machine local session state. The CMS Console cannot run in a load balanced setup with affinity set to “None”, but will work with affinity set to “Single” and “Network”.
Making a Dedicated Instance for the CMS Console Administration
The package does not synchronize all the website files, so we recommend that you have one dedicated instance for the CMS Console administration.
For this, disable usage of the CMS Console in production sites by completely removing the “/Composite” folder.
Important. Removing the /Composite” folder will only work on Orckestra CMS Versions higher than "Version 4.2. Update 1". On this and earlier versions, you should also remove references to AdministrativeAuthorizationHttpModule
from web.config.
Version info
- Current version
- 1.0.5
- Package ID
- 65c59e0b-7bcc-43c1-a682-6e28832b037c