加载软件许可证
更新时间 2026-03-24 17:15:57
最近更新时间: 2026-03-24 17:15:57
本节主要介绍加载软件许可证命令。
./stor license add { -k | --key } KEY 此命令用来加载软件许可证。
说明
- HBlock软件初始化后提供30天试用期,如确定使用,建议尽快联系软件供应商获取正式版软件许可证,并加载入系统。
- 可以通过./stor info --serial-id获取serial ID,将该ID提供给软件供应商用于获取软件许可证。
试用期过期,或软件许可证过期,仅部分功能可用,详见软件许可证到期(试用期或订阅模式)后仍可用的功能。
永久模式许可证的维保服务过期后,升级功能不可用,其余功能均可正常使用。
参数
| 参数 | 描述 |
|---|---|
| -k KEY 或 --key KEY | 加载软件许可证。 |
示例
加载软件许可证。
[root@hblockserver CTYUN_HBlock_Plus_4.0.0_x64]# ./stor license add -k ******
Import license successfully.
Customer name: Customer ABC
As the operating entity utilizing the HBlock to run your business, you bear the responsibility for the network and information security of the business you are operating.
The current system time: 2025-08-05 09:38:45
+--------------------------------------+---------------+-----------+-----------+----------------------+
| LicenseId | Account | Type | Status | MaximumLocalCapacity |
+--------------------------------------+---------------+-----------+-----------+----------------------+
| qws2b6a9-f3fb-4098-a6b3-3652a5a76530 | test@ctyun.cn | Perpetual | Effective | 2 PiB |
+--------------------------------------+---------------+-----------+-----------+----------------------+
License qws2b6a9-f3fb-4098-a6b3-3652a5a76530 (Effective):
Usage:
+----------------------+--------------------------+-----------------------+-----------+
| MaximumLocalCapacity | MaintenanceEffectiveTime | MaintenanceExpireTime | Status |
+----------------------+--------------------------+-----------------------+-----------+
| 2 PiB | 2025-08-05 09:34:27 | 2026-08-05 09:34:27 | Effective |
+----------------------+--------------------------+-----------------------+-----------+