System Install
Install NSO for production use in a system-wide deployment.
Last updated
Was this helpful?
Install NSO for production use in a system-wide deployment.
Last updated
Was this helpful?
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:
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. At this point, you can choose to install NSO in standard mode or in FIPS mode.
The standard mode is the regular NSO install and is suitable for most installations. FIPS is disabled in this mode.
For standard NSO install, run the installer as below.
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.
NSO starts at boot going forward.
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 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.
A value of 256 or higher is generally considered safe. Reference: .
Go to the Cisco's official site.
For platform tools documentation, refer to the individual package's README
file or to the .
Fetch the latest production-grade NEDs from using the URLs provided on your NED license certificates.
The installation program will unpack the NSO manual pages from the documentation archive, allowing you to use the man
command to view them. The Manual Pages are also available in PDF format and from the online documentation located on in Manual Pages.
Run the sh nso-VERSION.linux.x86_64.installer.bin --help
command to view additional help on running binaries. More details can be found in the Manual Page included with NSO.
For more information on the ncs-installer
, see the man page.
For an extensive guide to NSO deployment, refer to .
To ensure the overcommit remains disabled after reboot, adjust the overcommit_ratio
parameter to match your system memory and add the two lines to the /etc/sysctl.conf
file. See the Linux manual page for details.
Refer to the Linux manual page for more details on the overcommit_memory
and overcommit_ratio
parameters.
To conclude the NSO installation, a license registration token must be created using a (CSSM) account. This is because NSO uses to make it easy to deploy and manage NSO license entitlements. Login credentials to the (CSSM) account are provided by your Cisco contact and detailed instructions on how to can be found in the Cisco Smart Licensing. General licensing information covering licensing models, how licensing works, usage compliance, etc., is covered in the .
In a situation where the NSO instance has no direct access to the Cisco Smart Software Manager, one option is the which can be installed to manage software licenses on the premises. Install the satellite and use the command call-home destination address http <url:port>
to point to the satellite.
When configuring NSO in High Availability (HA) mode, the license registration token must be provided to the CLI running on the primary node. Read more about HA and node types in .
Licensing activities are also logged in the NSO daemon log as described in . For example, a successful token registration results in the following log entry:
Prepare
Install
Finalize