Composite C1 Load Balancing - Setup Guide



Similar documents
Composite C1 Load Balancing Product Sheet

Configuring Network Load Balancing with Cerberus FTP Server

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Moving the Web Security Log Database

Backup / migration of a Coffalyser.Net database

Configure SQL database mirroring

Moving the TRITON Reporting Databases

Installing SQL Express. For CribMaster 9.2 and Later

Juris Installation / Upgrade Guide

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

Deploying Windows Streaming Media Servers NLB Cluster and metasan

How to Setup SQL Server Replication

PrivateWire Gateway Load Balancing and High Availability using Microsoft SQL Server Replication

1 of 10 1/31/2014 4:08 PM

Configuration Task 3: (Optional) As part of configuration, you can deploy rules. For more information, see "Deploy Inbox Rules" below.

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

Bitrix Site Manager ASP.NET. Installation Guide

Team Foundation Server 2012 Installation Guide

Configure ActiveSync with a single Exchange server (Exchange sync for an iphone)

Windows Firewall Configuration with Group Policy for SyAM System Client Installation

GE Measurement & Control. Remote Comms System. Installation and User Reference Guide

estpassport Bessere Qualität, bessere Dienstleistungen!

Network Load Balancing

Idera SQL Diagnostic Manager Management Pack Guide for System Center Operations Manager. Install Guide. Idera Inc., Published: April 2013

R i o L i n x s u p p o r r i o l i n x. c o m 1 / 3 0 /

Crystal Reports Installation Guide

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

Administration Guide. . All right reserved. For more information about Specops Deploy and other Specops products, visit

Silect Software s MP Author

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

Configuring a SQL Server Reporting Services scale-out deployment to run on a Network Load Balancing cluster

Deploy App Orchestration 2.6 for High Availability and Disaster Recovery

SolarWinds Migrating SolarWinds NPM Technical Reference

Ekran System Help File

Logi Ad Hoc Reporting Configuration for Load Balancing (Sticky Sessions)

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

Panorama NovaView. Load Balancing Installation Guide

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Kaseya Server Instal ation User Guide June 6, 2008

Managing Software Updates with System Center 2012 R2 Configuration Manager

MS-55115: Planning, Deploying and Managing Microsoft Project Server 2013

How to monitor AD security with MOM

Building a Scale-Out SQL Server 2008 Reporting Services Farm

QUANTIFY INSTALLATION GUIDE

SELF SERVICE RESET PASSWORD MANAGEMENT DATABASE REPLICATION GUIDE

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

SafeGuard Enterprise upgrade guide. Product version: 6.1

Installing RMFT on an MS Cluster

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

Print Audit 6 - SQL Server 2005 Express Edition

ProactiveWatch 2.0 Patch Management and Reporting

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

Composite.Community.Newsletter - User Guide

safend a w a v e s y s t e m s c o m p a n y

Installing Autodesk Vault Server 2012 on Small Business Server 2008

Click Studios. Passwordstate. High Availability Installation Instructions

Installation Manual Version 8.5 (w/sql Server 2005)

Swyx Trace Tool Server Installation

Moving a CIMPLICITY SQL Database using Detach/Attach Proficy HMI/SCADA CIMPLICITY

SafeCom G2 Enterprise Disaster Recovery Manual

Course 55115: Planning, Deploying and Managing Microsoft Project Server 2013

Microsoft SQL Server Express 2005 Install Guide

Exchange Server Backup and Restore

LOAD BALANCING 2X APPLICATIONSERVER XG SECURE CLIENT GATEWAYS THROUGH MICROSOFT NETWORK LOAD BALANCING

How to Get Your Site Online

Table of Contents. Introduction. Audience. At Course Completion

Installation and Configuration Guide

NovaBACKUP xsp Version 15.0 Upgrade Guide

5nine EASY Backup Quick User Guide

Moving/Restoring the StarShip SQL database

Click Studios. Passwordstate. High Availability Installation Instructions

High Availability Essentials

StruxureWare Power Monitoring 7.0. Side By Side Upgrade Guide For Distributed Systems

Outlook . Step 1: Open and Configure Outlook

Click Studios. Passwordstate. High Availability Installation Instructions

Configuring Windows Server Clusters

Quick Start Guide. User Manual. 1 March 2012

How To Use Kentico+ On A Pc Or Mac Or Macbook

Deploying System Center 2012 R2 Configuration Manager

EventTracker: Support to Non English Systems

TIBCO Spotfire Web Player 6.0. Installation and Configuration Manual

Jet Data Manager 2012 User Guide

Desktop Surveillance Help

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Technical Bulletin. SQL Express Backup Utility

Deploying Migrated IBM Notes Applications to the Cloud

Preparing to Install SQL Server 2005

SQL Tuning and Maintenance for the Altiris Deployment Server express database.

This How To guide will take you through configuring Network Load Balancing and deploying MOSS 2007 in SharePoint Farm.

Backing Up and Restoring Microsoft Exchange Server Cloud Attached Storage. August 2012 Version 3.2

SQL Server Replication Guide

MTA Course: Windows Operating System Fundamentals Topic: Understand backup and recovery methods File name: 10753_WindowsOS_SA_6.

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

ALTIRIS Software Delivery Solution for Windows 6.1 SP3 Product Guide

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Installing OneStop Reporting Products

STIDistrict SQL 2000 Database Management Plans

Database Administration Guide

ISA 2006 Array Step by step configuration guide

Transcription:

Composite C1 Load Balancing - Setup Guide Composite 2014-08-20 Composite A/S Nygårdsvej 16 DK-2100 Copenhagen Phone +45 3915 7600 www.composite.net

Contents 1 INTRODUCTION... 3 1.1 Who should read this guide 3 2 GETTING STARTED... 4 2.1 Prerequisites 4 2.2 Limitations 4 3 PRE-INSTALLATION SETUP... 5 3.1 Installing SQL Server Data Provider 5 3.2 Migrating the website to an SQL-based data store 5 3.3 Enabling the Service Broker on the database 5 4 INSTALLING COMPOSITE C1 LOAD BALANCING... 7 5 POST-INSTALLATION SETUP AND USE... 8 5.1 Preparing another node in your cluster 8 5.2 Deploying the Website on Multiple Servers 8 5.3 Making a dedicated instance for the C1 Console administration 8 5.4 Using Load Balancing 8 6 CONFIGURING COMPOSITE C1 LOAD BALANCING... 9 Page 2 of 9

1 Introduction The Composite.Tools.LoadBalancing package allow Composite C1 to run in an environment where the public-facing website can be clustered and run independently of other nodes in the cluster, allowing for features such as load balancing and fail over being employed. It propagates content and media file changes across nodes connected to the same database used by the Composite C1 Load Balancing package. Figure 1: Network load balancing Content editors can add, edit and delete content like pages and media files on the website - and these changes will be reflected across all nodes in a Composite C1 installation. With the Load Balancing package you can make use of these additional features compared to a standard Composite C1 installation: Composite C1 front-end can now run in a clustered environment Content and media file changes are immediately updated on all nodes 1.1 Who should read this guide The guide is intended for a technical person who knows the network load balancing technologies and capable of setting one up for a website. We expect that this person has an SQL-based Composite C1 website running or is able to migrate an XML-based website to an SQL-based data store. This person should have access to the System perspective in the C1 Console to install packages, migrate the website and make backups if needed, and check the logs. Please note that he or she should also have access to an SQL database to change settings on it. Page 3 of 9

2 Getting started Along with the installation of the Composite C1 Load balancing package, you will take a few pre- and post-installation setup steps. 1. Pre-installation setup: a. Use Composite C1 version 4.1 or later. b. Install Composite.Tools.SqlServerDataProvider. c. Migrate the website data store to an SQL database. d. Enable the Service Broker option on the database. 2. The package installation: a. Install the package b. Check the log 3. Post-Installation setup: a. Deploy the website on multiple servers. b. If necessary, set up one dedicated website instance for the C1 Console administration. 2.1 Prerequisites The Load Balancing package requires Composite C1 4.1 (or later) running with the SQL Data Provider. Both the IIS Server and Microsoft SQL Server must run on Windows Server 2008 or later. Microsoft SQL Server 2005 or later is required. Microsoft SQL Server must have the Service Broker feature enabled. Nodes (websites) are not required to be part of a NLB setup (some nodes may be, some may not). Any Network Load Balancing technology may be used. 2.2 Limitations The Load Balancing package has the following limitations: Administrative sessions may not be load balanced, but need to run on a single server. You can work around this limitation in one of the following ways: o Run a dedicated Composite C1 website which is not part of the cluster and do content editing on this website o Have the load balancing mechanism use sticky sessions for administrative users. For Microsoft Network Load Balancing Services this can be achieved by setting affinity to Single or Network. It will not migrate changes related to website development. Development and staging environments should be managed and migrated using other means the Load Balancing package will not automate migration in this area. The example of changes not supported by the Load Balancing package are: o Data type changes o Changes made to files on the file system (for example, CSS, code files, templates) o Composite C1 packages installations Page 4 of 9

3 Pre-installation setup To properly work, the Load Balancing package requires that you take a few setup steps before installing its installation. Please note that the package requires Composite C1 version 4.1 or later. (Please also see Prerequisites.) The Load Balancing package uses the Service Broker component of Microsoft SQL Server database engine. That s why the Composite C1 website must use an SQL database as its data store and the Service Broker option must be enabled on this database. If your website is an XML-based (uses XML files for its data store), you need to install the SQL Server Data Provider and migrate the website to an SQL-based data store. 3.1 Installing SQL Server Data Provider For the installation steps, please see SQL Server Data Provider: Installation Guide. 3.2 Migrating the website to an SQL-based data store For the migration steps, please see SQL Server Data Provider: User Manual. 3.3 Enabling the Service Broker on the database To enable the Service Broker option on the database used as a data store for the Composite C1 website: 1. Stop the website on the web server. 2. Run Microsoft SQL Server Management Studio. 3. Connect to the server where the Composite C1 database is hosted. 4. Open the database's properties (right-click the database in the tree and click "Properties") 5. On the "Options" tab, scroll down to the "Service Broker" section. 6. Select "True" for the "Broker Enabled" option. Page 5 of 9

Figure 2: Enabling Server Broker 7. Click "OK" in the "Database Properties" window. 8. Start the website on the web server. You can use the Composite C1 Load Balancing 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 C1 Console cannot run in a load balanced setup with affinity set to None, but will work with affinity set to Single and Network. Page 6 of 9

4 Installing Composite C1 Load Balancing Now that you ve completed the pre-installation setup, go on to install the package and make sure it is working properly. To install the Load balancing package: 1. Log in to the C1 Administrative Console 2. In the System perspective, expand Packages / Available Packages / Composite.Tools. 3. Select Composite.Tools.LoadBalancing and click Package Info on the toolbar. 4. In the Package Info view that opens, click Install. 5. Complete the wizard. 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". Figure 3: Load Balancing started successfully Page 7 of 9

5 Post-installation setup and use Once you ve installed the Load Balancing package, go on to deploy copies of the website on other servers. These copies (nodes) are not required to be part of a NLB setup. You can also may have a mixed setup where some nodes are part of the NLB and some are not. You may want to consider having a dedicated instance of the website for the C1 Console administration. 5.1 Preparing another node in your cluster 1. Set up a new server and join it to your load balanced cluster. 2. Copy your Composite C1 website to the new machine. 3. Set up a new IIS site in accordance to the Composite C1 version you are running Please see also Configuring Composite C1 Load Balancing. 5.2 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. (Please note that the website files will be zipped only the SQL database in use will not be backed up.) Then go on and deploy it on as many servers as you need. 5.3 Making a dedicated instance for the C1 Console administration The Load Balancing package does not synchronize all the website files (please see Limitations. We thus recommend that you have set up one dedicated instance for the C1 Console administration. To disable usage of the C1 Console in production sites: 1. Completely remove the "/Composite" folder from the website. 2. For Composite C1 version 4.2 (Update 1) or earlier only, also remove references to AdministrativeAuthorizationHttpModule from web.config. 5.4 Using Load Balancing Users maintaining content should not take any further steps to ensure content change synchronization after the package has been installed and the cluster set up. The Load Balancing package will synchronize all changes to content and media files automatically. Developers that make changes to website files such as CSS documents or Razor functions are responsible for synchronizing these changes across servers on their own. Page 8 of 9

6 Configuring Composite C1 Load Balancing By default Composite C1 Load Balancing will run in shared mode, which enables any node in the cluster to accept changes and alert other nodes about changed data. This works right out of the box and requires no maintenance or additional configuration. You can change the mode to server or client and specify a connection string for the Load Balancing tables other than used by the Composite C1 website by default. If you edit ~/web.config you will find the following settings in the <appsettings />: <appsettings> <add key="composite.loadbalancing.mode" value="shared" /> <add key="composite.loadbalancing.connectionstringname" value="c1" /> </appsettings> Listing 1: Load Balancing settings in web.config Valid values for Composite.LoadBalancing.Mode are listed below. server The Load Balancing package will record and push changes made on the current node. It will not listen for changes made by other nodes. client The package will listen for changes pushed by nodes running in server mode and will invalidate affected caches when notified. shared This is the default setting. The combined mode where the node will both record and push changes and will listen for the changes pushed by other nodes. Page 9 of 9