ASN Package Installation
Prerequisites
Enable internet and DNS to install packages via Ubuntu apt
Disable all of CPU virtualization features (e.g. VT-x)
Check if number of NUMA nodes is 2, same as number of CPU sockets and NICs
Packages to Install in Ubuntu Server
Extract the image
tar -xf`` ``asn-image-v*.tar.gzChange to the extracted directory
cd asn-image-v*Run the installation script for the ASN server
install-asn-server.shReboot the server
sudo rebootAfter rebooting, install DPDK ports
install-dpdk-ports.shExecute the ASN script
sudo ./run-asn.sh --imgage=platform --mode=TELCOSet the core allocation for Kafka and KPI value in ONES UI boot configuration page.
Execute the ASN script
sudo ./run-asn.sh --image=generic --mode=DCUse the ONES UI to control/manage ASN
To check the Dev console of ASN-Server
sudo conspy 20Press 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:
Step 2: Flush Redis Database
Clear the Redis database to remove any residual data before switching modes:
Step 3: Reinstall ASN Server
Run the installation script to ensure the correct mode is set:
Step 4: Start ASN in the Desired Mode
To run ASN in Subscriber mode, execute:
To run ASN in Application mode, execute:
If any prerequisite or dependency is installed after completing the ASN installation, the following script must be re-executed:
sudo./run−asn.sh
Packages to Install in RHEL Server
Extract the image tar -xvf asn-generic-image-v2_3-20260112.tar.gz
Change to the extracted directory cd asn-core-install/
Run the installation script for the ASN server
Reboot the server sudo reboot
After rebooting, install DPDK ports incase of intel NIC connection
install-dpdk-ports.shSet the value of hugepage in the shell script install-asn-hugepages.sh example huge_page=150
Run the hugepage script sudo ./install-asn-hugepages.sh
Verify the hugepage config sudo dpdk-hugepages.py -s
Change to directory cd asn-core-install/
Set the core allocation for Kafka and KPI count, total ports, overall core in ONES boot configuration page.
Execute the script
sudo /run-asn-rhel.sh --image=generic --nic=All --mode=DCto run ASN in Application modeExecute the script
sudo /run-asn-rhel.sh --image=generic --nic=All --mode=TELCOto run ASN in Subscriber modeTo check the Dev console of ASN-Server
sudo conspy 20
Press ESC three times to exit
Configure Static IP Address on RHEL
Check Available Network Connections
List all network connections and identify the connection name associated with your interface (
ens34).
Example output:
Configure the Static IP Address
Modify the connection settings with the required IP address, gateway, DNS servers, and set the IPv4 method to manual.
Apply the Changes
After modifying the connection profile, bring the interface down and back up so that NetworkManager applies the new IP, gateway, and DNS settings.
Packages to Install in AWS cloud Server -DPDK Mode
Extract the image tar -xvf asn-generic-image-v2_3-20260112.tar.gz
Change to the extracted directory cd asn-core-install/
Run the installation script for the ASN server sudo ./install-asn-server-aws.sh
Reboot the server sudo reboot
After rebooting, install DPDK ports incase of ENA connection sudo
install-dpdk-ports-aws.shSet the value of hugepage in the shell script HUGEPAGE_GB=20 in case of Telco mode and excute, default value 8GB is applicable for DC mode
Verify the port binding config sudo dpdk-devbind.py -s
Change to directory cd asn-core-install/
Set the core allocation for Kafka and KPI count, total ports, overall core in FV boot configuration page.
Execute the script sudo ./run-asn-aws.sh --mode=DC to run ASN in Application mode
Execute the script sudo ./run-asn-aws.sh to run ASN in Subscriber mode
To check the Dev console of ASN-Server
sudo conspy 20
Press ESC three times to exit
Packages to Install in AWS cloud Server -AF_Packet Mode
Extract the image tar -xvf asn-generic-image-v2_3-20260112.tar.gz
Change to the extracted directory cd asn-core-install/
Run the installation script for the ASN server sudo ./install-asn-server-aws.sh
Reboot the server sudo reboot
Change to directory cd asn-core-install/
Set the core allocation for Kafka and KPI count, total ports, overall core in FV boot configuration page.
Execute the script sudo ./run-asn-aws.sh --mode=DC to run ASN in Application mode
Execute the script sudo ./run-asn-aws.sh to run ASN in Subscriber mode
To check the Dev console of ASN-Server
sudo conspy 20
Press ESC three times to exit
Configuring ASN NIC Ports
To ensure ASN uses the intended NIC interfaces, explicitly define the PCI devices in config.json under eal-args.
Steps
Identify the required NIC PCI addresses:
from the
asn-core-installdirectory, navigate to config.json:
Specify the NiC ports to be handled by ASN in
config.jsonafter lcores info, (“a” → PCI List to be handled by ASN). as shown by the example:-
Example-
Save the configuration.
From the
asn-core-installdirectory, restart ASN services/application for changes to take effect.
TELCO:
DC:
ASN 2.5 and later
Usage: ./prep-asn-tar.sh [--nic=All|Intel] [--os=<os_id>]
After executing the respective command, ASN will initialize in the selected mode.
Note
ASN probes the configured PCI devices in numerical order internally, irrespective of the sequence mentioned in the configuration list.
Last updated
