Load Balancing
Set up a load balancer to distribute traffic between the two servers. This can be a hardware load balancer or a software solution like HAProxy or Nginx.
Summary
Database: Point both servers to the same on-premises database.
Media Storage: Use a shared network file share.
Distributed Caching: Set up Redis on-premises for shared caching.
Logging: Use an on-premises ELK stack for centralized logging.
Load Balancing: Implement load balancing with a hardware or software solution.
This setup will ensure both servers share caching, logging, and media, providing a high-availability environment on-premises.
Please verify and suggest if there any better approach available.?
A way to configure umbrcao 13: front end, back end and DB as separate in an on-premises servers.
For an on-premises solution, you can follow these steps:
Database Configuration Ensure both servers point to the same on-premises database.
Shared File Storage Use a shared network file share (NFS or SMB) for media files.
Distributed Caching Use an on-premises distributed caching solution like Redis.
Logging Centralize your logging using an on-premises ELK stack (Elasticsearch, Logstash, and Kibana).
Load Balancing Use a hardware or software load balancer to distribute traffic between the two servers.
Detailed Configuration 1. Database Configuration Ensure your connection string in appsettings.json points to a single shared database:
Configure appsettings.json:
Install the Redis package:
appsettings.json:
Configure appsettings.json:
Summary
Database: Point both servers to the same on-premises database. Media Storage: Use a shared network file share.
Distributed Caching: Set up Redis on-premises for shared caching. Logging: Use an on-premises ELK stack for centralized logging.
Load Balancing: Implement load balancing with a hardware or software solution.
This setup will ensure both servers share caching, logging, and media, providing a high-availability environment on-premises.
Please verify and suggest if there any better approach available.?
The following configuration is available in the Logging settings, for the directory change.
ref: https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/reference/configuration/loggingsettings
is working on a reply...