Is this really the version you are looking for? Kentico Xperience 8.1 Documentation is no longer updated. Use the switcher in the header to choose your product version.
You can set up bi-directional content staging between servers — the servers are not exclusively source or target servers, and can transfer changes both ways. The advantage of bi-directional configurations is that you can make changes not only on the source server, but also on the other servers. The changes are then transferred to the rest of the servers.
There are two types of bi-directional content staging, depending on the number of servers between that you want to synchronize:
If you want to perform content staging bi-directionally between two servers, you need to configure both servers as a source and a target server at the same time, as described in Configuring content staging.
Additionally, you need to prevent synchronization loops. Perform the following on both servers:
This ensures that the servers do not attempt to synchronize changes that are the result of staging from the other server.
Bi-directional content staging is also possible on more than two servers. In this case, the data of each transferred staging task contains a list of servers where the task was already processed. This prevents redundant staging tasks from being logged for servers where the changes have already been performed.
The rule is that you need only one path between any two servers in both directions. The following figures show examples of supported server topologies. The rectangles represent servers, and the arrows indicate the flow of content staging synchronization tasks.
Other topologies are not supported. The following diagram shows an unsupported environment — there are two paths from the LIVE server to the TEST server, which breaks the rule.
The following steps describe how to configure bi-directional staging for three servers using a star topology — a development, test and live server.
For all servers that you want to include in the bi-directional staging:
Edit the web.config file of the application.
Add the following key into the appSettings section:
<add key="CMSStagingServerName" value="Dev" />In the Kentico administration interface, open the Staging application.
Select the Servers tab and click New server.
Configure the new server to target the Test server.
Edit the web.config file of the application.
Add the following key into the appSettings section:
<add key="CMSStagingServerName" value="Test" />In the Kentico administration interface, open the Staging application.
Select the Servers tab and click New server.
Configure the new server to target the Dev server.
Create another server.
Configure the new server to target the Live server.
Edit the web.config file of the application.
Add the following key into the appSettings section:
<add key="CMSStagingServerName" value="Live" />In the Kentico administration interface, open the Staging application.
Select the Servers tab and click New server.
Configure the new server to target the Test server.
You have now set up bi-directional staging between three servers.
Setting staging server names for web farms
If any of the servers within your staging topology run in a web farm environment with multiple servers (Kentico instances), you need to set the CMSStagingServerName web.config key to the same value for each instance within the web farm.
For example, if your Live server in the sample scenario above consists of multiple Kentico instances running in a web farm, set the CMSStagingServerName key's value to Live on all web farm instances.