How Does Consumption-Based Licensing Model Work in HVR High-Availability Environment?
Question
How does Fivetran's Consumption-based licensing model work in the HVR high-availability (HA) environment?
Environment
HVR 6 Hub System installed in an HA cluster environment.
Answer
In Fivetran's Consumption-based licensing model, the HVR Hub System is licensed when it is successfully registered with Fivetran and shares any applicable Monthly Active Rows (MAR) data with the Fivetran Cloud servers. Once the HVR Hub System is registered, a unique registration_id
is assigned to it, and the host's fingerprint is recorded in the Fivetran Cloud. In a cluster setup with multiple nodes or hosts, all nodes must be registered with the Fivetran Cloud. They will share the same registration ID but have different fingerprints.
When a node first registers with the Fivetran 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 $HVR_CONFIG/logs/hvrhubserver.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 Fivetran 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 HVR's log. If the MAR data is successfully uploaded within 24 hours, the Fivetran 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 HVR license from the Fivetran Cloud, run the following hvrlicense commands (in order) on the applicable node:
- Upload MAR data:
hvrlicense -a
- Request a license:
hvrlicense -A