Balancing the Load on Your Servers
Load Balancing has 2 purposes:
To enable load balancing, set up several servers that include the same files.
WARNING! The physical path to the Ektron Web site must be the same on all servers being load balanced. Also, sticky sessions must be enabled.
Then, purchase load balancing equipment to evenly distribute content requests among the servers. Whenever an image or file gets uploaded to your Web site, regardless of the Web server the user is working on, the asset is replicated on both servers.
The client browser is unaware that more than one server is involved. All URLs point to a single Web site. The load balance software resolves them.
Ektron provides different strategies for load balancing library images and files and DMSassets.
See Also: eSync in a Load Balanced Environment
Library load balancing is important when your configuration consists of 2 or more Web sites that share one database. Library files are not saved in the database but in the site root folders uploadedfiles
and uploadedimages
.
To support load balancing, library files on all servers must be identical. To maintain this state, whenever a user uploads an item to the library, it is replicated on all other servers. After following the setup instructions, whenever an image or file is added to the library of one server, it is copied to the corresponding folder on other servers in the configuration.
C:\Program Files\Ektron\EktronWindowsService40\Ektron.ASM.EktronServices40.exe.config
using a word processor such as Notepad.LibraryLoadBalanced
property to 1.LoadBalServerCount
property to the number of servers in your load balance cluster.See Also: Ektron Windows Service
Asset load balancing is important when your configuration consists of 2 or more Web sites that share one database. Ektron balances requests to work with assets from multiple servers by ensuring that each server has a copy of every asset.
After setting up asset load balancing, any asset added to one server is copied to the corresponding folder on other servers in the configuration. There is no limit to the number of servers that can be load balanced.
The following table shows the load balance setting summary.
File | Settings (on all servers) |
---|---|
|
|
|
Where x is the number of servers in load balanced configuration |
To set up load balancing for assets, follow these steps on all servers that are load balanced together.
AssetManagement.config
file using a word processor such as Notepad. LoadBalanced
element to 1.C:\Program Files\Ektron\EktronWindowsservice40\
Ektron.ASM.EktronServices40.exe.config
LibraryLoadBalanced
property to 1.LoadBalServerCount
property to the number of servers in your load balance cluster.Prerequisite: You must be an Administrators group member.
Asset and Library files may become out-of-date or lost due to equipment failures, power outages, or other events. In addition to your Load Balance system, Ektron provides a way to refresh the files contained in the DMS Assets folders and Library Files and Images folders.
NOTE: Open Port 8732 on Load Balanced Servers for Load Balancing Refresh to work properly.
IMPORTANT: Previously, Ektron used Port 6079 for communication between load balancing servers. Starting with version 8.01, this port is no longer used and can be closed in your firewall.
To refresh the load balanced files:
WARNING! If you click Start and the screen quickly returns and files do not refresh, or if a server is missing from the status list, check your Load Balancing settings in Ektron.ASM.EKtronServices30.exe.config
.