License
Obtaining a license
Section titled “Obtaining a license”Licenses are issued by Bare Metal Works as a signed file (license.lic). To get a trial or a quote, use the
contact form and tell us your organization, the number of Hyper-V hosts
and clusters, and the tier you need. The file is delivered by email.
What a license contains
Section titled “What a license contains”A signed file for the product CSI_DRIVER with a tier and limits:
| Tier | Max disk size | Max disks | Max Hyper-V hosts | Max clusters | Resize | Snapshots* | Clones* |
|---|---|---|---|---|---|---|---|
| Basic | 100 GiB | 20 | 2 | 1 | no | no | no |
| Professional | 500 GiB | 100 | 4 | 1 | yes | yes | no |
| Enterprise | 10 000 GiB | no limit | 100 | no limit | yes | yes | yes |
* Snapshots and clones are reserved in the tiers but not implemented in the driver yet.
How the limits are counted:
- Disks - VHDX files in the configured volume folders (a volume’s checkpoint disks count as that volume). Checked when a new volume is created.
- Hyper-V hosts / clusters - the failover clusters the driver discovered and their nodes, as reported by the cluster itself (not taken from configuration). Checked on create and expand.
- A limit missing from the license means “no limit”.
When a limit is exceeded the driver refuses new operations (create, expand): count limits return
ResourceExhausted, features and the disk size PermissionDenied, both with a message naming the limit in
the PVC events. Existing volumes keep working - attach, detach and delete are never blocked. A license that
has expired past the grace period stops provisioning of new volumes.
Installing the license
Section titled “Installing the license”- WebApi (Docker): mount the file at
/etc/hypervcsi/license/license.lic(Install the WebApi). - Kubernetes: create the Secret and set
global.license.existingSecret(Install the CSI driver); the chart mounts it into the controller, the node driver and an in-cluster WebApi. - A missing, invalid or expired license stops the service at startup; the reason is in the log.
Renewing
Section titled “Renewing”Replace the file / Secret, then restart the components (the license is read at startup):
kubectl -n csi-hyperv create secret generic hypervcsi-license --from-file=license.lic=./license.lic \ --dry-run=client -o yaml | kubectl apply -f -kubectl -n csi-hyperv rollout restart deployment/hypervcsi-hypervcsicontroller daemonset/hypervcsi-hypervcsinodedriverdocker compose -f /opt/hypervcsi-api/docker-compose.yml restart # WebApi