Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Steps to clone production Environment

Posted on by 245

I am working on dynamics CRM 2016 Onpremise .

I need to create development environment taking the same copy of production environment.

The backend team have already cloned the same copy of production to development server .

Now I have Application server A and

Report and DB in server B

Kindly guide me the steps to make changes so that i get new org URL pointing the new DB server.

TIA

*This post is locked for comments

  • DivyaBharathi Profile Picture
    DivyaBharathi 245 on at
    RE: Steps to clone production Environment

    Thanks Oliver .I have finally figured out and rectified the issue.the CRM App pool user was not added in CRM DB .it worked when i added.

    Now the problem with reporting server .Currently In same CRM DB server Report server is available .In prod report server is in separate server.

    when i open report server config manager instance is disabled and its empty.when i checked in prod sql server 2012 for report server is used.

    Is this is causing the issue.

    77013585.Capture.PNG

  • Suggested answer
    oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: Steps to clone production Environment

    well.. my suggestion it is much better creating an environment from scratch and do the re-import of database.. but anyway

    a few things I suggest you to try

    in your CRM front-end server.. delete the current organization (not the database.. only the org).. and then when you click the import (still in deployment manager) it will show you the current DB so you can create from data.. this can be cause due to user mappings issue.. by re-importing the ORG you should solve that

    another possibility here is the users running the CRM Services and App Pool..

    go the Services.msc and see the properties for each CRM Services, click the tab Logon and see if the user account is a valid one.. or simply select "Local system account"

    go also to the IIS Manager, navigate to the Application Pools, right click in the App Pool used in your CRM website, select Advanced Settings and check the account used in the "Identity" property

  • DivyaBharathi Profile Picture
    DivyaBharathi 245 on at
    RE: Steps to clone production Environment

    Yes Oliver copied the prod VM .I changed the DB and App server name as per the article ,

    dynamicscrmguru.com/.../how-to-clone-crm-on-premise-server-setup-dynamics-crm-on-premise

    but when i try to access the url from iis browse website section it gives me below error,

    40334.Capture.PNG

  • DivyaBharathi Profile Picture
    DivyaBharathi 245 on at
    RE: Steps to clone production Environment

    Yes Oliver copied the prod VM .I changed the DB and App server name as per the article ,

    dynamicscrmguru.com/.../how-to-clone-crm-on-premise-server-setup-dynamics-crm-on-premise

    but when i try to access the url from iis browse website section it gives me below error,

    2768.Capture.PNG

  • Suggested answer
    oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: Steps to clone production Environment

    hi.. what do you mean by cloned server.. they copied the VM ? can you open the server / open IIS and see if the Dynamics CRM website is there? can you access directly through the Server?

  • DivyaBharathi Profile Picture
    DivyaBharathi 245 on at
    RE: Steps to clone production Environment

    Thanks for the suggestion .This cloning approach was suggested by the person who was previously working on this project the back-end team have already cloned the server.

    Also U mean to say once the changes are made then prod Url issue will be resolved.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Steps to clone production Environment

    The may work but as mentioned in the article itself, it is not supported. The supported way is to have a fresh installation on the servers. Once you have the server ready, you can then take a  prod DB back up, restore it on the dev db server and then import organization in deployment manager.

  • DivyaBharathi Profile Picture
    DivyaBharathi 245 on at
    RE: Steps to clone production Environment

    Hi Ravi,

    Now i am facing 404 error when i access prod org url. Kindly suggest me to fix it.

    After some research ended up with this 

    https://dynamicscrmguru.com/2018/07/27/how-to-clone-crm-on-premise-server-setup-dynamics-crm-on-premise/

    will the url work after the changes i make as per the link

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Steps to clone production Environment

    This means you have a replica of your production application server in your dev application server. I don't think creating a copy of production application server as dev server will work if your intention is to have a dev server (replica of prod). Can you check if you are still able to access CRM after this copy? I doubt you can as CRM stores information about the servers in various places incluing registry, config db, org db etc.

  • DivyaBharathi Profile Picture
    DivyaBharathi 245 on at
    RE: Steps to clone production Environment

    Hi Oliver/Ravi,

    Thank you for your response .Kindly note that the DB and organisation is already in DEV server.They cloned the production server in dev .Say i have same copy of prod in dev.

    I am expecting steps to change the org name and DB server replacing the old one.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans