Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Using Powershell to set up two 2013/2015 instances with different builds

Posted on by Microsoft Employee

Hi

I've been looking into using Powershell to set up our customers systems, using the Example-1VM etc. examples.

Ideally, I want to set up any customer with a live and a test system.  These would both have their own instances and importantly, the instances would be run from a different folder to each other.  Initially, the instances would be the same build but as CU's are released, different builds would be able to be tested before going into the live setup.

I can see how to set up another instance using Powershell, but cannot work out how to create another instance based on a different Service folder.  Does anyone know of a way of doing this and hopefully have an example?

Thanks in advance,

Chris

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Using Powershell to set up two 2013/2015 instances with different builds

    Hi Jan

    Thanks for that.  The example of changing the Registry Value seems like it might be the way to go.  At the very least, it's another avenue to explore.  If it works, I'll have to see if I can use PowerShell to modify the Port settings in the config file.

    Cheers

    Chris

  • Suggested answer
    Jan Veenendaal Profile Picture
    Jan Veenendaal 510 on at
    RE: Using Powershell to set up two 2013/2015 instances with different builds

    Please check another thread on this forum:

    community.dynamics.com/.../126789.aspx

  • Suggested answer
    Jan Veenendaal Profile Picture
    Jan Veenendaal 510 on at
    RE: Using Powershell to set up two 2013/2015 instances with different builds

    Hi, I have created a lot of server instances using powershell, but I do not know of a solution for this problem ON ONE MACHINE.

    We solve this by installing on two separate (virtual) machines. Main advantage of that is that when we want to update the live system we can prepare all update scripts on the test system and do not need to change anything (not even paths or service names)  to reproduce the same on the live server.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Using Powershell to set up two 2013/2015 instances with different builds

    Hi Jonathan

    I think you missed the crux of the issue, both instances need to be running from separate Service folders, and all done in Powershell.

    I've done this all manually, just looking for a way to automate it.

    Thanks

  • keoma Profile Picture
    keoma 32,675 on at
    RE: Using Powershell to set up two 2013/2015 instances with different builds

    create 2 nav instances with nav administration tool (or powershell): test and live, each with it's own database. there is no special configuration needed done by you (folders, ...).

    this is standard way of doing for nav projects. often there is used a 3rd nav instance: developing

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans