ASN Package Installation
Prerequisites
Enable internet and DNS to install packages via Ubuntu apt
Packages to Install in Ubuntu Server
Extract the image
tar -xfasn-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.shSet the core allocation for Kafka and KPI value in FV boot configuration page.
Execute the ASN script
sudo ./run-asn.shto run ASN in Subscriber modeExecute the ASN script
sudo ./run-asn.sh --mode=DCto run ASN in Application modeUse the FV GUI 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:
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.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 sudo ./install-asn-server-rhel.sh
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 FV boot configuration page.
Execute the script sudo ./run-asn-rhel.sh —nic=All --mode=DC to run ASN in Application mode
Execute the script sudo ./run-asn-rhel.sh —nic=All to run ASN in Subscriber mode
To check the Dev console of ASN-Server
sudo conspy 20
Press ESC three times to exit
Last updated
