查看軟件許可證
更新時間 2025-09-29 17:49:28
最近更新時間: 2025-09-29 17:49:28
分享文章
本節主要介紹查看軟件許可證命令。
./stor license ls [ -r | --record ] [ -u | --usage ] [ { -n | --license } LICENSE_ID ]
此命令用來查看軟件許可證信息。
參數
| 參數 | 描述 |
|---|---|
| -r或--record | 查看軟件許可證購買信息。 |
| -u或--usage | 查看軟件許可證使用信息。 |
| -n LICENSE_ID或--license LICENSE_ID | 查看指定LICESE_ID的軟件許可證信息。 |
示例
查看軟件許可證信息(永久許可模式)。
[root@hblockserver CTYUN_HBlock_Plus_3.10.0_x64]# ./stor license ls 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. License List: +--------------------------------------+---------------+-----------+-----------+----------------------+ | LicenseId | Account | Type | Status | MaximumLocalCapacity | +--------------------------------------+---------------+-----------+-----------+----------------------+ | qws2b6a9-f3fb-4098-a6b3-3652a5a76530 | test@daliqc.cn | Perpetual | Effective | 2 PiB | +--------------------------------------+---------------+-----------+-----------+----------------------+ License qws2b6a9-f3fb-4098-a6b3-3652a5a76530 (Effective): Record: +---------------------+-----------+---------------+--------------------------+-----------------------+-----------+ | PurchaseTime | Operation | LocalCapacity | MaintenanceEffectiveTime | MaintenanceExpireTime | Status | +---------------------+-----------+---------------+--------------------------+-----------------------+-----------+ | 2025-08-05 09:34:27 | New | 2 PiB | 2025-08-05 09:34:27 | 2026-08-05 09:34:27 | Effective | +---------------------+-----------+---------------+--------------------------+-----------------------+-----------+ Usage: +----------------------+--------------------------+-----------------------+-----------+ | MaximumLocalCapacity | MaintenanceEffectiveTime | MaintenanceExpireTime | Status | +----------------------+--------------------------+-----------------------+-----------+ | 2 PiB | 2025-08-05 09:34:27 | 2026-08-05 09:34:27 | Effective | +----------------------+--------------------------+-----------------------+-----------+查看軟件許可證信息(訂閱模式)。
[root@hblockserver CTYUN_HBlock_Plus_3.10.0_x64]# ./stor license ls 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. License List: +--------------------------------------+------------------------+--------------+-----------+----------------------+ | LicenseId | Account | Type | Status | MaximumLocalCapacity | +--------------------------------------+------------------------+--------------+-----------+----------------------+ | ehc2b6a9-f3fb-4098-a6b3-3652a5d71232 | testaccount1@ctyun.com | Subscription | Effective | 1 PiB | +--------------------------------------+------------------------+--------------+-----------+----------------------+ License ehc2b6a9-f3fb-4098-a6b3-3652a5d71232 (Effective): Record: +---------------------+-----------+---------------+---------------------+---------------------+-----------+ | PurchaseTime | Operation | LocalCapacity | EffectiveTime | ExpireTime | Status | +---------------------+-----------+---------------+---------------------+---------------------+-----------+ | 2025-07-30 14:40:36 | New | 1 PiB | 2025-07-30 14:40:36 | 2026-07-30 14:40:36 | Effective | +---------------------+-----------+---------------+---------------------+---------------------+-----------+ Usage: +----------------------+---------------------+---------------------+-----------+ | MaximumLocalCapacity | EffectiveTime | ExpireTime | Status | +----------------------+---------------------+---------------------+-----------+ | 1 PiB | 2025-07-30 14:40:36 | 2026-07-30 14:40:36 | Effective | +----------------------+---------------------+---------------------+-----------+
軟件許可證信息描述
| 項目 | 描述 |
|---|---|
| Customer name | 客戶名稱。 說明 如果申請許可證時未填寫,不顯示此字段。 |
| License List:軟件許可證列表。 | |
| LicenseId | 軟件許可證ID。 |
| Type | 軟件許可證訂購類型:
|
| Status | 軟件許可證狀態:
|
| MaximumLocalCapacity | 允許的本地卷總容量。 “-”表示未限制本地卷容量。 |
| Record:軟件許可證購買信息。 | |
| PurchaseTime | 軟件許可證購買時間。 |
| Operation | 軟件許可證的購買記錄:
|
| LocalCapacity | 本次購買軟件許可證,容許本地卷的容量。 |
| EffectiveTime | 對于訂閱模式軟件許可證,軟件許可證生效時間。 |
| ExpireTime | 對于訂閱模式軟件許可證,軟件許可證過期時間。 |
| MaintenanceEffectiveTime | 對于永久許可模式軟件許可證,軟件許可證維保生效時間。 |
| MaintenanceExpireTime | 對于永久許可模式軟件許可證,軟件許可證維保過期時間。 |
| Status | 軟件許可證狀態:
|
| Usage:軟件許可證使用情況。 | |
| MaximumLocalCapacity | 允許的卷總容量。 “-”表示未限制本地卷容量。 |
| EffectiveTime | 對于訂閱模式軟件許可證,軟件許可證生效時間。 |
| ExpireTime | 對于訂閱模式軟件許可證,軟件許可證過期時間。 |
| MaintenanceEffectiveTime | 對于永久許可模式軟件許可證,軟件許可證維保生效時間。 |
| MaintenanceExpireTime | 對于永久許可模式軟件許可證,軟件許可證維保過期時間。 |
| Status | 軟件許可證狀態:
|