cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
469
Views
0
Helpful
3
Replies

Automate NSO Package Upgrades in a HA environment

moralenterprise
Level 1
Level 1

Dear NSO devs and users,

 

Does anyone have an Ansible-Playbook or an NCT based script or a Normal script that can help me to Automate NSO Package Upgrades in a HA environment (consisting of 2 NSO servers in a Master/Slave setup)

 

We have a lot of custom NSO packages that need to be upgraded often and its a pain doing manual HA failovers and reverting back and forth before performing the package upgrades and cleaning up etc...

 

Many thanks in advance!

 

3 Replies 3

Alexander Stevenson
Cisco Employee
Cisco Employee

 

Hello @moralenterprise,

 

 

In cases such as yours, I always recommend the following:

 

Cisco DevNet Code Exchange

https://developer.cisco.com/codeexchange/

 

Cisco DevNet Automation Exchange

https://developer.cisco.com/network-automation/

 

 

In your specific case, I would also recommend you checkout:

 

ansible-nso

https://github.com/CiscoDevNet/ansible-nso

 

NSO-developer - results for "Ansible"

https://github.com/NSO-developer/?q=ansible&type=&language=&sort=

 

nso-ansible-demo

https://developer.cisco.com/codeexchange/github/repo/NSO-developer/nso-ansible-demo/

 

 

 

Thanks for the response @Alexander Stevenson 

I had already looked at https://github.com/CiscoDevNet/ansible-nso but it does not have any modules for managing an NSO HA cluster.

I also checked out the links you provided but the result is the same. 

Is there a forum where I can chat with/ask other NSO admins for such kind of tools or tips of how to go about it?

Thanks in advance!

Hi @moralenterprise,

 

Too bad you didn't find what you need. I would look at other discussions regarding this topic on here to see who the experts are. I know of no other forums on this topic.