CISCO Crosswork NSO Telemetry Traffic Collector Function Pack Installation Guide

June 14, 2024
Cisco

CISCO Crosswork NSO Telemetry Traffic Collector Function Pack Installation Guide
CISCO Crosswork NSO Telemetry Traffic Collector Function
Pack

Preface

Abstract
Function packs are installed on the Cisco Network Services Orchestrator (NSO) platform and used to push
services and network configurations to devices.

The Telemetry Traffic Collector (TM-TC) function pack utilizes Cisco NSO Reactive FastMap (RFM) nano
services to manage the telemetry configuration on devices.

The TM-TC function pack version 4.4.0-116 must be installed on Cisco NSO 5.7.6 and is intended for use with Cisco Crosswork 4.4.

This document describes how to install and configure the TM-TC function pack.

Audience
This document is intended for experienced network users and operators who have a good understanding
of Cisco NSO and its usage.

Additional Documentation
Please refer to the Cisco NSO documentation for more information about Cisco NSO

Before you Begin

Cisco NSO 5.7.6 must be installed on your system before installing the Cross work TM-TC FP. This section
outlines the software requirements and platform dependencies that must be met in order to install the
CrossWorks TM-TC function pack successfully:

  • sudor user privileges are required to perform the installation. This user must also be part of the sysadmin group.

  • OpenJDK 11 or higher must be installed.

  • Python 3.8 or higher must be installed. The default Python should point to Python 3.

  • If you are running an older version of Cisco NSO, upgrade to Cisco NSO 5.7.6. Stop the Cisco NSO
    instance, uninstall the older version of the NSO then download the Cisco NSO 5.7.6 installation bin file from Cisco.com and install using the following command:
    sudor sh nso-5.7.6.linux.x86_64.installer.bin –system-install –non-interactive
    Note: For complete instructions on installing Cisco NSO 5.7.6, follow the steps described in the Cisco
    Network Services Orchestrator Installation Guide.

  • Verify the NSO version. ncs –version The result should be

Installing the TM-TC Function Pack

TM-TC function pack can be installed on standalone and Layered Service Architecture (LSA) NSO installations. In case of standalone NSO installations, it can be installed on a system installation and local installation. System installation is for a real time production environment and the preferred method of installation. This document does not cover steps to setup LSA.

To access the TM-TC function pack installation file and extract its packages:

  1. Log into the host machine as the ncs user. This user must also be part of the sysadmin user group and have sudo access.
  2. Download the cw-na-fp-tmtc-4.4.0-116-nso-5.7.6.tar.gz package from Cisco.com and copy it to the host server. This is the installation file for the TM-TC function pack.
  3. Untar the TM-TC tar.gz file to the current directory.  tar -xvzf cw-na-fp-tmtc-4.4.0-116-nso-5.7.6.tar.gzA new directory TM-TC-4.4.0-116 is created with all the files in the package. All the files related to standalone installation can be found in this folder and files related to LSA can be found under LSA folder. The following packages/files are extracted
  4. Follow the relevant installation procedure below, depending on the type of NSO environment you are using (System, Local, and LSA deployment).

Type of Installation| Group| Package Category| Packages
---|---|---|---
Standalone NSO| Core Packages| TM-TC Function Pack Common Packages| ncs-5.7.6 -cisco-tm-tc-fp-4.4.0-116.tar.gzncs-5.7.6-tm-tc-multi-vendors-4.4.0-116.tar.gz
Custom Template| Utility packages| ncs-5.7.2-custom-template- utils-2.0.9.tar.gz
NEDs| CLI NED| ncs-5.7.5-cisco-iosxr-7.40.1.tar.gz
NETCONF NED| ncs-5.7.3-cisco-iosxr_netconf-7.5.2.tar.gz
LSADeployment
CFS| Core Packages| TM-TC Function Pack Common Packages| ncs-5.7.6-cisco-tm- tc-fp-cfs-4.4.0-116.tar.gzncs-5.7.6-cisco-tm-tc-fp-cfs-ned-4.4.0-116.tar.gz
Utility Packages| Utility packages(Required to run tm-tc core packages)| ncs-5.7-core-fp-common-1.30.0.tar.gzncs-5.7.2-custom-template- utils-2.0.9.tar.gz ncs-5.7.2.1-lsa-utils-1.0.1.tar.gzncs-5.7.6-cisco-nso- nc-5.7.tar.gzncs-5.7.6-core-fp-common-ned-1.0.tar.gzncs-5.7.6-custom-template- utils-ned-1.0.tar.gzncs-5.7.6-lsa-utils-ned-1.0.tar.gz
LSA Deployment
RFS| Core Packages| TM-TC Function Pack Common Packages| ncs-5.7.6-cisco-tm- tc-fp-4.4.0-116.tar.gzncs-5.7.6-tm-tc-multi-vendors-4.4.0-116.tar.gz
Utility Packages| Utility packages(Required to run tm-tc core packages)| ncs-5.7-core-fp-common-1.30.0.tar.gzncs-5.7.2-custom-template- utils-2.0.9.tar.gz ncs-5.7.2.1-lsa-utils-1.0.1.tar.gzncs-5.7.5-cisco- iosxr-7.40.1.tar.gzncs-5.7.3-cisco-iosxr_netconf-7.5.2.tar.gz

All the NED packages mentioned in the above table are mandatory for the TM-TC function pack.

System Installation

This section provides the procedure for installing the package on a Cisco NSO instance that was installed
using the “system installation” typical for production environments. sudo user privileges are required to
perform the installation.

  1. Stop Cisco NSO
    Stop Cisco

  2. Copy the function pack packages to the Cisco NSO packages running directory.

  3. Make sure there are no duplicate packages. If the NED packages already exist with different names, you do not need to copy those packages
    Stop Cisco

  4. Restart Cisco NSO.
    Stop Cisco

  5. Verify the installation and make sure the packages are up and running. For more information, see the Verifying the Installation section.

Local Installation

This section provides the procedure for installing the package on a Cisco NSO instance that was installed
using the “local installation” typical for lab and demo environments. sudo user privileges are required to
perform the installation.

  1. Stop Cisco NSO
    Local Installation

  2. Copy the function pack packages to the Cisco NSO packages running directory.
    Local Installation

  3. Restart Cisco NSO.
    Local Installation

  4. Verify the installation and make sure the packages are up and running. For more information, see the
    Verifying the Installation section.

Installation On LSA Deployments – CFS

This section provides the procedure for installing the package on a Cisco NSO instance that was installed
as CFS node. sudor user privileges are required to perform the installation.

  1. Stop Cisco NSO
    Deployments

  2. Copy the function pack packages to the Cisco NSO packages running directory. The packages relevant to CFS can be found in LSA/CFS folder.
    Deployments

  3. Restart Cisco NSO.
    Deployments

  4. Verify the installation and make sure the packages are up and running. For more information, see the
    Verifying the Installation section

Installation On LSA Deployments – RFS

This section provides the procedure for installing the package on a Cisco NSO instance that was installed
as RFS node. sudo user privileges are required to perform the installation.

  1. Stop Cisco NSO.
    Deployments

  2. Copy the function pack packages to the Cisco NSO packages running directory. The packages relevant to RFS can be found in LSA/RFS folder
    Deployments

  3. Restart Cisco NSO.Deployments

  4. Verify the installation and make sure the packages are up and running. For more information, see the Verifying the Installation section.

Verifying the Installation

This section discusses how to verify the TM-TC system installation by checking that the packages are up and package versions are set as expected. You need to verify the build number, TM-TC release information, and package versions.

Standalone NSO Installations

  1. Verify that all the packages are up and running. X indicates that the package is up.
    Installations

  2. Verify the package versions and the build information.
    Installations

LSA Installation – CFS

  1. Verify that all the packages are up and running. X indicates that the package is up
    LSA Installation

  2. Verify the package versions and the build information.LSA Installation

LSA Installation – RFS

  1. Verify that all the packages are up and running. X indicates that the package is up.
    LSA Installation

  2. Verify the package versions and the build information.
    LSA Installation

  3. Perform the post-installation tasks for TM-TC FP. For more information, see the Performing Post Installation Tasks section.

Performing Post-Installation Tasks

The following post-installation configurations are required for the TM-TC function pack to work with CLI NED devices and Cisco Cross work.

  1. Configure TM-TC CFP configurations
    Installation Tasks

Uninstalling the TM-TC Function Pack

Uninstalling the TM-TC function pack from the NSO involves stopping NSO, removing the packages listed
as “core packages” and restarting NSO. Based on the type of NSO environment you are using (System or
Local) choose one of the following processes to uninstall the package. sudo user privileges are required to
perform the uninstallation.

Uninstall the System Installation

  1. Stop NSO.
    System Installation

  2. Remove the core packages from the NSO installation directory.
    System Installation

  3. Restart NSO.
    System Installation

Uninstall the Local Installation

  1. Stop NSO
    Local Installation

  2. Remove the core packages from the NSO packages running directory.
    Local Installation

  3. Restart NSO
    Local Installation

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals