Compare commits
No commits in common. "838956bdb7fb280f3ea86360861d365671a804af" and "98d7492534736f36d68a37d76685246b36b08e1c" have entirely different histories.
838956bdb7
...
98d7492534
20
README.md
20
README.md
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
Minimal Delegated License Service (DLS).
|
Minimal Delegated License Service (DLS).
|
||||||
|
|
||||||
Compatibility tested with official DLS 2.0.1.
|
|
||||||
|
|
||||||
This service can be used without internet connection.
|
This service can be used without internet connection.
|
||||||
Only the clients need a connection to this service on configured port.
|
Only the clients need a connection to this service on configured port.
|
||||||
|
|
||||||
@ -15,27 +13,27 @@ Only the clients need a connection to this service on configured port.
|
|||||||
|
|
||||||
## Endpoints
|
## Endpoints
|
||||||
|
|
||||||
### `GET /`
|
### [`GET /`](/)
|
||||||
|
|
||||||
Redirect to `/-/readme`.
|
Redirect to `/-/readme`.
|
||||||
|
|
||||||
### `GET /status` (deprecated: use `/-/health`)
|
### [`GET /status`](/status) (deprecated: use `/-/health`)
|
||||||
|
|
||||||
Status endpoint, used for *healthcheck*. Shows also current version and commit hash.
|
Status endpoint, used for *healthcheck*. Shows also current version and commit hash.
|
||||||
|
|
||||||
### `GET /-/health`
|
### [`GET /-/health`](/-/health)
|
||||||
|
|
||||||
Status endpoint, used for *healthcheck*. Shows also current version and commit hash.
|
Status endpoint, used for *healthcheck*. Shows also current version and commit hash.
|
||||||
|
|
||||||
### `GET /-/readme`
|
### [`GET /-/readme`](/-/readme)
|
||||||
|
|
||||||
HTML rendered README.md.
|
HTML rendered README.md.
|
||||||
|
|
||||||
### `GET /-/docs`, `GET /-/redoc`
|
### [`GET /-/docs`](/-/docs), [`GET /-/redoc`](/-/redoc)
|
||||||
|
|
||||||
OpenAPI specifications rendered from `GET /-/openapi.json`.
|
OpenAPI specifications rendered from `GET /-/openapi.json`.
|
||||||
|
|
||||||
### `GET /-/manage`
|
### [`GET /-/manage`](/-/manage)
|
||||||
|
|
||||||
Shows a very basic UI to delete origins or leases.
|
Shows a very basic UI to delete origins or leases.
|
||||||
|
|
||||||
@ -63,7 +61,7 @@ List current leases.
|
|||||||
|
|
||||||
Deletes an lease.
|
Deletes an lease.
|
||||||
|
|
||||||
### `GET /client-token` (deprecated: use `/-/client-token`)
|
### `GET /client-token`
|
||||||
|
|
||||||
Generate client token, (see [installation](#installation)).
|
Generate client token, (see [installation](#installation)).
|
||||||
|
|
||||||
@ -310,7 +308,7 @@ Successfully tested with this package versions:
|
|||||||
## Linux
|
## Linux
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl --insecure -L -X GET https://<dls-hostname-or-ip>/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
|
curl --insecure -X GET https://<dls-hostname-or-ip>/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
|
||||||
service nvidia-gridd restart
|
service nvidia-gridd restart
|
||||||
nvidia-smi -q | grep "License"
|
nvidia-smi -q | grep "License"
|
||||||
```
|
```
|
||||||
@ -323,7 +321,7 @@ Now restart `NvContainerLocalSystem` service.
|
|||||||
**Power-Shell**
|
**Power-Shell**
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
curl.exe --insecure -L -X GET https://<dls-hostname-or-ip>/client-token -o "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\client_configuration_token_$($(Get-Date).tostring('dd-MM-yy-hh-mm-ss')).tok"
|
curl.exe --insecure -X GET https://<dls-hostname-or-ip>/client-token -o "C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken\client_configuration_token_$($(Get-Date).tostring('dd-MM-yy-hh-mm-ss')).tok"
|
||||||
Restart-Service NVDisplay.ContainerLocalSystem
|
Restart-Service NVDisplay.ContainerLocalSystem
|
||||||
'C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe' -q | Select-String "License"
|
'C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi.exe' -q | Select-String "License"
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user