Continuous delivery and Load balancing

IMPORTANT: If you have ever turned on database storage mode of configurations, you cannot use Continuous delivery.

You can use load-balancing in Continuous delivery the same way, as a project that is not in a load-balanced scenario. You only need to turn on Auto-storage of configurations and Read-only mode of configurations on all of the nodes that are part of the load balancing Live setup.

The auto-storage takes care that all applications settings are saved in the database. This way, there is no inconsistency between the nodes of the load balancing, because they all read and write to the same database. The read-only mode makes sure that environment configurations that are kept on the file system of each node cannot be changed on the Live environment, therefore they will also remain the same on all nodes.

IMPORTANT: The labels and messages, although they reside on the file system, are not protected by the read-only mode. In a load-balanced scenario, you have to synchronize them manually using procedure NLB: Synchronize labels and messages between the nodes from a load balanced setup.

The following table summarizes the applications of the different configuration storage modes:

  FileSystem FileSystem
(shared location)
Database Auto
Transfer environment configurations published2
published2 reject published2
Keep application settings made runtime
reject
reject published2 published2
Load balancing
reject published2 published2 published2
Continuous delivery
reject reject reject published2

 

IMPORTANT: When using database or FileSystem storage, you cannot use Continuous delivery. You can switch from database storage to FileSystem storage mode by migrating the configurations. For more information, see Migrate configurations. To work in Auto-storage mode and use Continuous delivery, you can switch from FileSystem storage mode to Auto-storage mode. For more information, see Turn on Auto-storage mode for configurations.
Once you switch to Auto-storage mode, you cannot get back to the other configuration storage modes.

The following diagram demonstrates how Sitefinity CMS works with auto-storage mode and read-only mode in load-balancing and Continuous delivery:

Continuous delivery - Load-balancing

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?