Viewing the License

You can use the vzlicview tool to view the information on the installed license and find out its current status. For example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# vzlicview
Searching for installed licenses...
VZSRV
        owner_name="Autogenerated Trial Licenses"
        status="ACTIVE"
        version=7.0
        owner_id=70295522.10134133
        hwid="3D6F.FFB2.1CD5.1E47.1325.BBE0.6C66.ACF5"
        serial="BF3D.E943.18C5.5555.5D10.99D9.0310.DFA0"
        expiration="07/08/2016 03:00:00"
        start_date="06/07/2016 03:00:00"
        issue_date="06/08/2016 16:27:11"
        graceperiod=259200 (259200)
        key_number="PSBM.10134133.0001"
        cpu_total=8 (1)
        ct_total="unlimited" (0)
        architecture="x86"
        architecture="x86_64"
        platform="Linux"
        product="PSBM"
        nr_vms="unlimited" (2)
        subscription="70295522:dd482d1a-5268-4980-ae06-2a288a4fb7ab"

You can also view contents of license files with the vzlicview -f command. The output does not differ from that in the example above.

The license parameters are described in the following table.

ColumnDescription
owner_nameThe name of the license owner.
statusLicense status. For description of license statuses, | see [License Statuses](#). |
versionThe version of Virtuozzo Server for which the license was issued. |
owner_idThe ID of the license owner.
hwidServer hardware identifier.
serialLicense serial number. In particular, used to identify license files in /etc/vz/licenses/.
expirationLicense expiration date, if the license is time-limited.
start_dateThe date on which the license becomes active.
issue_dateThe date on which the license was issued.
graceperiodPeriod, in seconds, during which Virtuozzo Server continues to function after the license has expired | or if the number of running virtual machines and | containers exceeds the limit defined by the license. |
license_update_dateThe date on which the license was last updated.
key_numberNumber under which the license is registered on the Key Authentication server.
cpu_totalThe total number of physical CPUs that the server is allowed to have.
ct_totalThe total number of containers that are allowed to be simultaneously running on the server.
architectureSystem architecture with which the license is compatible.
platformOperating system with which the license is compatible.
productName of the product for which the license has been issued.
keyserver_hostThe hostname and port of the Key Authentication server.
nr_vmsThe number of virtual machines that are allowed to be simultaneously running on the server.
subscriptionVirtuozzo Server feature subscription key.

License Statuses

When viewing information on your licenses, pay special attention to the license status that can be one of the following:

StatusDescription
ACTIVEThe installed license is valid and active.
VALIDThe license is valid and can be installed.
EXPIREDThe license has expired. If an installed license expires, running virtual environments continue to run. Newly started VEs, however, are suspended after 10 minutes. If they cannot be suspended, they are stopped gracefully. If this cannot be done, they are stopped forcefully. If the node is rebooted or if the license daemon is restarted, all VEs are treated as new and suspended (stopped) after 10 minutes.
GRACEDThe license is installed on the server but is currently on the grace period because it has expired or the number of running virtual machines and containers exceeds the limit defined by the license.
INVALIDThe license is invalid (e.g., because of server architecture mismatch) or corrupt.