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
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
Please check another thread on this forum:
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.
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
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156