How Does Consumption-Based Licensing Model Work in DSS High-Availability Environment?
Documentation: How Does Consumption-Based Licensing Model Work in DSS High-Availability Environment?
How Does Consumption-Based Licensing Model Work in DSS High-Availability Environment?
Question
How does Data Source Solutions's Consumption-based licensing model work in the DSS high-availability (HA) environment?
Environment
DSS 6 Hub System installed in an HA cluster environment.
Answer
In Data Source Solutions's Consumption-based licensing model, the DSS Hub System is licensed when it is successfully registered with Data Source Solutions and shares any applicable Monthly Active Rows (MAR) data with the Data Source Solutions Cloud servers. Once the DSS Hub System is registered, a unique registration_id is assigned to it, and the host's fingerprint is recorded in the Data Source Solutions Cloud. In a cluster setup with multiple nodes or hosts, all nodes must be registered with the Data Source Solutions Cloud. They will share the same registration ID but have different fingerprints.
When a node first registers with the Data Source Solutions Cloud, it receives an initial 7-day license. A new license, with a 7-day validity period, is pushed to the registered node every 24 hours, provided that MAR data is uploaded regularly. MAR data is uploaded from the active node every hour, and the upload status is logged in $DSS_CONFIG/logs/dsshubserver.out.
In a failover situation, if a secondary node hasn’t uploaded MAR within the last seven days, its node license will expire. Subsequently, the secondary node initiates communication with the Data Source Solutions Cloud, which pushes a temporary 30-hour license to the secondary node. While the secondary node is active with the 30-hour license, we attempt to upload MAR data every hour and print warnings about the expiring license in the DSS's log. If the MAR data is successfully uploaded within 24 hours, the Data Source Solutions Cloud issues a new 7-day license within the next 24 hours.
We push new licenses once every 24 hours rather than hourly.
Optional: To manually acquire an DSS license from the Data Source Solutions Cloud, run the following dsslicense commands (in order) on the applicable node:
- Upload MAR data:
dsslicense -a - Request a license:
dsslicense -A