Licence restrictions
The Diffusion™ Cloud licence can include restrictions on how Diffusion Cloud is used.
Environments
A Production licence must not be used on a Development server, and a Development licence must not be used on a Production server. Order separate licences defined as Production, QA/Testing, Disaster Recovery, and Development.
Licence expiry
All licence files provided by DiffusionData include an expiry date. To continue to use Diffusion Cloud after this date you must replace your licence file with an updated licence file.
The Diffusion Cloud server logs the number of days remaining on your licence every day at midnight and when the server starts ().
When the licence has expired, Diffusion Cloud stops working within 24 hours. A message is logged when the licence expires ().
Concurrent client connections
An instance of Diffusion Cloud is licensed to only allow up to a certain number of client connections at the same time.
A licence can include a soft limit and a hard limit on concurrent client connections. When the soft limit is reached, Diffusion Cloud logs a message () to say that the soft limit has been reached. When the hard limit is exceeded, Diffusion Cloud rejects connections and logs a message () to say that the hard limit has been reached.
Connection limit pooling
If you have a licence that enables topic and session replication, the soft and hard limits are pooled between servers.
For example, you have a cluster of three servers, each with a soft limit of 5 and a hard limit of 10. The cluster-wide limits are the total of each individual server's limits, giving a cluster-wide soft limit of 15 (3x5) and a hard limit of 30 (3x10).
Any new client connections are checked against the cluster-wide limits. A server can exceed the hard limit of its individual licence, provided that the cluster-wide limit is not exceeded. For example, one of the servers in our example above could have more than 10 client connections, provided the total number of connections to the cluster did not exceed 30.
Fan-out limit pooling
If you have a licence that enables fan-out, the hard limit for fan-out connections is pooled between servers in a cluster.
Total number of topics
A Diffusion Cloud licence can specify a maximum total number of topics. If the number of topics is exceeded, the server logs a message ().
MAC addresses or IP addresses
An instance of Diffusion Cloud can be licensed to run only on systems with a certain range of IP addresses or MAC addresses.
On startup, Diffusion Cloud checks the IP address or MAC address of the system the server runs on. If Diffusion Cloud cannot read the IP or MAC address of the host system, it logs a message ( or ) and does not start. If the IP or MAC address of the host system is not in the licensed address range, the server logs a message ( or ) and does not start.
CPU cores
An instance of Diffusion Cloud can be licensed to run only on systems with a certain number of CPU cores.
On startup, Diffusion Cloud checks the number of CPU cores available to the JVM at runtime.
Diffusion Cloud version
A Diffusion Cloud licence can be valid for specific versions of Diffusion Cloud only.
If you use a licence file with a version of Diffusion Cloud that it is not valid for, the Diffusion Cloud server logs a message () and does not start.