Hosted-floating license for a Docker container in a VM

Hi,

We are trying to license a product running in a docker container. The activation is made using LexActivator with Node.js.

We chose the following license settings :

  • VALIDITY: 7776000
  • EXPIRATION STRATEGY: immediate
  • FINGERPRINT MATCHING STRATEGY: exact
  • ALLOWED ACTIVATIONS: 1
  • TYPE: hosted-floating
  • LEASE DURATION: 21600
  • LEASING STRATEGY: per-instance
  • SERVER SYNC GRACE PERIOD: 172800
  • SERVER SYNC INTERVAL: 3600
  • ALLOWED CLOCK OFFSET: 21600
  • REQUIRE AUTHENTICATION: false
  • ALLOW VM ACTIVATION: false
  • ALLOW CONTAINER ACTIVATION: true
  • USER LOCKED: true
  • DISABLE GEO LOCATION: false

This works fine when running on a physical host.

However, when running the docker container in a VM cloud instance, we have to set Allow VM Activation to true, otherwise, the activation fails and can’t be done.

This leads to confusion when two docker instances run on two distinct VM instances : They match with the same activation.

What did we miss in the configuration ?
Is there a parameter for it to work properly without setting Allow VM Activation to true ?

Thanks !
Xavier

Hi,

This seems like a bug. Can you share the license key (in email or chat support), we would like to inspect the logs.

Thanks,

I shared the license via chat support.

This is our use case as well, please post an update when available. Thanks

This is not possible if leasing-strategy is set to per-instance. Each activation request will create a new activation even if the same process calls the ActivateLicense() multiple times.