Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • f10x 21 posts 18 karma points
    Jul 16, 2009 @ 07:07
    f10x
    1

    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!

     

     

     

     

     

     

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    Jul 16, 2009 @ 07:54
    Shannon Deminick
    1

    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.

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    Jul 17, 2009 @ 04:14
    Shannon Deminick
    3
  • f10x 21 posts 18 karma points
    Jul 17, 2009 @ 05:15
    f10x
    0

    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.

     

     

     

     

     

     

     

     

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    Jul 17, 2009 @ 05:40
    Shannon Deminick
    0

    ... karma points ;) ! ?

    yes, i know that's cheeky.

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    Jul 17, 2009 @ 05:43
    Shannon Deminick
    0

    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...

  • f10x 21 posts 18 karma points
    Jul 27, 2009 @ 04:27
    f10x
    0

    I have been advised that the above solution cannot be implemented. WOuld Conceirge or Courier that is available with Umbraco Pro help?

Please Sign in or register to post replies

Write your reply to:

Draft