How to: From Staging server to 3 Load balancing servers
Hi,
we are looking at Umbrco as possible solution for our Intranet/website.
Umbrco was already implemented direclty on the live server by designer before I was involved with this project.
The current set up is:
We have the website on 3 different servers with a load balancer running.
Umbraco is installed on all 3 servers as well.
Making updates is a pain as I have to login using Umbraco and make changes to content on all the three servers inorder to get content live.
Is it possible to have a single staging server where all the updates/changes can be made in Umbraco and then this can be pushed to the three servers where the load balancer kicks in.
A shove in the right direction very much appreciated.
1. Have your umbraco website stored on a central file shared (SAN or NAS)
a) Point each IIS website instance to the UNC path where this shared storage is Example: \\filestorage.yourdomain.com\websites\yoursite You will need to configure a alot of special security parameters to enable this. Here's some links/info:
.Net security policy will need to be updated for the shared folder and for the user you've configured to run the website. EXAMPLE: %windir%\Microsoft.NET\Framework64\v2.0.50727\caspol -m -ag 1. -url "file://\\filestorage.yourdomain.com\websites\yoursite\*" FullTrust -name "MyIISUser"
The IIS user above needs to be granted the appropriate IIS permissions, example: * %windir%\Microsoft.NET\Framework64\v2.0.50727\Aspnet_regiis.exe -ga ActiveDirectoryDomain\ProcessIdentity
Oh yeah, i should mention that because you already have replicated content across your three servers, the easiest way to set up the load balancing properly would be to run DFS or some other replication service between your servers instead of using a SAN/NAS...
How to: From Staging server to 3 Load balancing servers
Hi,
we are looking at Umbrco as possible solution for our Intranet/website.
Umbrco was already implemented direclty on the live server by designer before I was involved with this project.
The current set up is:
We have the website on 3 different servers with a load balancer running.
Umbraco is installed on all 3 servers as well.
Making updates is a pain as I have to login using Umbraco and make changes to content on all the three servers inorder to get content live.
Is it possible to have a single staging server where all the updates/changes can be made in Umbraco and then this can be pushed to the three servers where the load balancer kicks in.
A shove in the right direction very much appreciated.
Thank you for your time and help with this.
cheers!
What you need is 1 of two things:
1. Have your umbraco website stored on a central file shared (SAN or NAS)
a) Point each IIS website instance to the UNC path where this shared storage is
Example: \\filestorage.yourdomain.com\websites\yoursite
You will need to configure a alot of special security parameters to enable this. Here's some links/info:
.Net security policy will need to be updated for the shared folder and for the user you've configured to run the website.
EXAMPLE: %windir%\Microsoft.NET\Framework64\v2.0.50727\caspol -m -ag 1. -url "file://\\filestorage.yourdomain.com\websites\yoursite\*" FullTrust -name "MyIISUser"
The IIS user above needs to be granted the appropriate IIS permissions, example:
* %windir%\Microsoft.NET\Framework64\v2.0.50727\Aspnet_regiis.exe -ga ActiveDirectoryDomain\ProcessIdentity
Issues you'll get with SMB problems and how to fix:
http://support.microsoft.com/?id=911272
http://support.microsoft.com/kb/810886
http://support.microsoft.com/kb/221790/
2. Run a file replication system between all 3 servers. I don't recommend this but i have got it to work with DFS.
Then....
You'll have to specify which servers that share the load balancing in your /config/umbracoSettings.config (which is now stored on your file share)
<distributedCall enable="true">
<user>0</user>
<servers>
<server>web01.mydomain.com</server>
<server>web02.mydomain.com</server>
<server>web03.mydomain.com</server>
</servers>
</distributedCall>
Each of the above DNS names, need to be added to the host headers of your corresponding IIS web server (don't add all host header to all servers!
Finally....
TEST, TEST TEST
I hope this helps, this is about as breif as i can make this... it does take quite a bit of effor to setup these environments.
Here's more information.... Just wrote an entire Wiki entry:
http://our.umbraco.org/wiki/install-and-setup/installing-umbraco-for-load-balanced-environments
WoW! Thank you for taking the time to explain all this.
This is far more complex then I though. Would have to run it through the IT guys and pray it makes sense to them.
Thank you again, Shannon.
... karma points ;) ! ?
yes, i know that's cheeky.
Oh yeah, i should mention that because you already have replicated content across your three servers, the easiest way to set up the load balancing properly would be to run DFS or some other replication service between your servers instead of using a SAN/NAS...
I have been advised that the above solution cannot be implemented. WOuld Conceirge or Courier that is available with Umbraco Pro help?
is working on a reply...