FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
cmaheu
Staff
Staff
Article Id 203021
Description

This article explains about the issue where updated license key on Primary Server does not apply after restarting processes even though the .licenseKey file shows updated.

 

> licensetool -key FILE -file /bsc/campusMgr/.licenseKey
FILE:
serial = xxxxxxxxxxxx
type = NetworkControlManager
level = PRO
count = 7000 <--- New count
expiration = 0
expired = false
mac = xx:xx:xx:xx:xx:xx
uuid = xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
certificates = [xxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]

 


> licensetool -key EFFECTIVE
EFFECTIVE:
serial = xxxxxxxxxxxx
type = NetworkControlManager
level = PRO
count = 6000 <--- Old count
expiration = 0
expired = false
mac = xx:xx:xx:xx:xx:xx
uuid = xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
certificates = [xxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]

 

This can occur if there is a /bsc/campusMgr/.licenseKeyPrimary file on the Primary server with the older entitlements.


licensetool -key FILE -file /bsc/campusMgr/.licenseKeyPrimary
FILE
serial = xxxxxxxxxxxx
type = NetworkControlManager
level = PRO
count = 6000 <----- Old count
expiration = 0
expired = false
mac = xx:xx:xx:xx:xx:xx
uuid = xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
certificates = [xxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]

Scope All versions.
Solution

Remove /bsc/campusMgr/.licenseKeyPrimary from the Primary Server.

This file should only reside on the Secondary Server.

 

1) Log in to the PRIMARY SERVER CLI as root and type:


cd /bsc/campusMgr/

rm .licenseKeyPrimary

 

2) Restart services so the entitlements are reloaded. Run the command:


shutdownNAC

 

Wait for 30 seconds.

 

startupNAC

 

Contact Support for assistance. 

 

For instructions on upgrading licenses and applying to High Availability environments, refer to the License Upgrade Guide.

 

Contributors