locked
DB Mirroring and Failover in CRM 4.0 RRS feed

  • Question

  • Hello Everyone,

    I'm working on a project to set up database mirroring for a CRM 4.0 deployment with SQL 2008 dbs. We have a production environment and a mirrored environment, and they both have an APP server and a DB server. We're setting up high-safety mode mirroring, so the SQL server in the production environment is the principal server, and the SQL server in the mirrored environment is the mirrored server, and there is a witness server.

    As this is a first for me, I wanted to confirm a few things about my understanding of what I've read in this article: http://support.microsoft.com/kb/952278

    1. The changes in steps 2 and 3 (putting the mirror server into the connection strings in the registry and in the MSCRM_CONFIG db) should enable automatic failover, correct? When the production SQL server goes down, the web server should automatically begin using the mirrored server as its db server?

    2. My initial evaluation of their approach to having a production and a back-up APPLICATION (web) server: there will not be any failover for the web servers - these should not be set up in 2 separate environments where one will be expected to pick up if the other goes down, similar to the SQL servers. Instead, they should be configured as 2 active app servers, and in the instance of one going down, the other will continue to operate. Correct?

    If someone who's done this can confirm or deny these 2 assumptions, I would greatly appreciate it.

    Best Regards,


    Web: http://invoc.net Blog: http://invoc.net/CRM_BPOS_Blog
    Tuesday, March 30, 2010 6:12 PM

Answers

  • Andy

    Your assumptions are essentially correct:

    1. Auto failover should occur, providing you have a witness server, and the mirror is working in synchronous (aka 'high safety') mode

    2. As web servers are stateless, it is appropriate for all server to be concurrently active. You do need a means to ensure any web request is handled by only one of the servers - a couple of options are Network Load Balancing, which is part of the OS, or 3rd party solutions like BigIP

    I don't the article referenced by Michael is relevant in your scenario, as it relates to multiple CRM deployments


    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.excitation.co.uk
    Wednesday, March 31, 2010 7:56 AM
    Moderator

All replies

  • Hi Andy,

    there is a new article from Mirosoft about Sharing Data across Microsoft Dynamics CRM Deployments. I think, it will answer all your questions.


    Viele Grüße

    Michael Sulz
    MVP für Microsoft Dynamics CRM
    • Marked as answer by Jim Glass Jr Thursday, April 1, 2010 3:57 PM
    • Unmarked as answer by Jim Glass Jr Thursday, April 1, 2010 3:58 PM
    Wednesday, March 31, 2010 7:29 AM
  • Andy

    Your assumptions are essentially correct:

    1. Auto failover should occur, providing you have a witness server, and the mirror is working in synchronous (aka 'high safety') mode

    2. As web servers are stateless, it is appropriate for all server to be concurrently active. You do need a means to ensure any web request is handled by only one of the servers - a couple of options are Network Load Balancing, which is part of the OS, or 3rd party solutions like BigIP

    I don't the article referenced by Michael is relevant in your scenario, as it relates to multiple CRM deployments


    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.excitation.co.uk
    Wednesday, March 31, 2010 7:56 AM
    Moderator
  • Hi David,

    you're right, I missunderstud the questions from Andy. My english is not the best, so sometimes I has this error.


    Viele Grüße

    Michael Sulz
    MVP für Microsoft Dynamics CRM
    Wednesday, March 31, 2010 8:40 AM
  • Thank you both! That's the confirmation I was looking for.

     

    Best Regards,


    Web: http://invoc.net Blog: http://invoc.net/CRM_BPOS_Blog
    Monday, April 5, 2010 12:58 PM
  • Thank you both! That's the confirmation I was looking for.

     

    Best Regards,


    Web: http://invoc.net Blog: http://invoc.net/CRM_BPOS_Blog
    Monday, April 5, 2010 12:58 PM