ASN Package Installation
Last updated
Last updated
Enable internet and DNS to install packages via Ubuntu apt
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
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: