Developer forum

Forum » Development » Loadbalancer
Martijn van Tongeren
Reply

Hi,

We want to set up a loadbalancer. We have 2 webservers, 2 MSSQL servers with sync and 1 load balancer. Does anyone have experience with these kind of setups?

We're wondering, what happens when a contentmanager logs on in CMS and adds files with the DW filemanager. Are theses files always stored at the same webserver (a contentmanager is always redirected to the master webserver) or does this depend on whether the loadbalancer redirects him to webserver 1 (master) or webserver 2 (slave)

Br, Martijn


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Martijn

Using sync between SQL i have not tried - we usually recommend a SQL Cluster.

When using 2 or more servers, you should make sure all editors get to the same node, i.e. Node A, by using a hostname for administration:

Server A:

http://manage.yoursolution.com/admin (DNS of manage.yoursolution.com points directly to the IP on server A)

http://www.yoursolution.com (DNS of www.yoursolution.com points to the IP of the loadbalancer)

 

Server B

http://www.yoursolution.com (DNS of www.yoursolution.com points to the IP of the loadbalancer)

http://www.yoursolution.com/admin -> redirect to http://manage.yoursolution.com/admin on server A

Files

Regarding /Files, you have some options

  • Sync /Files between the 2 servers using i.e. Robocopy. do not sync log + cache folders
  • If server A + B are virtual, they could share the same physical drive making syncronisation un needed.
  • You could also use a UNC path (\\server\folder) for mapping /Files, but you should be aware of permissions on the share and performance when using UNC for serving files.

BR Nicolai

 

You must be logged in to post in the forum