This page describes detailed steps to install SenseID.
This chapter describes how to deploy and activate the SenseID service, primarily installing, configuring, launching critical services and potential issues and solutions.
The installation package should have been unzipped to place the license files. See Section 3.3.1 for more details.
Change the directory to the root folder where you unzipped the SenseID installation package.
The structure is as follows:
This service is a major computing service, so it is recommended to allocate dedicated server resources if possible.
Before deploying Go-Workers, you need to get the number of physical CPU cores on your server. The command to get the physical CPU core information is as follows.
Change the directory to the Go-Workers folder, open the.env
file, and set theHANDLERS
value to the number of physical CPU cores obtained above if you are using a dedicated server. Otherwise, specify a number. Save and close the.env
file.
HANDLERS
cannot be set to a value that exceeds the number of physical CPU cores on the server. The higher theHANDLERS
value is, the higher the number of concurrent services and the higher the memory and CPU consumption.
Before you start, make sure your license has been replaced.
Start the Go-Workers service.
You only need to execute this instruction once.
A script to stop the service is also provided in the same folder. Execute it only when you want to stop the service.
To confirm whether the Go-Workers service started normally, try the following command to see the logs.
If the tail command contains Server Listen on port 50050, the service has started successfully.
Also, perform the health check with the following command.
An example is as follows (This indicates that the service started successfully).
The deployment of the following services depends on Docker. Make sure you have Docker installed on your server.
Load the Ruby-Cloud-API image file.
The execution result is as follows.
Get the IP address of the Go-Workers server.
Open the .env
file in the root folder of the SenseID installation package.
Set the WORKER_IP
value in the last line to the IP address of the server where the Go-Workers service is deployed.
Sets the number of physical CPU cores on the server, the same way as Go-Workers.
Open the.env
file, and set theHANDLES
value to the number of physical CPU cores obtained if you are using a dedicated server. Otherwise, specify a number. Save and close the.env
file.
HANDLES
cannot be set to a value that exceeds the number of physical CPU cores on the server. The higher theHANDLES
value is, the higher the number of concurrent services and the higher the memory and CPU consumption.
Start the Ruby-Cloud-API service.
The results are as follows.
Confirm that the Docker is running.
The results are as follows.
The service is now successfully deployed.
Perform the health check with the following command.
An example is as follows (This indicates that the service started successfully).