ASN Package Installation
Prerequisites
Enable internet and DNS to install packages via Ubuntu apt
Packages to Install in 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 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.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:
sudo systemctl stop asn-core
sudo systemctl stop asn-mgmt
sudo systemctl stop asn-snmp-trap
sudo systemctl stop asn-rest-serverStep 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.shStep 4: Start ASN in the Desired Mode
To run ASN in Subscriber mode, execute:
sudo ./run-asn.shTo 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:
