web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2015 with mirrored SQL

(0) ShareShare
ReportReport
Posted on by 2,601

I've inherited the install and configuration of a CRM 2015 system which has 2 SQL databases which are mirrored.

The CRM install was completed on the 01 (main) SQL connection.

I'm now setting up the 02 (secondary) SQL Server.  The Org and MSCRM_Config databases exist on both SQL Servers and if one SQL Server is restarted the other database becomes the primary.

If the 02 SQL Server becomes the primary, I update the CRM Connection reg setting, and update the Org ConnectionString in SQL (as per https://technet.microsoft.com/en-us/library/hh699791%28v=crm.6%29.aspx?f=255&MSPPError=-2147217396).

The issue I have though is that some of the users/groups don't exist on the 02 SQL Server.  When we first ran CRM in this state it complained about a user not having permissions.  We created that user and it works fine now but I don't know what will happen when other users are added.

If I create another user in CRM does it make changes to the in-built SQL Groups to work?  i.e. SQLAccessGroup?

Has anyone done an install similar to this?  If so, what did they do with the security permissions on 02 SQL Server?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rickard Norström Profile Picture
    on at

    Hi,

    I'm not an SQL server wiz but CRM 2015 is not designed to do that and the technet page is describing how you do it in CRM 2013/2011. For 2015 you should use the high availability in SQL Server. The "old" way might work but as you point out there something isn't configured the way it's supposed to be done which might be a case of some step being missed.

  • Verified answer
    Community Member Profile Picture
    on at

    If anything in crm entities records, that will syn to mirror database. if you adding user from sql serve security, then you have to do manually on mirror database.

    Mirror is concept of replication, but it is for entire database. you can't pick for specific tables.

    If my response is helps you, please mark as "Verified"

  • CU21020959-0 Profile Picture
    2,601 on at

    For reference for anyone else doing this I followed the steps in the technet link and created the 3 SQL groups (ReportingGroupName, SqlAccessGroupName, PrivReportingGroupName) on the mirror server.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans