System Install
Install NSO for production use in a system-wide deployment.
Last updated
Install NSO for production use in a system-wide deployment.
Last updated
© Copyright 2024 Cisco Systems, Inc. | This site is part of the official Cisco Crosswork NSO documentation set.
Complete the following activities in the given order to perform a System Install of NSO.
Start by setting up your system to install and run NSO.
To install NSO:
Fulfill at least the primary requirements.
If you intend to build and run NSO deployment examples, you also need to install additional applications listed under Additional Requirements.
To download the Cisco NSO installer and example NEDs:
Go to the Cisco's official Software Download site.
Search for the product "Network Services Orchestrator" and select the desired version.
There are two versions of the NSO installer, i.e. for macOS and Linux systems. For System Install, choose the Linux OS version.
If your downloaded file is a signed.bin
file, it means that it has been digitally signed by Cisco, and upon execution, you will verify the signature and unpack the installer.bin
.
If you only have installer.bin
, skip to the next step.
To unpack the installer:
In the terminal, list the binaries in the directory where you downloaded the installer, for example:
Use the sh
command to run the signed.bin
to verify the certificate and extract the installer binary and other files. An example output is shown below.
List the files to check if extraction was successful.
To run the installer:
Navigate to your Install Directory.
Run the installer with the --system-install
option to perform System Install. This option creates an Install of NSO that is suitable for production deployment.
For example:
Some older NSO releases expect the /etc/init.d/
folder to exist in the host operating system. If the folder does not exist, the installer may fail to successfully install NSO. A workaround that allows the installer to proceed is to create the folder manually, but the NSO process will not automatically start at boot.
The installation is configured for PAM authentication, with group assignment based on the OS group database (e.g. /etc/group
file). Users that need access to NSO must belong to either the ncsadmin
group (for unlimited access rights) or the ncsoper
group (for minimal access rights).
To set up user access:
To create the ncsadmin
group, use the OS shell command:
To create the ncsoper
group, use the OS shell command:
To add an existing user to one of these groups, use the OS shell command:
To set environment variables:
Change to Super User privileges.
The installation program creates a shell script file in each NSO installation which sets the environment variables needed to run NSO. With the --system-install
option, by default, these settings are set on the shell. To explicitly set the variables, source ncs.sh
or ncs.csh
depending on your shell type.
Start NSO.
Once you log on with the user that belongs to ncsadmin
or ncsoper
, you can directly access the CLI as shown below:
As part of the System Install, the NSO daemon ncs
is automatically started at boot time. You do not need to create a Runtime Directory for System Install.
To conclude the NSO installation, a license registration token must be created using a (CSSM) account. This is because NSO uses Cisco Smart Licensing to make it easy to deploy and manage NSO license entitlements. Login credentials to the Cisco Smart Software Manager (CSSM) account are provided by your Cisco contact and detailed instructions on how to create a registration token can be found in the Cisco Smart Licensing. General licensing information covering licensing models, how licensing works, usage compliance, etc., is covered in the Cisco Software Licensing Guide.
To generate a license registration token:
When you have a token, start a Cisco CLI towards NSO and enter the token, for example:
Upon successful registration, NSO automatically requests a license entitlement for its own instance and for the number of devices it orchestrates and their NED types. If development mode has been enabled, only development entitlement for the NSO instance itself is requested.
Inspect the requested entitlements using the command show license all
(or by inspecting the NSO daemon log). An example output is shown below.
Frequently Asked Questions (FAQs) about System Install.
Prepare
Install
Finalize