cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2861
Views
15
Helpful
3
Replies

Upgrade NSO and NEDs

RichardD2
Level 1
Level 1

Hello,

Is there a recommended upgrade procedure that we could apply in this scenario:

Current: NSO 5.3.1 and cisco-iosxr-cli-7.23

Future: NSO 5.5.2 with cisco-iosxr-cli-7.33

Since the current environment has devices and service(s) (packages) we don't want to lose that in the migration/upgrade. 

None of the documentation we've looked at seems to have enough detail to explain this process.

thanks

R

1 Accepted Solution

Accepted Solutions

makerstr
Cisco Employee
Cisco Employee

Hi,

 

Separate the tasks of upgrading NSO and upgrading the iosxr NED. 
So, 2 options: 

- Upgrade NSO to 5.5.2 keeping cisco-iosxr-cli at version 7.23

- Verify your environment

- install cisco-iosxr-cli-7.33

- Use the ned-migrate action with the dry-run to see if this has an impact on your services

- if ok: migrate devices to new NED version

- (optional) if all devices are migrated, remove old NED version

 

Option 2:

- install cisco-iosxr-cli-7.33

- Use the ned-migrate action with the dry-run to see if this has an impact on your services

- if ok: migrate devices to new NED version

- (optional) if all devices are migrated, remove old NED version

- Upgrade NSO to 5.5.2

 

Consider NED migration and NSO upgrades as separate tasks

 

As long as your packages are compiled with new version of NSO you won't loose any packages while upgrading. 

 

Remember to always do a backup before upgrading, analyse the NSO logs after an upgrade for any warnings or errors, if NSO wants to remove namespaces etc, you need to verify that all packages are compiled correctly

 

View solution in original post

3 Replies 3

makerstr
Cisco Employee
Cisco Employee

Hi,

 

Separate the tasks of upgrading NSO and upgrading the iosxr NED. 
So, 2 options: 

- Upgrade NSO to 5.5.2 keeping cisco-iosxr-cli at version 7.23

- Verify your environment

- install cisco-iosxr-cli-7.33

- Use the ned-migrate action with the dry-run to see if this has an impact on your services

- if ok: migrate devices to new NED version

- (optional) if all devices are migrated, remove old NED version

 

Option 2:

- install cisco-iosxr-cli-7.33

- Use the ned-migrate action with the dry-run to see if this has an impact on your services

- if ok: migrate devices to new NED version

- (optional) if all devices are migrated, remove old NED version

- Upgrade NSO to 5.5.2

 

Consider NED migration and NSO upgrades as separate tasks

 

As long as your packages are compiled with new version of NSO you won't loose any packages while upgrading. 

 

Remember to always do a backup before upgrading, analyse the NSO logs after an upgrade for any warnings or errors, if NSO wants to remove namespaces etc, you need to verify that all packages are compiled correctly

 

Hello,

 

If i have the same ned version for exemple 7.23 for NSO 5.3.1 and NSO 5.5.2.

How does it work? Ned-migration is still mandatory?

 

Thanks

Hi,

 

If the ned version is the same no migration is needed. The NED migration is only needed when the NED yang has non backwards compatible changes. So as long as you are on 7.23.x a regular package update is all that is needed. 

So, to upgrade from 5.3.1 to 5.5.2 all you need is the 7.23 version of the ned compiled for 5.5.2 and follow the regular upgrade procedure. 

 

Br,

Martin

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: