...
- Starting the license server:
# systemctl start licensed
- Stopping the license server:
# systemctl stop licensed
- Restarting the license server:
# systemctl restart licensed
Primary and Backup License Server
General Information
Charon-SSP for BYOL licenses support a backup license server to ensure service continuity should the primary backup server become temporarily unavailable. Backup licenses are typically limited to a certain number of emulator runtime hours.
The example below shows the output of such a license:
Code Block |
---|
# /opt/license-server/license_
-bash: /opt/license-server/license_: No such file or directory
[root@ip-172-31-40-62 Kits]# /opt/license-server/license_viewer
<<License Viewer>> Current license:
KEYSEC
K_FINGER=123db1ec91a1526c40da028b9e68e5abaadc70c62719af0f6ef1f2cfd2c85bba
K_LICENSE_ID=01.00000001.002.045
K_TYPE=COUNTDOWN
K_EXPIRED=100
K_CUSTOMER=Stromasys/Testing
K_PLATFORM=amazon.aws
K_R_DATE=1593308906
K_INTERVAL=60
KEYEND
PRODSEC
P_NAME=Charon-SSP/4U,Charon-SSP/4U+,Charon-SSP/4V,Charon-SSP/4V+
P_CODE=test
P_MAJV=4
P_MINV=2
P_CPU_NUM=4
P_MAX_MEM=4096MB
P_INSTANCE=4
PRODEND
PRODSEC
P_NAME=Charon-SSP/4M
P_CODE=test
P_MAJV=4
P_MINV=2
P_CPU_NUM=4
P_MAX_MEM=512MB
P_INSTANCE=4
PRODEND |
Note the parameters K_TYPE=COUNTDOWN and K_EXPIRED=100. They indicate that this is a backup license with 100 hours of emulator runtime.
Backup License Server Operation
Should the primary license server become unavailable, the emulator tries to connect to the backup license server. If this succeeds, the emulator continues to run without interruption. If no connection to a valid license can be established within 2 hours, the emulator will stop.
Please note: If you do not have a valid backup license and the primary license server is unavailable for more than 2 hours, make sure to shut down the Solaris guest operating system cleanly before the end of the grace period. Failure to do so may cause data loss or corruption.
If the primary license server becomes available again after the emulator has switched to the backup server, the emulator will automatically switch back to the primary server to avoid unnecessary depletion of the backup license runtime hours.
Log Files
Log files provide important information about the operation of the license server and the Charon-SSP software. In case of problems, this is the first place to check.
...
Code Block | ||
---|---|---|
| ||
2020-01-10 12:17:19 INFO MAIN Build time: Jan 10 2020 17:22:12 2020-01-10 12:17:19 ERROR License Failed to retrieve license. 2020-01-10 12:17:19 INFO MAIN The program is terminated. |
Switch to backup license server:
Code Block | ||
---|---|---|
| ||
2020-06-29 18:08:25 ERROR BYOL Failed to connect with the license server!
2020-06-29 18:08:25 INFO BYOL Trying to login to license server: 127.0.0.1
2020-06-29 18:08:34 ERROR BYOL Failed to connect with the license server!
2020-06-29 18:08:43 WARN BYOL Charon will be terminated within 2 hours!
2020-06-29 19:08:57 INFO BYOL Connected with license server: 172.31.40.62
2020-06-29 19:08:57 INFO BYOL Found available license ID: 01.00000001.002.045.
|
Div | ||
---|---|---|
| ||
Charon-SSP Emulator Log Files
...