# License Overview

## License Metrics

A Weka system license measures usage at the cluster level and contains the following properties:

1. Cluster GUID (created at the time of installation)
2. Expiry date
3. Raw or usable hot-tier (SSD) capacity
4. Object store capacity

When applied, the cluster verifies that the license is valid by comparing these properties and actual cluster usage.

To be able to start-io in a newly configured cluster, a valid license must be set (either a classic or a PAYG license).

## Cluster Licensing Status

To view the cluster licensing status, run the `weka status` command:

```
# weka status
Weka v3.1.7.2 (CLI build 2.5.3)
...
       license: OK, valid thru 2018-07-31T07:14:05Z
...
```

In the example status above, it is possible to see that the cluster has a valid license which is due to expire on July 31st 2018. If the cluster does not have a valid license, the licensing status will appear as follows:

```
# weka status
Weka v3.1.7.2 (CLI build 2.5.3)
...
       license: Unlicensed
...
```

The system includes cluster alerts which also indicate if the cluster does not have an assigned license. Cluster alerts can be viewed by running the `weka alerts` command:

```
# weka alerts
...
No License Assigned
This cluster does not have a license assigned, please go to https://get.weka.io to obtain your license
```

## Obtaining a License

There are two ways to obtain a license for your cluster:

1. **Classic Licensing:** In this method, payment is for a predetermined period of time, e.g., 1 year. See [Classic Licensing ](/3.14/licensing/classic-licensing.md)for information more about this method.
2. **Pay-As-You-Go (PAYG) Licensing:** In this method, payment is according to hourly usage.  See [Pay As You Go](/3.14/licensing/pay-as-you-go.md) for more information about this method.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.weka.io/3.14/licensing/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
