Viewing the License
In Virtuozzo, you can use the vzlicview utility to view the information on the installed license and find out its current status. When executed, this utility processes the license currently installed on the host and prints the license contents along with its status. A sample output of vzlicview is given below:
# vzlicview
Searching for installed licenses...
VZSRV
status="ACTIVE"
version=X.X
serial="XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX "
expiration="12/01/2012 23:59:59"
graceperiod=86400 (86400)
key_number="PCS.00000001.0000"
cpu_total=64 (1)
ct_total=100 (1)
platform="Any"
product="PCS"
nr_vms=10 (2)
architecture="Any"
ha_allowed=1
rku_allowed=0
The command output shows the full information about the license. The main license parameters are listed in the following table:
Column
|
Description
|
status
|
The license status. The information on all possible license statuses is provided in License Statuses.
|
version
|
The version of Virtuozzo for which the license was issued.
|
serial
|
The license serial number.
|
expiration
|
The license expiration date, if it is time-limited.
|
graceperiod
|
The period, in seconds, during which Virtuozzo continues functioning if
- the license has expired
- the number of running virtual machines and Containers exceeds the limit defined by the license
|
key_number
|
The number under which the license is registered on the Key Authentication server.
|
cpu_total
|
The total number of CPUs you are allowed to install on the host.
|
ct_total
|
The total number of Containers you are allowed to simultaneously run on the host.
|
platform
|
The operating system with which the license is compatible.
|
product
|
The product name for which the license has been issued.
|
nr_vms
|
The number of virtual machines you are allowed to simultaneously run on the host.
|
architecture
|
The system architecture with which the license is compatible.
|
concerto
|
If this field is present, the license supports the ability to use the Plesk application in Containers.
|
rku_allowed
|
Denotes whether the rebootless upgrades feature is enabled (1) or disabled (0) in the license.
|
ha_allowed
|
Denotes whether the Virtuozzo Storage functionality is enabled (1) or disabled (0) in the license.
|
Licenses with a combined limit on virtual machines and Containers
Some licenses shipped with Virtuozzo 6 define a combined limit on the number of virtual machines and Containers you are allowed to simultaneously run on the host rather than set limits separately for virtual machines and Containers. In this case, the license output is as follows:
# vzlicview
Searching for installed licenses...
VZSRV
status="ACTIVE"
version=X .X
serial="XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX "
expiration="12/01/2013 23:59:59"
graceperiod=86400 (86400)
key_number="PCS.00000001.0000"
cpu_total=64 (1)
ct_total=100 (1)
platform="Any"
product="PCS"
nr_vms="combined" (2)
servers_total=100
architecture="Any"
As you can see, the output now contains one more parameter—servers_total . This parameter defines the total number of virtual machines and Containers you can simultaneously run on the host. For example, according to the license above, you can run 100 Containers, or 100 virtual machines, or 50 Containers and 50 virtual machines on the server at the same time.
|