12-14-2023 07:22 AM
I want to upgrade existing NSO instance (5.8) to NSO 6.1.6.
What is the best practice to upgrade without losing data ? I have ned packages and some conf files, how can I move them as well to NSO 6.1.6 more efficiently ?
Any feedbacks are highly appreciated.
12-15-2023 03:49 AM
Have you already reviewed the "Administration guide" documentation on this.
https://developer.cisco.com/docs/nso/guides/#!upgrade
12-15-2023 04:49 AM - edited 12-15-2023 04:49 AM
Thank you for your response. I have the Docker images. However, what remains unclear to me is how to perform the upgrade with Docker images. Currently, I have a Docker image of NSO 5.8, which we created from scratch using the nso-docker tool. Now, NSO 6.1.6 already provides a Docker image. If it were a virtual machine (VM), the upgrade process would be straightforward with the provided link. In the case of Docker images, I'm unsure about the steps to follow.
12-18-2023 12:57 AM - edited 12-18-2023 12:59 AM
How we do it with our nso-docker environment is as follows:
- First: We have shared storage for our containers (where the cdb is located).
- We create a backup (docker exec -t nso bash -lc 'ncs-backup')
- We stop (all) the containers
- We remove all the unused images
- We pull the new container (build with the newest neds, and also containing old neds which are build for the new version)
- We start the new container
- We check if the new container runs
Note: we started using nso-docker at version 6.0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide