The customer faced the issue that "License Server ID" has changed automatically on UI since they initially implemented. This issue can happen after reboot.
You can check from the following log.
/var/log/netwitness/license-server/license-server.log
---------------
2020-02-07 01:53:35,816 [unchMessageListenerContainer-3] INFO FNE_CLIENT|Found Host Id HostIdentifier(value=E4434B457C22, type=ETHERNET)
2020-02-07 07:35:57,508 [unchMessageListenerContainer-5] INFO FNE_CLIENT|Found Host Id HostIdentifier(value=E4434B457C24, type=ETHERNET)
---------------
Here is the engineering comment from SACE-13192.
---------------
License server ID is determined by the FlexnetLS service which is a third-party service.
It is based on MAC address. If there are multiple MAC addresses, FlexnetLS chooses one of them.
Flexnet License Server does not disclose the way to pick the id in any of their documents.
We need to provide a license server ID as an active host in the local configuration yaml file.
---------------
Here is the only workaround to be hardcoded to /opt/netwitness/flexnetls/local-configuration.yaml. As you have not hardcoded the active host id under the local configuration yaml file, it is picking from the system.
---------------
Path of the file: /opt/netwitness/flexnetls/local-configuration.yaml
Updated Entry:
active-hostid:<SPACE> <License Server ID>/ETHERNET
Example Steps:
Step 1. Check the 'hostids' in /api/1.0/hostids# curl
http://localhost:3333/api/1.0/hostids{
"hostids" : [ {
"type" : "ETHERNET",
"value" : "246E968A62DC"
}, {
"type" : "ETHERNET",
"value" : "246E968A62D8"
} ],
"selected" : {
"type" : "ETHERNET",
"value" : "246E968A62D8"
}
}
Step 2. Set an active-hostid in local-configuration.yamlThe "active-hostid" should not be commented out and should include the following: <license server ID found in the UI>/ETHERNET
# vi /opt/netwitness/flexnetls/local-configuration.yaml
active-hostid: 246E968A62DC/ETHERNET
Step 3. Restart the flexnetls service# systemctl restart flexnetls-RSALM
---------------