Overview
The release of Qube 6.9 includes a new option for expanding your render capacity, Qube Metered Licensing. If you install the metered licensing agent and enable metered licensing for your supervisor, it will dispatch jobs to more workers than you have perpetual and subscription (prepaid) licenses. You will receive an invoice at the end of each month for that month's usage, and you're only billed for what you use, just like your utility bill. Pay for only what you use, and pay for it at the end of the month.
The 3 components of Qube Metered Licensing:
- Your Qube Supervisor. It will have some amount of prepaid licenses installed; this is the total of perpetual and unexpired subscription licenses installed on the supervisor.
- The Metered License Server (MLS), running at https://metered.pipelinefx.com This is a secure cloud-based site where your license usage data is stored. You may log into the MLS and view your usage stats and billing charges up to the last 15 minutes.
- The Metered License Agent (MLA). This is a utility running at your facility which collects data from your supervisor and sends it to the MLS. It may run inside your facility, on a host outside your firewall in a DMZ, or anywhere that can reach both your supervisor and the MLS on the public internet.
How it works
- We allow your supervisor to dispatch to any number of hosts, regardless of how many prepaid licenses are installed on your supervisor.
- Once a minute the Metered License Agent (MLA) queries your supervisor for how many workers it has dispatched jobs to, and how many prepaid licenses it has.
- The MLA sends the collected license usage data to the Metered License Server (MLS). The data sent is limited to:
- the date and time
- your supervisor's MAC address
- the number of prepaid licenses
- the number of used licenses
- The MLS sends back a license which continues to allow your supervisor to dispatch in excess of its prepaid licenses.
- The amount of used licenses in excess of the number of prepaid licenses gives us a number of "worker-minute" licenses for every minute of every day.
- At the end of the month, we add up all the worker-minutes used for the month and will invoice you at the rate of US $0.10 per hour, with partial hours billed to the minute.
Limits
You can set limits on your usage two different ways:
- How much: you can set a limit such that when the cost for number of worker-minutes for the current month exceeds your spend limit, the Metered License Server will send your supervisor a key that disables metered licensing; we turn it off for you when you've hit your limit. In the first 15 minutes after midnight on the 1st of the next month, the MLS will send a key that re-enables metered licensing.
- How fast: you can set a limit on how many workers in excess of your prepaid license count the supervisor will send work to. This metered limit can help you keep in check how fast you approach your spend limit.
Setting limits on the MLS website
At any time, you can login to your account on the MLS and adjust your spend limit and metered limit.
Setting limits directly on your supervisor
You may throttle the number of metered licenses your supervisor will use at any one time with the supervisor_max_metered_licenses parameter. You will need to edit the qb.conf configureation to make this change.
Getting Started with Metered Licensing
Metering on your Qube Supervisor
Metered Licensing is enabled by default on all Qube Supervisors, provided your supervisor is v6.9-0 or later
Optional settings
You may throttle the number of metered licenses your supervisor will use at any one time with the supervisor_max_metered_licenses parameter. This value is compared with the Concurrent Metered limit set on the Metered Licensing Portal, and the lower of the two values is used.
See also
supervisor_max_metered_licenses
Setting up your accounts on the Metered License Server
Login to the Metered Licensing Portal at https://metered.pipelinefx.com
Create a user account
Follow the link at the bottom of the login pane to create a new account.
Once you've completed the user signup, you will receive an email with the subject line: PipelineFX metered license server: New user account activation. You must click on the link in that email to activate your user account.
Once your user account has been activated, you'll have the option to "Create a company account" or "Join an existing Company account".
During the initial setup, you'll want to Create a new Billing account.
- Account Name: required - this should be your company or studio name, not your user name
- Reporting Contact: required - an email address to receive notifications, alerts, etc sent by the MLS
- Billing Contact: optional - an email address for you monthly invoice statements. If not defined, your invoice will be sent to the Reporting Contact.
Add your supervisor to the billing account
The MAC Address field is required, the description is optional.
The supervisor MAC address can be found several different ways:
from the hostid field in your Qube License file:
####################################################### [license_S_6f3788f8477611e69118022eb6d22d19] supervisor = 1 vendor = "Pipelinefx L.L.C." version = 6.9 type = unlimited software = qube hostid = 14:10:9F:E3:70:FD assign_date = "Jul 11, 2016" licensee = "PFX - jburk test" exp_date = "Jul 11, 2017" key = 106fac098b002188176b0fb45a0ab21f #######################################################
from the output of the qbping command-line utility
supervisor - active - tag: 127.0.0.1 14:10:9F:E3:70:FD 6.9-0 rel-6.9-0001 osx - - host - 0/10 unlimited licenses (metered=0/0) - mode=0 (0).
With WranglerView:
Show the log panel with View->Show/Hide Log Panel
- run Administration->Ping Supervisor
- copy & the MAC address from the bottom of the log panel
Add a description to the new supervisor entry (optional)
Click in the description field to add or edit easily-recognizable name for your supervisor.
Metered License Agent Installation and Configuration
Purpose of the Metered License Agent (MLA).
The Metered License Agent (MLA) is a utility running at your facility which collects data from your supervisor and sends it to the Metered License Server (MLS). It may run inside your facility, on a host outside your firewall in a DMZ, or anywhere that can reach both your supervisor and the MLS on the public internet.
It samples the license usage from your supervisor once a minute and stores it locally in a batch. When it accumulates at least 15 records, it will transmit the batch of records to the MLS for storage.
Metered License Agent Installation Host
The MLA can be installed on any machine in your facility which:
- has the qube-core package installed
- can reach the supervisor service on the supervisor host
- can reach the public internet
The most common installation scenarios
- Install the MLA on your supervisor. Your supervisor must be able to access the public internet
- Install the MLA on another machine in your facility. A machine already running a license server is a good candidate
- Install the MLA on a host in your firewall's DMZ. The firewall rules can be restricted to:
- inbound TCP port 50001 to the supervisor
- outbound TCP port 443 on metered.pipelinefx.com
MLA login credentials
The MLA needs login credentials on the Metered License Server (MLS) in order to ensure that the reported data is associated with the correct Billing Account on the MLS. The username and password you created during the PipelineFX Metered Licensing Portal Account Setup step should be used.
MLA Installation Procedure
On Windows and OS X hosts, we recommend using the Qube Installer to perform the MLA installation, and provide the username and password from the MLS user account.
MLA installation from RPM on linux
Many linux machines do not have a graphics head on them, and so installation must be done using the command line and installing directly from the RPM. This will necessitate setting up the credentials file and cron job by hand.
For a list of command-line arguments to the MLA, see Metered License Agent Advanced Usage.
Verifying the MLA Installation
After you've installed the MLA, login to the MLS at https://metered.pipelinefx.com, and periodically check the "Status" value in the Supervisor section.
- a status of No Records indicates that the MLA has never reported data for this supervisor.
- if the status is Active and remains that way for at least 20 minutes, then your MLA is properly reporting license usage data back to the MLS.
- a Warning status indicates that the MLS has received data from your MLA, but not in the last 15 minutes.
- This usually indicates that the initial installation of the MLA proceeded without error, but that it is not continuing to collect and report data after that time.
- if the supervisor status continues to degrade from Warning to Critical to Disabled, then the MLA has not reported data for at least 4 or 8 hours, respectively. In this case, you should check it the Metered License Agent is still running every minute, it's likely that the cron (linux), scheduled task (Windows), or launchd plist (OS X) doesn't have the correct credentials (user name and password).
See Also
Metered License Agent Advanced Usage