How does NFA licensing work?

Document ID : KB000028434
Last Modified Date : 23/05/2018
Show Technical Document Details

NFA 9.2.1 introduced a new License Monitoring view in the "About" screen which is based off of the "Device" based licensing model as opposed to the old "Interface" based model. This is used in all subsequent NFA versions.



The information is displayed next to the following labels:

- Licensed Devices in Use

- License Utilization




You can review this information to see whether you are close to using all of your licenses.

Network Flow Analysis 9.2.1 and all later versions

The calculation for license utilization is based on the Licensed Devices value on the Application Settings page.

This new setting is used only for this calculation.

The License Utilization percentage is accurate only if the Licensed Devices value is accurate. Changing the Licensed Devices value does not increase or decrease the number of available licenses.




Note: To calculate the number of licenses that each device uses, you can use the following formula. Divide the number of active* interfaces by 5 and round up to the next whole number. See the following examples:

- 1 device that has 5 active interfaces consumes 1 license

- 1 device that has 6 active interfaces consumes 2 licenses

- 2 devices that each have 1 active interface consume 2 licenses between them

If you need help determining the number of licenses you have, consult your CA representative.

* In this context, an active interface is one that has exported data to the product and the data is still stored. If an interface has exported data, its records continue to be stored unless you delete it permanently from the Available Interfaces page. Active interfaces are shown on the Available Interfaces page with a License value of 'Yes.'

Additional Information:
To pull this information directly from mysql you can use the command below which will create a test file with your device count, total licenses used and your utilization percentage:

Mysql -P3308 -D reporter -t -e "select count(*) as deviceCount, sum(required_licenses) as totalLicenses, (round(((sum(required_licenses) / 50) * 100), 2))as utilization from (select routeraddress, count(*) as licensed_interface_count, if(count(*) mod 5 = 0, count(*)/5, floor((count(*)/5)+1)) as required_licenses from agents_all_view group by routeraddress, harvesterAddress order by routeraddress ) tempLicense;" > License_Utilization.txt

 If you want a break down of licenses per device you can run the command below:

mysql -P3308 -D reporter -t -e "drop table if exists tmp_jn_lic_counts; create temporary table tmp_jn_lic_counts (select routername, count(*) as licensed_interface_count,if(count(*) mod 5 = 0, count(*)/5, floor((count(*)/5)+1)) as required_licenses from agents_all_view group by routername order by routername); select sum(required_licenses) as total_required_licenses from tmp_jn_lic_counts; select * from tmp_jn_lic_counts; drop table if exists tmp_jn_lic_counts;" > license_count.txt