I wanted to take the opportunity here to introduce a new set of tools shipped together with the recently released NSO 4.1 release.
It's called nct, NSO cluster tools. The purpose of this toolset is to aid the operational team, managing and running a large scale NSO installation.
The typical tasks that face the operator in a clustered NSO installation
- Upgrading all NSO nodes
- Upgrading NEDs/Applications on all NSO nodes
- Act after HA failovers.
- Regular system management on all NSO nodes, managing e.g users, logs, groups, backups, system settings etc.
There already exists a multitude of great tools to do some of these tasks, one of my favourite tools is Ansible,http://www.ansible.com/ , which we used in CloudVPN.
One shouldn't underestimate how error prone the process of manually reconfiguring a set of nodes is. Actually, come to think of it, this is the very reason why we initially built NSO - to be able to automate configuration changes on a set of routers.
Manually going through a set of NSO nodes and manually performing a simple change, say, changing syslog settings on all hosts is almost bound to fail.
The nct tools are ideal for this task, and it's in many ways superior to ansible for the actual task we have - managing NSO nodes. It also lends itself better to ad hoc tasks than Ansible. Anyways, getting started with nct is easy. It's shipped with NSO and it comes with excellent documentation in the form of man pages.
$ man nct
NCT(1) NCS Manual NCT(1)
nct - a collection of tools that can be used to install and manage NCS
I see two main usage patterns for nct.
- One, doing exactly what we did with Ansible in the cloudVPN (vMS) project. Write explicit - project specific - upgrade scripts. This is obviously on a per project basis.
- Second, as a power tool for the operator running an NSO installation.
So - in your next NSO installation - I recommend that you take a good look at these tools and use them.
Hi, I am trying to do system install NSO 220.127.116.11 on Redhat Server. It was an offline server. so I did installed java and ant rpms manually and installed NSO. I can do ssh to nso cli, but I can not see ports opening up for webui. I ha...
Hello, I am trying to send a 'show version' command to my Cisco ASA using Ansible, but I am encountering the following errors and I don't know why. The same thing works for my Cisco router though. Below are some details that might be helpful. Ci...
Hi, I want to run a jsonrpc command to get the live-status of device hostname. I'm trying the below command but couldn't get succeed. Can any one help me to fix this ? Assume i got logged in and get_trans method ran successfully before exec...
Hi all i am using JNC to manage device . Trying to delete specific node on basis of node value which is key to list .
I am trying to use markdelete(Str Path) to delete my node but node able to get correct path for my node with node-name value as getting p...
we have a we-c3560x-24p switch with version 12.2 (55) SE5 that was off our network for a few years and we connected it back up to the network but it shows that there are a few devices connected to it but there is only 1 SFP connected in the G1/1. An...