ASN Package Installation
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 <core_count>
command.Set the core allocation for KPI using
redis-cli hmset ASN_KPI_CORE_COUNT core_count <core_count>
command.Execute the ASN script
sudo ./run-asn.sh
to run ASN in Subscriber modeExecute the ASN script
sudo ./run-asn.sh --mode=DC
to run ASN in Application modeUse the FV GUI 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:
Last updated