I am wondering if someone has tips or tricks for a smooth cumulative update platform deployment on internal or external (customer) systems. We're struggling with the deployment.
(NAV 2013+)Deployment options Microsoft
Microsoft offers basically
three options:
- Remove installation and reinstall with a NAV DVD on a higher CU
- Use ClickOnce (Windows RTC and Web Client only)
- Manual patching
Our current patching process
We're currently going for the manual patching process. To patch the Windows RTC we've made a simple script to ease the deployment on environments with multiple workstations. On application/terminal servers we still patch NAV manually.
Your patching process
Is this a struggle for you guys too? Did you find solutions to make the deployment easier? How do you guys do it?
Testing platform CU
How do you test a new platform build? At customers who have the test and production service tiers on the same servers it's hard to patch first the test NSTs before the production NSTs. With Tegos this is possible, but I would like to avoid this on production servers as it makes the installation more complicated.
New approach
I'm thinking about solving the issue with powershell scripts. To automate the manual deployment. Scan a system (registry) on installed NAV components and automatically patch those to the new build. With a few smart things in it like checking if files are not locked, making a backup, etc. But before going down this road I would like to know how others have resolved the issue.
Comments
http://www.dynamics.is/?p=2196
I think the best option is generating new v-servers based on the new NAV CU DVD. Unfortunately this option is at this time out of reach as most environments are still on-premises and managed by different parties. In the near-future, with the cloud and all, this will be the best practice I assume.
I think reinstalling NAV is a robust option from most perspectives. Though, I don't think reinstalling is dummy proof. If I uninstall NAV all the Web Clients, Help Server and Default NST are removed. These need to be reinstalled and reconfigured with or after the new CU installation. I'm not so happy about that.
With the multiple diverse environments I have in mind I think I will stick to the manual patching. I've made a list with requirements for a script to do the deployment automatically and started to work on a powershell module.
I'm still interested in how you manage CU platform deployment. Please let me know. Any thought on this subject is welcome!
Creating the CU patch
I've taken the script from this (How to get back the ‘hotfix directories’ from NAV 2015 Cumulative Update) blog post as example to create a CU patch. I've refactored the script and added the functionality that it includes language specific files from the NAV DVD. https://pastebin.com/z3wHEqZ3
Deploying the CU patch
I'm almost done with the PS module. My intention is to publish it online when it's done.
Basically what it does:
I want to publish it online on GitHub. Is it handy to create a new thread somewhere on this Mibuso forum to support this thing or something like that? What would be a good category to place this? (First time I will publish a project myself )
Once it's online. Is someone willing to proofread the documentation?
https://forum.mibuso.com/discussion/72044/tool-powershell-module-to-create-and-deploy-nav-cu-patches/