- There are a few possible distribution methods for obtaining a Senzing license
- Once you obtain the license file, make it available on the intended machine. For example, place it in the root of your Senzing project folder, subsequently referred to as <project_root>
- Modify the <project_root>/etc/G2Module.ini file, under the [PIPELINE] stanza add a new key value pair of LICENSEFILE=<project_root>/g2.lic
- Save G2Module.ini
- The next time you run any utilities or initialize the engine in your own application using this project and G2Module.ini the new license file will be effective
- You can check the license file details with the license() API call or running G2Loader in test mode with the -T argument
g2@localhost python]$ ./G2Command.py
Initializing engine...
Welcome to the G2 shell. Type help or ? to list commands.
(g2) license
G2 license:
{"customer": "Senzing Internal - 10M", "contract": "Senzing Internal", "issueDate": "2020-03-16", "licenseType": "DEV", "licenseLevel": "STANDARD", "billing": "MONTHLY", "expireDate": "2020-09-20", "recordLimit": 10000000}
(g2) quit
Ending Terminal.
g2@localhost python]$ python3 G2Loader.py -T
Starting G2 with ini file: /home/g2/senzing/etc/G2Project.ini
Validating /home/g2/senzing/python/demo/sample/sample_person.csv ...
Validating /home/g2/senzing/python/demo/sample/sample_company.csv ...
System Resources:
Physical cores : 8
Logical cores : 16
Total Memory : 62.6GB
Available Memory: 46.7GB
Resource requested:
maxThreadsPerProcess : 16
numThreads : 4
Minimum recommended cores : 2
Minimum recommended memory: 4.5GB
Performing database performance tests...
198770 records inserted in 3000ms with an avg of 0.0ms per insert
****LICENSE****
Version: 1.14.7 (2020-03-26)
Customer: Senzing Internal - 10M
Type: DEV
Expiration: 2020-09-20
Records: 10000000
Contract: Senzing Internal
***************
--------------------------------------------------
Testing /home/g2/senzing/python/demo/sample/sample_person.csv ...
press control-c at any time to end test
dropping to single thread due to small file size
...
...
Warn
This article pertains to deploying Senzing natively on a host system and not within containerized demos such as on Senzing GitHub. Deploying a Senzing license within the GitHub assets is documented therein.
Comments
0 comments
Please sign in to leave a comment.