NCP
  • Network Copilot
  • What's New?
  • Quick Start
  • Getting Started
    • System Requirements
      • On-Prem Deployment
      • Cloud Deployment
    • Licensing
    • Metrics Matrix
    • Onboarding Data
    • Scalability
  • Downloading Network Copilot
  • Deploying & Managing Network Copilot
    • Deployment Prerequisites
    • Installing Prerequisite Packages
    • Deploying the NCP Package
    • Managing Network Copilot
      • Upgrading License
      • Upgrading NCP
      • Uninstalling NCP
  • Web UI Administration
    • License Activation
    • Login Page
    • Dashboard Overview
    • Inventory Management
      • Onboarding Switches
        • Using ONES Telemetry Agent
        • Using SNMP
          • Adding Switches using YAML
          • Adding Switches using CSV
        • Using sFlow
        • Using API
        • Using gNMI
    • User Accounts
  • Accessing NCP
  • External Integrations
    • Communication & Collaboration
      • NetBox
      • Cisco Nexus Dashboard
      • Slack
    • Data Ingestion
      • AWS S3
      • Azure
      • ELK Stack
      • Google Cloud Storage
      • InfluxDB
      • Loki
      • Snowflake
      • Splunk
  • Use Cases
    • Basic NetOps
    • Flow Analytics
    • Security Audits
    • Inventory Insights
    • Support Knowledge Base
    • Upgrade Compliance
  • Contact Aviz Networks Support
Powered by GitBook
On this page
  • Install Docker & Docker-compose:
  • Installing NVIDIA GPU Drivers:
  • Installing NVIDIA Toolkit:

Was this helpful?

Export as PDF
  1. Deploying & Managing Network Copilot

Installing Prerequisite Packages

This section outlines the steps required to prepare your system to deploy NCP

Update the local package index:

sudo apt update -y

Install Docker & Docker-compose:

Install docker-CLI:

Install
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
Verify
ubuntu@NCP:~$ docker --version
Docker version 25.0.0, build e758fe5
ubuntu@NCP:~$

Install docker-compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

Installing NVIDIA GPU Drivers:

Install GPU Drivers:

sudo apt install nvidia-utils-535 -y
sudo apt install ubuntu-drivers-common -y
sudo apt install nvidia-driver-535 -y

Reboot the system:

sudo reboot

Installing NVIDIA Toolkit:

We will leverage the container toolkit provided by NVIDIA to deploy the NCP backend as an additional docker container along with NCP services packaged as containers.

Install NVIDIA Container toolkit:

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg   && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list |     sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' |     sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list   &&     sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit

Configure the toolkit:

Configure
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
Verify
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi

Additional packages:

sudo apt install pbzip2 -y
sudo apt install python3-pip -y
  • pbzip2: A parallel bzip2 compression tool for faster file compression

  • python3-pip: A package manager for Python3, used to install Python libraries

PreviousDeployment PrerequisitesNextDeploying the NCP Package

Last updated 3 months ago

Was this helpful?

Verify GPU Acess to Docker