License Installation

To generate a license file, you will need to provide your hardware ID to your vendor. Once you have done so, the vendor will send you the license file specific to your hardware. To obtain your hardware ID, use the command:
$xnr_cli license show
hwkey: 6D0D9E443400AD3E
disks
    licensed: 4
    created: 2024-03-11
    expire: 2024-03-18
    in_use: 0
    status: trial
support
    status: no

Then use the reported hwkey: 6D0D9E443400AD3E to request a license.

The licenses are distributed as a text file. For example:

hwkey: 6D0D9E443400AD3E
license_key: BE304B5892B395BC60AE6AA7DD54DD2467F6179FE0F91575F9154F
8E7F3317EFEAD499B094D8B79794E5E72FF9A582312A8547824ACFD75FE017CDC24
2CC489E182F0B7BE71F5537F11F68E54FB79D7AAFF635209724A5AB9167AC23189D
7E32013EC41157150A430CF35D9AC574288AD6B898AABF4CC44F1763A38841E8AB51
version: 2
created: 2024-02-03
disks: 10
    expire: 2024-03-31
support:
    expire: 2024-03-31

There are two ways to install the license

  • Copy license file to some directory at a system where xnr_cli is used. Then run

    xnr_cli license add --path ./<lic_filename>
  • Run

    xnr_cli license add --key <license_key>

    where <license_key> is 256 symbols license_key string from the license file (w/o any prefixes, postfixes, white spaces or carriage return). For example:

xnr_cli license add --key BE304B5892B395BC60AE6AA7DD54DD2467F6179FE0
F91575F9154F8E7F3317EFEAD499B094D8B79794E5E72FF9A582312A8547824ACFD7
5FE017CDC242CC489E182F0B7BE71F5537F11F68E54FB79D7AAFF635209724A5AB91
67AC23189D7E32013EC41157150A430CF35D9AC574288AD6B898AABF4CC44F1763A3
8841E8AB51