Defining web farm servers

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

You need to enter the internal URLs of all your servers into the system so that the web farm synchronization module knows which servers should be synchronized.

 

Go to Site Manager -> Administration -> Web farm and click (NewServer) New server, enter the values:

 

Server display name: some descriptive name displayed to the users
Server code name: code name of the server that will be used in server configuration file
Server root URL: the URL of the root of the website, such as http://192.168.1.2/KenticoCMS

 

Click OK to save and repeat the process for every server in your web farm.

 

devguide_clip0616

 

Now you need to update the web.config file on each server and add the following keys into the /configuration/appSettings section:

 

<add key="CMSWebFarmServerName" value="server1"/>

<add key="CMSWebFarmEnabled" value="true"/>

 

where server1 is the appropriate server code name of the given server. Every server must contain only one such key with its own name.

 

Additional low-level settings of web farm synchronization can be done by adding the keys listed in the Web farm synchronization settings section of Appendix C - Web.config parameters into the /configuration/appSettings section of your web.config file.

 

If the synchronization doesn't work as expected, you can check the failed synchronization tasks on the Tasks tab. The processed tasks are automatically removed from the list, the failed tasks are displayed with error message.

 

 

 

License keys

 

Please be sure to enter an appropriate license key for the internal URL of the server.

 

E.g. if the web farm servers are used for domain name example.com and you access them internally through URLs like http://192.168.1.2, http://192.168.1.3, etc., you need to enter separate license keys for example.com, 192.168.1.2 and 192.168.1.3 in Site Manager -> Licenses dialog (you need to do that on one server only and restart the other instances using Site Manager -> Administration -> System -> Restart application).

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?defining_web_farm_servers.htm