ASN R2.0
Release
  • Aviz Service Node
  • What's New?
  • Getting Started
    • Licensing
    • Server Specifications
    • FlowVision Controller Installation
      • FV ESXi Host Installation
      • FV VirtualBox Installation
    • ASN Package Installation
    • Downloads
  • Aviz Service Node Graphical User Interface Guide
    • System
      • Viewing the Dashboard
      • Accessing System and Device Information
      • Managing Devices
      • Viewing System Log
      • Managing Users
      • Managing License
      • Managing Signature
      • Performing Backup and Restore
      • Viewing Audit Logs
    • Configuration
      • Configuring Ports
      • Configuring Metadata Attributes
        • 4G-LTE/5G-NSA
        • 5G-SA
        • Kafka Export Attributes
      • Configuring Global Parameters
      • Configuring Systems Parameters
      • Configuring Kafka Security
      • Configuring Deduplication
      • Configuring Packet Capture
    • Statistics
      • Viewing Ports Statistics
      • Viewing Global Statistics
      • Viewing Kafka Export Statistics
      • Viewing Deduplication Statistics
    • Help
    • Troubleshooting
  • Support
    • How to contact Aviz Networks Support?
Powered by GitBook
On this page
  • Prerequisites
  • Packages to Install in Server
  • Switching Between Application and Subscriber Modes
Export as PDF
  1. Getting Started

ASN Package Installation

PreviousFV VirtualBox InstallationNextDownloads

Last updated 1 month ago

Prerequisites

  • Enable internet and DNS to install packages via Ubuntu apt

Packages to Install in Server

  • Extract the image tar -xf asn-image-v*.tar.gz

  • Change to the extracted directory cd asn-image-v*

  • Run the installation script for the ASN server install-asn-server.sh

  • Reboot the server sudo reboot

  • After rebooting, install DPDK ports install-dpdk-ports.sh

  • Set the core allocation for Kafka using redis-cli hmset ASN_KAFKA_CORE_COUNT <core_count> command.

  • Set the core allocation for KPI using redis-cli hmset ASN_KPI_CORE_COUNT <core_count> command.

  • Execute the ASN script sudo ./run-asn.sh to run ASN in Subscriber mode

  • Execute the ASN script sudo ./run-asn.sh --mode=DC to run ASN in Application mode

  • Use the to control/manage ASN

  • To check the Dev console of ASN-Server

    • sudo conspy 20

    • Press ESC three times to exit

Switching Between Application and Subscriber Modes

ASN can operate in two modes: Application mode and Subscriber mode. When transitioning between these modes, follow the steps below carefully to ensure a clean restart.

Step 1: Stop Existing ASN Services

Run the following commands to stop all active ASN services:

sudo systemctl stop asn-core
sudo systemctl stop asn-mgmt
sudo systemctl stop asn-snmp-trap
sudo systemctl stop asn-rest-server

Step 2: Flush Redis Database

Clear the Redis database to remove any residual data before switching modes:

redis-cli "flushall"

Step 3: Reinstall ASN Server

Run the installation script to ensure the correct mode is set:

./install-asn-server.sh

Step 4: Start ASN in the Desired Mode

  • To run ASN in Subscriber mode, execute:

    sudo ./run-asn.sh
  • To run ASN in Application mode, execute:

    sudo ./run-asn.sh --mode=DC

After executing the respective command, ASN will initialize in the selected mode.

If any prerequisite or dependency is installed after completing the ASN installation, the following script must be re-executed:

sudo./run−asn.shsudo ./run-asn.shsudo./run−asn.sh

FV GUI